Salesforce Asked by Carl-Johan Beurling on September 2, 2020
I’m using the lightning-file-upload
component to upload files (wow).
My question is: is it safe to add a custom lookup relationship on the ContentVersion object?
I guess I don’t really understand the ‘version’ part of the name. Since we have to use isLatest = true
when we query, does that mean the contentVersion changes on its own and therefore the custom relationship isn’t reliable, in the way, that a new version would be created and that record wouldn’t have the correct relationship?
It's safe to put a Lookup field on the ContentVersion object, as the Lookup value will automatically be set on a new version from the previous version
If the Lookup value is changed on the latest version, it will only affect the latest version
Answered by Instread on September 2, 2020
4 Asked on February 10, 2021 by imajmdf
1 Asked on February 8, 2021 by cloudy-ritz
0 Asked on February 7, 2021 by hemant-kumar-reddy
1 Asked on February 7, 2021 by mehsf
2 Asked on February 6, 2021 by jitesh-goel
1 Asked on February 6, 2021 by aakash-poudel
2 Asked on February 5, 2021 by divad
0 Asked on February 4, 2021 by sk_112
apex controller javascript lightning lightning aura components
1 Asked on February 3, 2021 by user-2147482428
0 Asked on February 3, 2021 by danielle-b
1 Asked on February 2, 2021 by victorcorey
1 Asked on January 30, 2021 by martijn-e
1 Asked on January 30, 2021 by 4kaudio
0 Asked on January 30, 2021 by devops85
0 Asked on January 29, 2021
3 Asked on January 29, 2021 by user75427
1 Asked on January 29, 2021 by dilip-irabatti
2 Asked on January 29, 2021 by ryan-mcneely
Get help from others!
Recent Questions
Recent Answers
© 2023 AnswerBun.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP