AEM - How to tweak activation error message? | Community
Skip to main content
Level 3
May 31, 2017 2:00 PM UTC
Solved

AEM - How to tweak activation error message?

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Jun 6, 2017 7:42 AM UTC

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

~kautuk

Kautuk Sahni

4 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
Jun 6, 2017 7:42 AM UTC

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

~kautuk

Translate
Kautuk Sahni
Level 3
Jun 1, 2017 11:57 AM UTC

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:

Translate
MC_Stuff
Level 10
Jun 1, 2017 3:55 AM UTC

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,

Translate
smacdonald2008
Level 10
May 31, 2017 2:05 PM UTC

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.

Translate