Thanks Mitch! How do i give access to the ContentDocumentLink object? im trying to create a note and attach it to the opportunity. I get the following error: Info Error Occurred: This error occurred when the flow tried to create records: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: You don't have permission to share this file.. You can look up ExceptionCode values in the SOAP API Developer Guide.
Hello, apologies for the delayed reply. I haven't done this with the ContentDocumentLink object specifically, but I think you just need to grant permissions to it just like the video does for the custom Bird object. I am guessing that you are trying to access Files, which invovles ContentVersion, ContentDocument and ContentDocumentLink objects.
Excellent explanation!!! and what happens if the controller has a query? I am creating a controller with a query, but does not work!, if it is possible please help me
I know I am waaay too late for a helpful response, so my apologies. The BirdListController does have a simple SOQL query in it: github.com/mroutt/BirdList/blob/master/force-app/main/default/classes/BirdListController.cls I just rewatched this video for the first time in quite a while, and oh man is it unclear what I am trying to show people. I will be working on context and clarity for future videos.
Mitch! Thanks. You give very clear and simple explanations. Thanks for all your guidance. Mitch, as far as a teacher, You rock.
"You don't have access to this store" is the error coming up on my page. How do i fix this ?
Thanks Mitch! How do i give access to the ContentDocumentLink object? im trying to create a note and attach it to the opportunity. I get the following error:
Info
Error Occurred:
This error occurred when the flow tried to create records: INSUFFICIENT_ACCESS_ON_CROSS_REFERENCE_ENTITY: You don't have permission to share this file.. You can look up ExceptionCode values in the SOAP API Developer Guide.
Hello, apologies for the delayed reply. I haven't done this with the ContentDocumentLink object specifically, but I think you just need to grant permissions to it just like the video does for the custom Bird object. I am guessing that you are trying to access Files, which invovles ContentVersion, ContentDocument and ContentDocumentLink objects.
Excellent explanation!!! and what happens if the controller has a query? I am creating a controller with a query, but does not work!, if it is possible please help me
I know I am waaay too late for a helpful response, so my apologies. The BirdListController does have a simple SOQL query in it: github.com/mroutt/BirdList/blob/master/force-app/main/default/classes/BirdListController.cls
I just rewatched this video for the first time in quite a while, and oh man is it unclear what I am trying to show people. I will be working on context and clarity for future videos.
@@mitchroutt thanks a lot,....I solved it