Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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