UI Elements Content Content Explorer share button not working

Highlighted
Contributor

UI Elements Content Content Explorer share button not working

When I click the share button on the content explorer, the shared link comes up as 'None'.

 

image.png

 

 

 

 

 

 

 

 

 

The scopes being used should allow for sharing:

scopes = 'base_explorer item_preview item_download item_rename item_delete item_share item_upload root_readwrite annotation_view_all annotation_edit';

 

-Chris.

5 REPLIES 5
Highlighted
Occasional Contributor

Re: UI Elements Content Content Explorer share button not working

What is the collaborator access on the file for the user trying to share? 

Highlighted
Contributor

Re: UI Elements Content Content Explorer share button not working

Editor on the parent folder.

 

 

 

Highlighted
Occasional Contributor

Re: UI Elements Content Content Explorer share button not working

Can you share your code? 

Highlighted
Contributor

Re: UI Elements Content Content Explorer share button not working

In order to minimize errors in coding, I just used the Box for Salesforce Blueprints code on github,   Links to the 2 main parts of the code, although there's other related stuff in there.

 

Controller class: https://github.com/kylefernandadams/box-for-salesforce-blueprints/blob/master/force-app/main/default...

 

This is the javascript: https://github.com/kylefernandadams/box-for-salesforce-blueprints/blob/master/force-app/main/default...

 

The controller has the scopes with item_share.   The js has the canShare option.

Highlighted
Contributor

Re: UI Elements Content Content Explorer share button not working

Anyone know?  This is still an issue.