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

sdk60873563
Level 2
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
Arun_Patidar
Correct answer by
Community Advisor
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

6 Replies
Arun_Patidar
Correct answer by
Community Advisor
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

sdk60873563
Level 2
Level 2

Thank you for response Arun.

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

Arun_Patidar
Community Advisor
Community Advisor

what value you set for tagfield?

It should be type of String[]

e.g. we-retail:apparel/footwear

sdk60873563
Level 2
Level 2

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

Arun_Patidar
Community Advisor
Community Advisor

yes, I tried , its not working to tag.