You need to sign in to do that
Don't have an account?
Sandeep Rahul PV
While creating ContentVersion record it is getting assigning to User record automatically
Without any knowledge, user record id got assigned to LinkedEntityId in ContentDocumentLink object what is the issue
Greetings!
When you create a record in ContentVersion, then the record is stored in ContentDocument.
To link between user and document, there is a junction object called ContentDocumentLink.
In ContentDocumentLink, there is ContentDocumentId (The id of document from ContentDocument) and LinkedEntityId (The Id of the Linked Entity like Account, Contact, Opportunity, etc.)
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi