What is usage of "msm-config-endpoint" granite class to enable Inheritance Locks on Live copy pages in Page Properties ?

Avatar

Avatar
Level 1
anirudh_satchitanand
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
anirudh_satchitanand
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
anirudh_satchitanand
Level 1

02-03-2021

We had a use case where we had to extend inheritance locks on live copies for Experience Fragment pages. In one of the page rendering components observed that there was node defined as :

 

<msmConfigEndpoint
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
granite:class="msm-config-endpoint"
value="${empty param.item ? requestPathInfo.suffix : param.item }"/>
 
on using this node on experience fragment page rendering component , was able to resolve the lock issue.
 
But wasn't able to find any much official documentation for it, can some one please help understand this ? 
 
AEM Version : 6.5 Service Pack 3
 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

587 likes

Total Posts

735 posts

Correct reply

246 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

587 likes

Total Posts

735 posts

Correct reply

246 solutions
Top badges earned
Boost 500
Give Back 50
Give Back 5
Ignite 10
Ignite 5
View profile
Vijayalakshmi_S
MVP

04-03-2021

Hi @anirudh_satchitanand,

This is used to set the MSM lock/unlock icon and its related properties.

Works by reading the value of msmConfigEndpoint hidden field which by its definition is either suffix or parameter named item. (Ex: If we open page properties of a page, item value will be the page path)

 

Answers (0)