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

AEM - How to tweak activation error message?

  • May 31, 2017
  • 4 replies
  • 1706 views

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.
Best answer by kautuk_sahni

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

~kautuk

4 replies

smacdonald2008
Level 10
May 31, 2017

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.

MC_Stuff
Level 10
June 1, 2017

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,

Level 3
June 1, 2017

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:

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
June 6, 2017

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

~kautuk

Kautuk Sahni