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
BedrockMission!

Learn More

View all

Sign in to view all badges

Timeline event

Avatar

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
shaheenas113483
Level 3

21-03-2019

How can I create my own event and use it instead of using Timeline Event in the code of comment.jsp in the path: /libs/dam/gui/coral/components/admin/timeline/events/comment/comment.jsp

Replies

Avatar

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Give back 300
MVP
Gaurav-Behl
MVP

Likes

243 likes

Total Posts

1,145 posts

Correct Reply

281 solutions
Top badges earned
Give back 300
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Gaurav-Behl
MVP

21-03-2019

Could you please explain your use case? What kind of event do you want to create?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

21-03-2019

Is this API what you are referring to?

"The Adobe AEM Quickstart and Web Application."

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,279 likes

Total Posts

3,155 posts

Correct Reply

889 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

21-03-2019

Hi,

What do you mean by event?

You can want to create event topic and properties, if yes check Apache Felix - Apache Felix Event Admin

acs-aem-samples/SampleOsgiEventEmitter.java at master · Adobe-Consulting-Services/acs-aem-samples · ...

Avatar

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
shaheenas113483
Level 3

21-03-2019

I checked the Comment.jsp file, which gets rendered in Timeline. It uses the Timeline event. I wanted to use the code of Comment.jsp somewhere else outside the Timeline, so how can I make it work without Timeline event. This is why I asked about other events.

The path for Comment.jsp is:

/libs/dam/gui/coral/components/admin/timeline/events/comment/comment.jsp

and the code snippet is as such:

TimelineEvent event = (TimelineEvent) request.getAttribute("cq.gui.common.admin.timeline.event");

You will get a better idea if you check that code.

Avatar

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
shaheenas113483
Level 3

21-03-2019

Yes, you are right. After I checked the code in Comment.jsp file, I checked this API to understand Timeline event better. Is there any other way to get the event? Since, I am not working with Timeline rail, thus I wont get the timeline event. But I want to use the the same functionality of Comment which we see in Timeline.

Avatar

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
Level 3
shaheenas113483
Level 3

Likes

9 likes

Total Posts

57 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 5
Ignite 3
Ignite 1
Give Back 5
View profile
shaheenas113483
Level 3

21-03-2019

Well, I want to use the functionality of Comment, which we see in Timeline rail. But, I don't want to use the comment functionality in the Timeline. So, I wont be able to fetch the timeline event, which is being used in the code of Comment. Is there any other way to make it work?

Avatar

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,406 likes

Total Posts

12,671 posts

Correct Reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

22-03-2019

I am not aware of any other way.