Replies: 1 comment 1 reply
-
|
Hi @shveeram , Sorry for the late response. Yes. It should work. Just build proper dependencies between records and commit them at once. However because those are 3 different SObjectTypes, 3 DMLs will be made. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Using the DML Lib chaining, do you think it would work by inserting the custom sobject record, followed by ContentVersion (file), followed by the cross object ContentDocumentLink which links both sobject record and ContentDocumentId when content version is created in a single transaction?
Thanks
Shas
Beta Was this translation helpful? Give feedback.
All reactions