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

Pop up on Activation

Avatar

Level 1

Hi All,

How i can configure a pop up on activation whenever i click on activate button. i need a same behaviour like what we have for deactivation.

Appreciate you suggestions.

Thanks,

Neeraj

2 Replies

Avatar

Level 10

You can override /libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js file.

On line 606, you can see these calling deactivate method and show pop up. 

You need to do something similar for activate at line 566

Avatar

Level 1

Hi,

Thank you for your suggestion.

I tried your solution but couldn't able to achieve the output. Would appreciate if you can give me the exact code to place for activation pop-up. I am new to AEM development.

 

Kr,

Neeraj