Hi,
We have a requirement that depending on the category of the asset , a list of metadata needs to be applied to that asset ( eg, marketing asset have a different set of metadata than product asset )
Is it possible to achieve the same with AEM asset metadata schema or somehow else?
Solved! Go to Solution.
Views
Replies
Total Likes
One way is define all the fields & then control with acl.
Alternative for classic ui is using a listener on the particular field you want to hide and then hide the field based on the path. To do this, create a listeners node of type nt:unstructured under the field (e.g. /apps/dam/content/asseteditors/image/jpeg/formitems/person/listeners) and set the beforeloadcontent property something like:
function(f, r, p) { if (p.indexOf("/content/dam/geometrixx/") == 0) { f.hide(); } return true; }
This will hide this field for assets under /content/dam/geometrixx. You could adjust this to meet other requirements.
Tryout Apply same principal to touch ui but never tried personally.
Views
Replies
Total Likes
There is quite a lot of documentation on this subject in the CQ docs. See this topic:
http://docs.adobe.com/docs/en/cq/current/dam/metadata_for_digitalassetmanagement.html
Views
Replies
Total Likes
Hi Scott,
Looking for a little different thing.Need to define 2 kinds of asset ( lets say both having MIME type jpeg), but having different metadata schema.
Is it possible?
Views
Replies
Total Likes
One way is define all the fields & then control with acl.
Alternative for classic ui is using a listener on the particular field you want to hide and then hide the field based on the path. To do this, create a listeners node of type nt:unstructured under the field (e.g. /apps/dam/content/asseteditors/image/jpeg/formitems/person/listeners) and set the beforeloadcontent property something like:
function(f, r, p) { if (p.indexOf("/content/dam/geometrixx/") == 0) { f.hide(); } return true; }
This will hide this field for assets under /content/dam/geometrixx. You could adjust this to meet other requirements.
Tryout Apply same principal to touch ui but never tried personally.
Views
Replies
Total Likes
Thanks Sham,
Will try that approach.
Views
Replies
Total Likes
Views
Likes
Replies