Multifield on page properties after inheritance on Live copy pages

Avatar

Avatar
Boost 1
Level 1
maans
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
maans
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
maans
Level 1

08-07-2021

I have a Multifield on page properties on english(blueprint page). french page is the live copy of en page. On french page the multifield is inherited from en page. Multifield is having 3 fields: a single selectable dropdown, multiselect dropdown and a text field. The chain icon is added as the last item in the fieldset. If I click on chain icon to cancel the inheritance. I am unable to cancel the inheritance. Did anybody else has also faced this issue or is there any limitation on this from aem side? 

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar
Boost 500
MVP
Vijayalakshmi_S
MVP

Likes

572 likes

Total Posts

714 posts

Correct reply

239 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

572 likes

Total Posts

714 posts

Correct reply

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

12-07-2021

Hi @maans,

cq-msm-lockable property (that is responsible for the lock icon on live copy pages) should have the value same as that of your field name property. 

In this case,

  • if your multiselect dropdown field name is ./countries, then cq-msm-locable property should be countries
  • Same with language field too. 

Avatar

Avatar
Boost 1
Level 1
maans
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
maans
Level 1

Like

1 like

Total Posts

3 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
maans
Level 1

09-07-2021

Here is the sample code for same.

<hreflangSettings cq:showOnCreate="{Boolean}false"
jcr:primaryType="nt:unstructured" jcr:title="HrefLang Settings"
sling:resourceType="granite/ui/components/coral/foundation/form/fieldset">
<items jcr:primaryType="nt:unstructured">
<hreflang granite:class="foundation-layout-util-maximized-alt"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/multifield"
fieldDescription="Click 'Add Field' to add a set of hreflang for one domain alternate url"
composite="{Boolean}true"
renderReadOnly="{Boolean}true">
<field jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container"
name="./hrefLang">
<items jcr:primaryType="nt:unstructured">
<well jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/well">
<items jcr:primaryType="nt:unstructured">
<language granite:class="language" jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/select"
emptyText="Select" fieldLabel="Language" name="./language"
renderReadOnly="{Boolean}true" required="{Boolean}true"
translateOptions="{Boolean}true">
<granite:data jcr:primaryType="nt:unstructured"
cq-msm-lockable="jcr:language" />
<datasource jcr:primaryType="nt:unstructured"
sling:resourceType="/apps/dropdownPopulator" addNone="{Boolean}true"
dropdownSelector="languageList"/>
</language>
<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>
<domainalturl jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
fieldLabel="Alternate URL" name="./domainUrl" value="" />
</items>
</well>
</items>
</field>
</hreflang>
</items>
</hreflangSettings>

 

 

If I delete the multiselect countries dropdown from the multifield fieldset  I am able to cancel the inheritance. Is there any issue on multiselect dropdown here. Any help will really be appreciated.