Way to customise cancel inheritance message

Avatar

Avatar

Umesh_Thakur

MVP

Avatar

Umesh_Thakur

MVP

Umesh_Thakur
MVP

06-04-2021

Dear Members,

We have one requirement to customise the message, that we are getting while canceling the inheritance on a live copy page.

So  can anyone suggest a way, if we have to accomplish the above requirement.

Step to get the message:

1. Open any live copy page in editor.html.

2. Click on a component then you will have on Cancel Inheritance Icon.

3. On click on the icon You will get one alert confirmation box with "Do you really want to cancel the inheritance?" message.

 

Though we can take help from front-end to show the customise message but I wanted to use the existing feature, if possible so I am checking.

 

Thanks

Umesh Thakur

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

06-04-2021

Hi @Umesh_Thakur,

Cancel Inheritance modal from Component Tool bar action is rendered from this JS - /libs/wcm/msm/content/touch-ui/authoring/editor/js/msmEditorHook.js

Vijayalakshmi_S_0-1617719445282.png

 

Answers (2)

Answers (2)

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883

Avatar

Arun_Patidar

MVP

Total Posts

3.1K

Likes

1.2K

Correct Reply

883
Arun_Patidar
MVP

06-04-2021

Hi,

The coral dialog is from Javascript https://localhost:4502/libs/wcm/msm/content/touch-ui/authoring/commons.min.js

you may try to create i18n key with a different message that can help.

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

06-04-2021