Expand my Community achievements bar.

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



Kautuk Sahni

View solution in original post

4 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



Kautuk Sahni