I'm about to add a custom tab for DAM asset folder settings. Right now it works and saves in CRX values by using custom PostOperation handler class. How to fetch these values from CRX when loading DAM folder settings (of course without /libs/granite/ui/components/coral/foundation/form/password which is wiped out)? I found foldershare.js which performs some GET calls and figured out that I need to add my custom tab to: /libs/dam/gui/content/assets/foldersharewizard/jcr:content/body/content/items/foldersettings/items/settings/items/right/items/tab5/items/tabcontent/items/passwordProtection.html - this is my custom tab:
"jcr:primaryType":"nt:unstructured",
"jcr:title":"Title",
"id":"custom-properties",
"class":"custom-properties",
"sling:resourceType":"granite/ui/components/foundation/container",
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"sling:resourceType":"granite/ui/components/foundation/container",
"jcr:primaryType":"nt:unstructured",
"feature":"com.adobe.dam.asset.processingprofile.feature.flag",
"sling:resourceType":"granite/ui/components/foundation/renderconditions/feature"
},
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"jcr:title":"Password protection",
"sling:resourceType":"/libs/granite/ui/components/foundation/form/fieldset",
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"name":"./password",
"fieldLabel":"Password",
"sling:resourceType":"/libs/granite/ui/components/coral/foundation/form/password"
},
"jcr:primaryType":"nt:unstructured",
"rootPath":"/content/websites/",
"name":"./loginPagePath",
"fieldLabel":"Login page path",
"sling:resourceType":"/libs/granite/ui/components/foundation/form/pathbrowser",
"fieldDescription":"Path page with login component"
},
"jcr:primaryType":"nt:unstructured",
"name":":operation",
"value":"custom.dam.share.folder",
"sling:resourceType":"granite/ui/components/foundation/form/hidden"
}
}
}
}
}
}
}
So now i have url for making GET request to render tab. However data is still not fetched. Does anyone have some documentation or instructions how to do that?
Views
Replies
Total Likes
There is no documentation for adding custom tabs to DAM asset folder settings.
Views
Replies
Total Likes
I talked with our AEM support team about this - they said - "Log a case and we will file a security bug "
Views
Replies
Total Likes
I managed to add this by creating proper .content.xml under \apps\src\main\content\jcr_root\apps\dam\gui\content\assets\foldersharewizard
Views
Replies
Total Likes
@MikolajBuda How did you get the property to save? I have also overlaid that path in order to add a custom tab to DAM folder properties however the dialog fields within the tab are not being saved to the CRX upon saving the dialog.
Views
Replies
Total Likes
if someone can provide this info, i'm also searching it
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies