Hello,
I extended and customized the properties of the dam mnt/overlay/dam/gui/content/assets/v2/foldersharewizard folder by inserting a new field -->Location CF .
I am experiencing this problem: the data that appears in the new field is not saved.
I simply extended under /apps the following path "dam/gui/content/assets/v2/foldersharewizard" and added my property in tab1
My content.xml :
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:granite="http://www.adobe.com/jcr/granite/1.0" xmlns:cq="http://www.day.com/jcr/cq/1.0"
xmlns:sling="http://sling.apache.org/jcr/sling/1.0"
jcr:primaryType="cq:Page">
<jcr:content
jcr:primaryType="nt:unstructured"
jcr:title="AEM Assets | Folder Properties"
sling:resourceType="granite/ui/components/shell/propertiespage"
backHref="${granite:concat("/assets.html", granite:encodeURIPath(granite:relativeParent(empty requestPathInfo.suffix ? param.item : requestPathInfo.suffix, 1)))}"
consoleId="cq-assets-files-folders-properties"
formId="folder-settings-form"
simpleSave="{Boolean}false">
<content
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/page/body">
<items jcr:primaryType="nt:unstructured">
<form
granite:class="cq-damadmin-admin-folder-settings-form"
granite:id="folder-settings-form"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form"
action="${granite:encodeURIPath(requestPathInfo.suffix)}"
enctype="application/x-www-form-urlencoded"
maximized="{Boolean}true"
method="post"
novalidate="{Boolean}false"
style="vertical">
<items jcr:primaryType="nt:unstructured">
<wizard
granite:class="cq-damadmin-admin-foldersetting"
granite:id="foldersharesettings"
granite:rel="folder-setting-wizard"
jcr:primaryType="nt:unstructured"
jcr:title="Folder Properties"
sling:resourceType="granite/ui/components/coral/foundation/container"
cancelHref="${empty header.Referer ? granite:concat("/assets.html", granite:encodeURIPath(empty param.item ? requestPathInfo.suffix : param.item)) : header.Referer}">
<items jcr:primaryType="nt:unstructured">
<settingStep
jcr:primaryType="nt:unstructured"
jcr:title="Folder Settings"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<fixedColumns
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/fixedcolumns"
active="{Boolean}true"
margin="{Boolean}true"
maximized="{Boolean}false">
<items jcr:primaryType="nt:unstructured">
<fixedColumn2
granite:id="detail"
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<tabs
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/tabs">
<items jcr:primaryType="nt:unstructured">
<tab1
granite:class="aem-assets-foldershare-details-container"
jcr:primaryType="nt:unstructured"
jcr:title="Details"
sling:resourceType="granite/ui/components/coral/foundation/container">
<items jcr:primaryType="nt:unstructured">
<locationCf
jcr:primaryType="nt:unstructured"
sling:resourceType="granite/ui/components/coral/foundation/form/pathfield"
fieldLabel="Location CF"
rootPath="/content/aria-rl"
name="./locationCf">
<granite:data
jcr:primaryType="nt:unstructured"
cq-msm-lockable="locationCf"
metaType="text"/>
</locationCf>
</items>
</tab1>
</items>
</tabs>
</items>
</fixedColumn2>
</items>
</fixedColumns>
</items>
</settingStep>
</items>
</wizard>
</items>
</form>
</items>
</content>
</jcr:content>
</jcr:root>
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Alternatively, is it possible to add a pathfield properties as a field to the folder metadata schema?
@30991930w169 Did you find the suggestion helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies