You need to sign in to do that
Don't have an account?
VIKASH CHAND KUMAR
ContentVersion object not available in Profile
I am getting error "Insert failed. First exception on row 0; first error: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY, You do not have the level of access necessary to perform the operation you requested. Please contact the owner of the record or your administrator if access is necessary.: [NetworkId]" while creating ContentVersion. when i am trying to find "ContentVersion" object in Profile, its not there.
Please refer below link which might help you in this
https://salesforce.stackexchange.com/questions/285396/unable-to-insert-contentversion-record-as-a-community-user-in-test-class
https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/api/sforce_api_objects_contentversion.htm
Hope this helps you
Let me know if this helps you. Kindly mark it as solved so that it may help others in future.
Thanks and Regards