Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to set expiration to a Blog Post in AEM 6.2 Communities.

sumeer_bashap72
Level 2
Level 2

Hi ,

Is there a way we can set expiration date as we can set schedule for later while authoring new article in a blog/journal using AEM 6.2 communities.

I couldn't find anywhere to expiration date. Currently, I am tried adding a new drop down on the composes similar to Schedule later drop down but I am not able to set the expiration date into the article properties in JCR. I modified the javascript to add expirationDate as part of Post data to server, but looks like server is not able to handle new variables as part of post data. Let me know if there is a way we can handle it.

Is there any way we can extend the createJournalComment Operation just to handle the new variable in post data.

Please let me know .

Thanks,

Sumeer.

1 Accepted Solution
Rahul_Bhardwaj
Correct answer by
Employee
Employee

It’s not possible OOTB. The best you can do is to customize journal to add a timer and make a close call once the timer expires. Use [0] to know more about customizations of AEM Communities component.

[0] - https://docs.adobe.com/docs/en/aem/6-3/develop/communities/scf/client-customize.html

View solution in original post

2 Replies
kautuk_sahni
Community Manager
Community Manager

I have asked AEM Community team to have a look at this one.

~kautuk

Rahul_Bhardwaj
Correct answer by
Employee
Employee

It’s not possible OOTB. The best you can do is to customize journal to add a timer and make a close call once the timer expires. Use [0] to know more about customizations of AEM Communities component.

[0] - https://docs.adobe.com/docs/en/aem/6-3/develop/communities/scf/client-customize.html

View solution in original post