Link sharing set max expiration date | Community
Skip to main content
Level 2
Sep 29, 2022 1:22 PM UTC
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
New Participant
Sep 30, 2022 9:00 AM UTC

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

arunpatidar
arunpatidarAccepted solution
New Participant
Sep 30, 2022 9:00 AM UTC

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
Employee
Sep 29, 2022 5:08 PM UTC

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

Translate
odabioAuthor
Level 2
Sep 30, 2022 8:24 AM UTC

How can I customise it with java, Servlet ?

Translate