You need to sign in to do that
Don't have an account?
Baptiste AUGRAIN
Cloned page with upload get me the FirstPublishLocation permission error
Hello,
I have a working page done by somebody else.
I need to do a visual upgrade of the page so I've cloned the page. It's using the same user and profile as the original page
When testing this new page (without any edit), I'm getting the error:
Error: SF_ERROR: INVALID_ID_FIELD OBJ: ContentVersion - You must specify a FirstPublishLocation where you have publish permission
I've tried to check every where for its permission. I'm not sure which is the right one.
Also, I wonder why the permissions would be different when using the same user and profile.
The ContentVersion's `FirstPublishLocationId` is set in the page's controller (same one for both pages) and have a fixed value.
Can somebody point me to the right permission to check or to anything else that I should check?
Thx
Baptiste
I have a working page done by somebody else.
I need to do a visual upgrade of the page so I've cloned the page. It's using the same user and profile as the original page
When testing this new page (without any edit), I'm getting the error:
Error: SF_ERROR: INVALID_ID_FIELD OBJ: ContentVersion - You must specify a FirstPublishLocation where you have publish permission
I've tried to check every where for its permission. I'm not sure which is the right one.
Also, I wonder why the permissions would be different when using the same user and profile.
The ContentVersion's `FirstPublishLocationId` is set in the page's controller (same one for both pages) and have a fixed value.
Can somebody point me to the right permission to check or to anything else that I should check?
Thx
Baptiste
Try the suggestions as mentioned in the blog (https://community.boomi.com/s/article/Salesforce-Integration-Guide-Common-Errors#:~:text=Error%3A%20SF_ERROR%3A%20INVALID_ID_FIELD%20OBJ%3A,to%20the%20workspace%20being%20used.).
I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.
Thanks.
Even if I'm a System Administrator, I can't read the files uploaded by the original page.
I've check the doc https://help.salesforce.com/articleView?err=1&id=content_related_list.htm&type=5 (https://help.salesforce.com/articleView?err=1&id=content_related_list.htm&type=5), I'm a "Salesforce CRM Content User" but I can't find that library. Where should it be?
How can I check if I have full access to the CRM?
Our team will check from the backend and let you know the exact answer.
Regards,
Salesforce Support.