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

AEM - How to tweak activation error message?

  • May 31, 2017
  • 4 replies
  • 1700 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

kautuk_sahni
kautuk_sahniAccepted solution
Employee
June 6, 2017

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

~kautuk

Kautuk Sahni
New Participant
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:

MC_Stuff
New Participant
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,

smacdonald2008
New Participant
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.