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

AEM - How to tweak activation error message?

Avatar

Level 3

We are working in an AEM 6.1 environment and have created an activation preprocessor that will stop pages from being activated if certain attributes are not set. That works great but we'd also like to change the error message that's displayed by the activation process when the preprocessor throws a ReplicationExcdeption. Can anyone point me to the code that actually displays the error message?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Try overlaying :- /libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js 

~kautuk

View solution in original post

0 Replies

Avatar

Level 10

Can you post a screen shot - it will make this question clearer. What part of the AEM UI - are you using Touch UI or Classic UI for example.

Avatar

Level 9

Hi Randy,

Processor throws exception it is captured in UI to display.   Which screen you are trying to tweak?  Is it siteadmin, console, page itself ?

Thanks,

Avatar

Level 3

We're working in the classic UI. Our preprocessor throws a ReplicationException with the text 'No topic/sub-topic assigned' and the AEM activation error display code adds the 'for path...' part. It's the 'for path...' that I'd like to be able to modify. Here's a screenshot:Screen Shot 2017-06-01 at 7.43.26 AM.png

Avatar

Correct answer by
Administrator

Try overlaying :- /libs/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js 

~kautuk