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

SOLVED

How to open popup and create the dialog on click of button in AEM 6.2

sandhyap2357299
Level 3
Level 3

Hello everyone,

Can you please suggest how to open popup and create the dialog on click of button in AEM 6.2

Regards,
Sandhya.

1 Accepted Solution
smacdonald2008
Correct answer by
Level 10
Level 10

"I would like to know about the action"

Seems like you want a popup action associated with a component.  You can achieve a popup that displays information using JQuery libs like fancy box.

See demos here: Fancybox - Fancy jQuery lightbox alternative

View solution in original post

3 Replies
smacdonald2008
Level 10
Level 10

Are you referring to a component dialog? There is no need to create a popup or any other UI modification in order to view a component dialog.

An AEM Component dialog in AEM 6.2 appears when you click on a component during Design view. This is standard AEM functionality.

sandhyap2357299
Level 3
Level 3

Hi,

Thank you for quick reply.

I would like to know about the action(action will be ---A new popup will open with 1.terms&condition,2.phone number3.URL redirecting and so on........)on click of button inside the component,Not component dialog.

Please suggest me how can we achieve this.

Thanks in advance.

smacdonald2008
Correct answer by
Level 10
Level 10

"I would like to know about the action"

Seems like you want a popup action associated with a component.  You can achieve a popup that displays information using JQuery libs like fancy box.

See demos here: Fancybox - Fancy jQuery lightbox alternative

View solution in original post