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
BedrockMission!

Learn More

View all

Sign in to view all badges

Metadata Schema values rules

Avatar

Avatar
Validate 1
Level 1
alanas47134608
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
alanas47134608
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
alanas47134608
Level 1

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)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,227 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,356 likes

Total Posts

3,227 posts

Correct Reply

917 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

11-06-2019

Hi,

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

are you facing any issues?

Answers (3)

Answers (3)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct Reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
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

Avatar

Avatar
Validate 1
Level 1
alanas47134608
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
alanas47134608
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
alanas47134608
Level 1

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!

Avatar

Avatar
Validate 1
Level 1
alanas47134608
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
alanas47134608
Level 1

Likes

0 likes

Total Posts

4 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
alanas47134608
Level 1

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