Expand my Community achievements bar.

SOLVED

why multiselect dropdown field on page properties , selected values of multi-select dropdown on master copy are not visible on live copy pages?

Avatar

Level 2

I have a multiselect dropdown country on master page en.

<countries granite:class="countries"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
emptyText="Select" fieldLabel="Countries" multiple="{Boolean}true"
name="./countries" renderReadOnly="{Boolean}true"
translateOptions="{Boolean}true">
<granite:data jcr:primaryType="nt:unstructured"
cq-msm-lockable="jcr:countries" />
<datasource jcr:primaryType="nt:unstructured"
sling:resourceType="/apps/dropdownPopulator" addNone="{Boolean}true"
dropdownSelector="countryList"/>
</countries>

 

When I open the live copy page of the master copy it doesn't show the option selected on master copy i.e. country field on the live copy page.

 

Any suggestions will be appreciated .Thanks.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi @maans ,

 By default JCR, CQ and sling properties do not get rolled out.

I can see your properties name is jcr:countries. So for that you need to make changes in CQ MSM Content Update Action in configmgr

Bimmi_Soi_0-1626085356057.png

So in the above screenshot how I have excluded title and description similarly you can exclude your property here as by adding it here.

By default you will have jcr:.* 

Update it to :  jcr:(?!(countries)$).*

And now it will start getting updated on rollout.

You can also refer the below blog in case of any confusion

https://bimmisoi.blogspot.com/2020/08/page-properties-not-getting-inherited.html

 

Hope this helps!!

Thanks

 

 

 

 

View solution in original post

2 Replies

Avatar

Community Advisor

Hi @maans 

By default properties starting with jcr,sling and cq are excluded from rollout.

if you want your properly to be part of rollout you need to add rule in MSM rollout osgi config

please refer this for more information: https://techrevel.blog/2019/09/26/msm-rollout-excluding-content-updates/

thanks

dipti

Avatar

Correct answer by
Employee Advisor

Hi @maans ,

 By default JCR, CQ and sling properties do not get rolled out.

I can see your properties name is jcr:countries. So for that you need to make changes in CQ MSM Content Update Action in configmgr

Bimmi_Soi_0-1626085356057.png

So in the above screenshot how I have excluded title and description similarly you can exclude your property here as by adding it here.

By default you will have jcr:.* 

Update it to :  jcr:(?!(countries)$).*

And now it will start getting updated on rollout.

You can also refer the below blog in case of any confusion

https://bimmisoi.blogspot.com/2020/08/page-properties-not-getting-inherited.html

 

Hope this helps!!

Thanks