Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Metadata Schema values rules

Avatar

Level 1

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?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

I believe AEM encode the values before it is being used, so shouldn't be any problem.

are you facing any issues?



Arun Patidar

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi,

I believe AEM encode the values before it is being used, so shouldn't be any problem.

are you facing any issues?



Arun Patidar

Avatar

Level 1

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

Avatar

Employee

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

Avatar

Level 1

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!