Skip to main content
sdk60873563
Level 2
Mar 23, 2019 7:04 AM UTC
Solved

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

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)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
Community Advisor
Mar 23, 2019 4:46 PM UTC

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.

Arun Patidar

7 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
Mar 23, 2019 4:46 PM UTC

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.

Translate
Arun Patidar
smacdonald2008
Level 10
Mar 23, 2019 9:52 PM UTC

Great response Arun!

Translate
sdk60873563
Level 2
Mar 25, 2019 12:44 PM UTC

Thank you for response Arun.

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

Translate
arunpatidar
Community Advisor
Community Advisor
Mar 25, 2019 1:04 PM UTC

what value you set for tagfield?

It should be type of String[]

e.g. we-retail:apparel/footwear

Translate
Arun Patidar
sdk60873563
Level 2
Mar 25, 2019 1:10 PM UTC

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

Translate
arunpatidar
Community Advisor
Community Advisor
Mar 25, 2019 3:25 PM UTC

yes, I tried , its not working to tag.

Translate
Arun Patidar
Adobe Employee
May 11, 2022 9:42 AM UTC

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

Translate