Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

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

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

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.

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