Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

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 Accepted Solution

Avatar

Correct answer by
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

View solution in original post

7 Replies

Avatar

Correct answer by
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

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

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

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