How to set default values to properties in meta-data-schema applied to certain aem dam folder | Community
Skip to main content
sdk60873563
New Participant
March 23, 2019
Solved

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

  • March 23, 2019
  • 6 replies
  • 6443 views

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.
Best answer by arunpatidar

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.

6 replies

arunpatidar
New Participant
March 25, 2019

yes, I tried , its not working to tag.

Arun Patidar
Employee
May 11, 2022

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

sdk60873563
New Participant
March 25, 2019

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

arunpatidar
New Participant
March 25, 2019

what value you set for tagfield?

It should be type of String[]

e.g. we-retail:apparel/footwear

Arun Patidar
sdk60873563
New Participant
March 25, 2019

Thank you for response Arun.

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

smacdonald2008
New Participant
March 23, 2019

Great response Arun!

arunpatidar
arunpatidarAccepted solution
New Participant
March 23, 2019

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