


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?
Views
Replies
Total Likes
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.
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,