Expand my Community achievements bar.

SOLVED

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

Avatar

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

Avatar

Correct answer by
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

Avatar

Administrator

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

~kautuk



Kautuk Sahni

Avatar

Correct answer by
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