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

How to access AEM page timeline through programmatically

koteswarar33345
Level 2
Level 2

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

5 Replies
SivaPrasadReddyS
Level 8
Level 8

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

koteswarar33345
Level 2
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.

koteswarar33345
Level 2
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

"