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

Making components in the metadata schema builder have the required attribute

bkarel123
Level 2
Level 2

So as i am making a metadata schema and not all of the fields have the required attribute. Per Adobe documentation: Only the Hidden Field component does not have the attributes Map to Property, Placeholder, Required, Disable edit and Show Emplty Field in Read Only properties. It has the attributes Name, Value, Field Label, and Description. The values for the Hidden Field component are sent as a POST parameter whenever the asset is saved. It is not be saved as metadata for the asset.

I do not see the required attribute in all the components outside of the Hidden Field, for example the drop down list. If I set the properties via a JSON file, will that be the way to do that or does this require some custom coding to override the front end?

 

Thank you

1 Reply
smacdonald2008
Level 10
Level 10

Can you let the community know what doc topic you are referencing. 

Lokesh_Shivalingaiah
Community Advisor
Community Advisor

Hi, Can you let us know your usecase and what are you trying to do in detail ?

bkarel123
Level 2
Level 2

Yes sure, thank you for looking at this. This is related to my other question where I was asking about making a tag field component required, which it is not now. Basically ensuring metadata and tagging is done by making it required so a user cannot click done until these fields are filled in. I want to be able to make any of the metadata schema builder components have the required checkbox you see on for example the text field component.

Let me know if screenshots are helpful. Thank you.

Lokesh_Shivalingaiah
Community Advisor
Community Advisor

Yes, As I mentioned for the classic UI, you need to handle that validation by custom listeners. Also add '*' as part of the label.

bkarel123
Level 2
Level 2

Can you do anything in the touch UI for this or do you have to use javascript to override the front end for touch?