Hi Everyone,
Is there is any configuration with which we can disable Assets Link Share functionality in Author?
Purpose is we don't want anyone to share our assets through this Link share as there is no way to track who viewed/downloaded assets.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You need to overlay /libs/dam/gui/content/assets/jcr:content/actions/selection node and need to add sling:hideChildren=adhocassetshare
As suggested by kautuksahni you can hide this for particular users as well or you can use granite:rendercondition
Views
Replies
Total Likes
Hi
You can overlay the action selection node and try hideChildren for adhocassetshare but it'll hides share Link option for all the users including admin
Thanks
Arun
Views
Replies
Total Likes
I would recommend you using closed user group with AEM Assets for this use case.
Link:- Adobe Experience Manager Help | Using Closed User Groups with AEM Assets
-Kautuk
Views
Replies
Total Likes
Using Closed User groups we can restrict access to asset folders, but my requirement is to disable "share link" future for the assets.
Views
Replies
Total Likes
Thanks Arun. Any sample code is there to do this?
Thanks.
Views
Replies
Total Likes
Hi,
You need to overlay /libs/dam/gui/content/assets/jcr:content/actions/selection node and need to add sling:hideChildren=adhocassetshare
As suggested by kautuksahni you can hide this for particular users as well or you can use granite:rendercondition
Views
Replies
Total Likes
Thanks Arun.
I was able to hide share option by adding sling:hideChildren=share ( adding sling:hideChildren=adhocassetshare didn't worked out). We are using AEM 6.2.
So after adding at 3 places, I was able to disable share functionality for assets.
/apps/dam/gui/content/assets/jcr:content/actions/selection
/apps/dam/gui/content/assets/metadataeditor/jcr:content/actions
/apps/dam/gui/content/assetdetails/jcr:content/actions
Any idea why sling:hideChildren=adhocassetshare didn't worked in 6.2?
Now I will try closed user group to restrict this "share" option for assets.
Thanks.
Hi,
adhocassetshare node is not available in AEM 6.2 and 6.3, instead of that share node is there, which you already hide.
Thanks
Arun
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies