Leiste mit Community-Erfolgen erweitern.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Diese Konversation wurde aufgrund von Inaktivität geschlossen. Bitte erstellen Sie einen neuen Post.

GELÖST

How to set default values to properties in meta-data-schema applied to certain aem dam folder

Avatar

Level 2

Hi,

I have certain custom properties defined in meta data schema (resourceTypes ex.text fields, tags, date etc).

I want to set default values to certain properties having resource type  tagpicker and textfields. How shall i set default values to these fields.

While editing any asset, these fields should be pre filled.(using aem 6.3)

1 Akzeptierte Lösung

Avatar

Korrekte Antwort von
Community Advisor

Hi,

It's gonna be manual step to set default value.

you need to go to CRXDE, locate your schema and set default value to field using value property.

Screenshot 2019-03-23 at 5.44.29 PM.png

Arun Patidar

AEM LinksLinkedIn

Lösung in ursprünglichem Beitrag anzeigen

7 Antworten

Avatar

Korrekte Antwort von
Community Advisor

Hi,

It's gonna be manual step to set default value.

you need to go to CRXDE, locate your schema and set default value to field using value property.

Screenshot 2019-03-23 at 5.44.29 PM.png

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 10

Great response Arun!

Avatar

Level 2

Thank you for response Arun.

I have already tried this approach , it works for all others except tagpicker. Any thoughts on tagspicker ?

Avatar

Community Advisor

what value you set for tagfield?

It should be type of String[]

e.g. we-retail:apparel/footwear

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 2

correct, i am doing same way. some how i do not see it working.

Avatar

Community Advisor

yes, I tried , its not working to tag.

Arun Patidar

AEM LinksLinkedIn

Avatar

Level 2

Is it still an issue? I have the similar requirement. I need to pre-populate one of the asset metadata property (tag type).

 

Thanks,

Raja