You need to sign in to do that
Don't have an account?
shyamala ls 7
customer users are not able to see LinkedEntity.Name field values from ContentDocumentLink Object
Hi,
I am querying on ContentDocumentLink to retrieve all the files which are uploaded to the CollaborationGroups by passing GroupId as a LinkedEntityId in the below query.
Query:
[SELECT ContentDocumentId,Id,IsDeleted,LinkedEntityId,LinkedEntity.name,ContentDocument.FileExtension,ShareType,SystemModstamp,Visibility,ContentDocument.title,ContentDocument.Description,ContentDocument.LatestPublishedVersionId FROM ContentDocumentLink where LinkedEntityId IN : gIds ]
I am passing this list to Lightning Component , there am showing LinkedEntity.name,ContentDocument.FileExtension and ContentDocument.title .In my case Admin users are able to see all three field values but not Customer Profile users.
Please anyone have any idea on this?
Thanks,
Shyamala
I am querying on ContentDocumentLink to retrieve all the files which are uploaded to the CollaborationGroups by passing GroupId as a LinkedEntityId in the below query.
Query:
[SELECT ContentDocumentId,Id,IsDeleted,LinkedEntityId,LinkedEntity.name,ContentDocument.FileExtension,ShareType,SystemModstamp,Visibility,ContentDocument.title,ContentDocument.Description,ContentDocument.LatestPublishedVersionId FROM ContentDocumentLink where LinkedEntityId IN : gIds ]
I am passing this list to Lightning Component , there am showing LinkedEntity.name,ContentDocument.FileExtension and ContentDocument.title .In my case Admin users are able to see all three field values but not Customer Profile users.
Please anyone have any idea on this?
Thanks,
Shyamala
Try check if these fields are enable for the users.
Go to Profile > Select the profile of these users > Object Configuration > Select the ContentDocumentLink object.
See here if the fields that you want, are enabled.
Best Regards
Rafael