Issues with saving dialog properties | Community
Skip to main content
June 5, 2021
Solved

Issues with saving dialog properties

  • June 5, 2021
  • 1 reply
  • 1540 views

Hi There - I have a dialog (Touch UI) in page properties. When I select any checkbox from the properties and "Save & Close", the property is captured in the node but when I open the page properties again, I don't see the selected values. The values I selected is not persisted. Could you tell me what could be the issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

Can you share the sample dialog? do you have both checked and unchecked values?

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 5, 2021

Hi,

Can you share the sample dialog? do you have both checked and unchecked values?

Arun Patidar
v1101Author
June 5, 2021
@arunpatidar - Please find below. There is only checked values. <?xml version="1.0" encoding="UTF-8"?> <jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0" jcr:primaryType="nt:unstructured" jcr:title="Page" sling:resourceType="cq/gui/components/authoring/dialog" extraClientlibs="[cq.common.wcm,core.wcm.components.page.v1.editor,cq.wcm.msm.properties,granite.contexthub.configuration,cq.siteadmin.admin.properties]" helpPath="https://www.adobe.com/go/aem_cmp_page_v1" mode="edit" trackingFeature="core-components:page:v1"> <content granite:class="cq-dialog-content-page" jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container"> <items jcr:primaryType="nt:unstructured"> <tabs granite:class="cq-siteadmin-admin-properties-tabs" jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/tabs" size="L"> <items jcr:primaryType="nt:unstructured" sling:hideChildren="[advanced,thumbnail,cloudservices,personalization,permissions]"> <basic jcr:primaryType="nt:unstructured" jcr:title="Basic" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/container"> <items jcr:primaryType="nt:unstructured"> <title jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/include" path="/mnt/overlay/wcm/foundation/components/basicpage/v1/basicpage/tabs/basic/items/column/items/title"/> <disabledefault jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/checkbox" fieldDescription="By selecting this option, the default no index tag value will be removed from the HTML of the page" fieldLabel="Disable Default No indexTag" name="./disablebydefault" text="Disable Default No indexTag"/> <noindex jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textfield" fieldLabel="No Index" name="./noIndex"/> <moretitles jcr:primaryType="nt:unstructured" jcr:title="More Titles and Description" sling:resourceType="granite/ui/components/coral/foundation/form/fieldset"> <items jcr:primaryType="nt:unstructured"> <pagetitle jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textfield" fieldLabel="Page Title for AARP" name="./pageTitle"/> <pagetitleUms jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textfield" fieldLabel="Page Title for UMS" name="./pageTitleUms"/> <navtitle jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textfield" fieldLabel="Navigation Title" name="./navTitle"/> <subtitle jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textfield" fieldLabel="Subtitle" name="./subtitle"/> <description jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textarea" fieldLabel="Description for AARP" name="./jcr:description"/> <descriptionUms jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textarea" fieldLabel="Description for UMS" name="./jcr:descriptionUms"/> </items> </moretitles> <onofftime jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/include" path="/mnt/overlay/wcm/foundation/components/basicpage/v1/basicpage/tabs/basic/items/column/items/onofftime"/> <vanityurl jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/include" path="/mnt/overlay/wcm/foundation/components/basicpage/v1/basicpage/tabs/basic/items/column/items/vanityurl"/> </items> </column> </items> </basic> <pageBanner jcr:primaryType="nt:unstructured" jcr:title="Banner" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container"> <items jcr:primaryType="nt:unstructured"> <isPageBannered jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/checkbox" fieldDescription="Check to Banner the page" fieldLabel="Is Page Bannered?" name="./isPageBannered" text="Is Page Bannered?"/> <customBanneringMessage/> </items> </column> </items> </pageBanner> <tagging jcr:primaryType="nt:unstructured" jcr:title="Tagging" sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"> <items jcr:primaryType="nt:unstructured"> <column jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/foundation/container"> <items jcr:primaryType="nt:unstructured"> <hideFromSearch jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/checkbox" fieldDescription="By selecting this option, this page will be hidden from site crawls and search results." fieldLabel="Hide From Search" name="./hideFromSearch" text="Hide From Search"/> <description jcr:primaryType="nt:unstructured" sling:resourceType="granite/ui/components/coral/foundation/form/textarea" fieldLabel="Search Description" name="./description"/> <tags jcr:primaryType="nt:unstructured" sling:resourceType="cq/gui/components/coral/common/form/tagfield" fieldLabel="Tags/Keywords" multiple="{Boolean}true" name="./tags"/> </items> </column> </items> </tagging> </items> </tabs> </items> </content> </jcr:root>