Expand my Community achievements bar.

SOLVED

Link sharing set max expiration date

Avatar

Level 3

Hello everyone

 

I’m using AEM as a cloud service

And I want to set to max expiration date by default when a user is sharing a link

odabio_0-1664457711470.png

 

 

Is there anyway that I can set the max expiration date when a user is sharing a link ?

I would link to set a max expiration date if the chosen date is bigger than my defined max date.

 

 

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

You can write a javascript to disabled the share button in the popup window if max-date condition does not met



Arun Patidar

View solution in original post

3 Replies

Avatar

Employee

There is no OOTB way. This needs customisation. I think you can explicitly set a header for max expiration date .

Avatar

Correct answer by
Community Advisor

Hi,

You can write a javascript to disabled the share button in the popup window if max-date condition does not met



Arun Patidar