Asset Link Share feature in AEM | Community
Skip to main content
Level 2
May 21, 2018 5:21 PM UTC
Solved

Asset Link Share feature in AEM

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
May 23, 2018 8:16 PM UTC

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

Arun Patidar

7 replies

arunpatidar
New Participant
May 24, 2018 8:46 AM UTC

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

Translate
Arun Patidar
Antony679Author
Level 2
May 24, 2018 1:19 AM UTC

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.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
May 23, 2018 8:16 PM UTC

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

Translate
Arun Patidar
Antony679Author
Level 2
May 23, 2018 7:40 PM UTC

Thanks Arun. Any sample code is there to do this?

Thanks.

Translate
Antony679Author
Level 2
May 23, 2018 7:30 PM UTC

Using Closed User groups we can restrict access to asset folders, but my requirement is to disable "share link" future for the assets.

Translate
kautuk_sahni
Employee
May 23, 2018 1:47 PM UTC

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

Translate
Kautuk Sahni
arunpatidar
New Participant
May 21, 2018 7:00 PM UTC

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

Translate
Arun Patidar