Link sharing set max expiration date | Community
Skip to main content
September 29, 2022
Solved

Link sharing set max expiration date

  • September 29, 2022
  • 2 replies
  • 1171 views

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.
Best answer by arunpatidar

Hi,

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

2 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 .

odabioAuthor
September 30, 2022

How can I customise it with java, Servlet ?

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

Arun Patidar