Expand my Community achievements bar.

Adobe Summit is live! Tune in to take part in the premier digital experience event.

Asset Folder Properties - Custom properties not are saved

Avatar

Level 1

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.

30991930w169_0-1741293956162.png

I simply extended under /apps the following path "dam/gui/content/assets/v2/foldersharewizard" and added my property in tab1

 

30991930w169_1-1741294612267.png

 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(&quot;/assets.html&quot;, 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(&quot;/assets.html&quot;, 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>

  

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

2 Replies

Avatar

Level 1

Alternatively, is it possible to add a pathfield properties as a field to the folder metadata schema?