How to modify timeline view activity. | Community
Skip to main content
Level 2
January 31, 2025
Solved

How to modify timeline view activity.

  • January 31, 2025
  • 2 replies
  • 569 views

I'm working on AEM as a cloud service. I want to modify the timeline view of the content like the activity title modification or hiding some activity title. Is there any way we can do that. And also where these jsp or components located in aem crx if I want to overlay.

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 AmitVishwakarma

To modify the timeline view activity in AEM as a Cloud Service:

1. Modify Activity Title / Hide Activities:
Locate the activity stream component or workflow components.
You may need to overlay the relevant component to change titles or hide specific activities.

2. Overlay Components:
Look in CRX under /libs/cq/workflow/ or /apps/<your-project>/components/.
Create an overlay in /apps/<your-project>/components/ to modify how activities are displayed (titles, visibility).

3. Custom Logic:
If necessary, update the Sling models or event listeners to customize the activity rendering logic.

2 replies

AmitVishwakarma
Community Advisor
AmitVishwakarmaCommunity AdvisorAccepted solution
Community Advisor
February 1, 2025

To modify the timeline view activity in AEM as a Cloud Service:

1. Modify Activity Title / Hide Activities:
Locate the activity stream component or workflow components.
You may need to overlay the relevant component to change titles or hide specific activities.

2. Overlay Components:
Look in CRX under /libs/cq/workflow/ or /apps/<your-project>/components/.
Create an overlay in /apps/<your-project>/components/ to modify how activities are displayed (titles, visibility).

3. Custom Logic:
If necessary, update the Sling models or event listeners to customize the activity rendering logic.

KumariSuAuthor
Level 2
February 2, 2025

Thanks @amitvishwakarma, overlaying the activity component to apps works fine for me. I can modify the title.

Level 2
February 5, 2025

Hi @kumarisu,

 

I believe you can overlay the nodes under /libs/wcm/core/content/sites/jcr:content/rails/timeline/items/timeline/items/events/providers/activities/titles for your needs.

 

Hope this helps,

Vinay