Metadata Schema values rules

alanas47134608

10-06-2019

Hi,

I'm working with the DAM in my version of AEM and I've created metadata schemas for some folders in which I've added dropdown fields with different values a user can select to add to their file's metadata. I'm wondering, is it okay that these values have special characters and spaces in them? For example, we have one value has both its display text and value as, "Aerospace & Defense." Has anyone run into this issue?

Accepted Solutions (1)

Accepted Solutions (1)

Answers (3)

Answers (3)

berliant

Employee

11-06-2019

Text and value can be different. As such, if you have text as "Text 1" and value as "Value1 & value1" in a Touch UI it will presents Text1 and in JCR it will be  "Value1 & value1"

1770351_pastedImage_0.png

alanas47134608

11-06-2019

Hi berliant​,

Oh great - thank you for the explanation and images. So it seems like whether I keep the text and value the same or different is optional depending on how I'd like it to appear in the JCR. I also see again, via your example, that an ampersand in the value works fine!

alanas47134608

11-06-2019

Hi Arun Patidar,

Thank you so much for replying! I have not had any issues and the system seems to be taking the value just fine when I select it in the activated schema.

If you wouldn't mind answering one more question, I'm wondering, do you know if the option text (top) and option value (bottom) should be the same? I assumed yes, hence using a special character in the value.

Screen Shot 2019-06-11 at 7.47.27 AM.png