Expand my Community achievements bar.

Adobe Summit 2025: AEM Session Recordings Are Live! Missed a session or want to revisit your favorites? Watch the latest recordings now.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

How to access AEM page timeline through programmatically

Avatar

Level 2

How to access AEM page timeline through programmatically. Is there any APi available.

5 Replies

Avatar

Community Advisor

Avatar

Level 2

please provide if you have any code snippet.

Avatar

Community Advisor

can you please share what exactly you're trying to do with timelines? so that i can share some code snippet. 

Avatar

Level 2

I am trying to display like report which shows each page requested for activation and page approval using custom workflow details.

 

Ideally how to use timeline APi on each page path.

Avatar

Level 2

Resource res = resourceResolver.getResource(resourcePath);
TimeLine t= res.adaptTo(Timeline.class); //this giving error "Type mismatch: cannot convert from Timeline to TimeLine Timeline cannot be resolved to a type

"