Skip to main content
Level 2
September 29, 2022
Solved

Link sharing set max expiration date

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

 

 

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

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
Community Advisor
September 30, 2022

Hi,

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

Arun Patidar

3 replies

Adobe Employee
September 29, 2022

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

Translate
odabioAuthor
Level 2
September 30, 2022

How can I customise it with java, Servlet ?

Translate
arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
September 30, 2022

Hi,

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

Translate
Arun Patidar