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'.
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.
-
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/classes/BoxContentExplorerController.cls
This is the javascript: https://github.com/kylefernandadams/box-for-salesforce-blueprints/blob/master/force-app/main/default/aura/BoxContentExplorer/BoxContentExplorerController.js
The controller has the scopes with item_share. The js has the canShare option.
投稿コメントは受け付けていません。
コメント
6件のコメント