Box Shared Link
When I click on an account, we I see that we have Box embedded in the Account layout. This window displays folders for an account. When I click the "Share this folder" rectangle, another little box pops up. In this new little popup box, I choose, "Get Shared Link: Download Only." What happens next is I get a Shared Link that I can send to anyone so that they can see the files for a particular account...anyone with this link can see the files.
My question is, using Apex, how can I grab this Shared Link and store it in an account field?
I've seen some of the other answers on this site that are related to this field, but none of them have worked for me.
The Box Salesforce (Apex) SDK provides a BoxFolder#getSharedLink() method that can help you get the shared link for a Box folder.
For anyone who still needs help, I just managed to create/update the shared link and return it. If you use 'GET' instead of 'PUT' in my solution you should be able to repurpose it for this issue.
Please sign in to leave a comment.