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

SOLVED

Editing Assets Admin Search Rail

jimp38732070
Level 3
Level 3

Adding search predicates for tag lists has worked well.  I have a Language dropdown in the schema that I would like to be able to search against.  Would I create an options list node for those languages and use that node path in the Options field for the Language predicate in the search rail? 

Thanks,

Jim P

1 Accepted Solution
jimp38732070
Correct answer by
Level 3
Level 3

Very good.  Got it working correctly.  I created a node under /apps/dam/options/predicates/language that matched exactly the metadata "value" in the language drop-down contained in the schema.  Using the "Options Predicate" in the search rail and set as below, all works well.  In our case, the language drop-down in the schema had been created with the language name as the title, but the "value" contained the 2 or 4 letter language abbreviation.  We needed to make sure the "value" in the search predicate matched exactly what was in the drop-down.  Seems obvious now but at the time just missed the connection.  Thanks Scott, appreciate your help!

Jim P

1280242_pastedImage_0.png

1280369_pastedImage_1.png

View solution in original post

8 Replies
smacdonald2008
Level 10
Level 10

Please post a screenshot to make it clear what you want to do.

jimp38732070
Level 3
Level 3

I have a field defined in the metadata schema named Language.  I'd like to add this field to the Assets Admin Search Rail so I can search by language.

Jim P

1278830_pastedImage_0.png

jimp38732070
Level 3
Level 3

This is one area the docs are really lean.  One would expect any field in the schema would be easy searchable.  Is there an example anywhere that spells out how a drop-down based field is added to the search rail?

Thanks,

jim P

smacdonald2008
Level 10
Level 10

I am checking internally to see if anyone has written a blog on this subject. I know there are no docs in this use case.

jimp38732070
Level 3
Level 3

Thanks Scott.  If i can get steered in the right direction I'll write up a detailed doc on it.

Thanks again,

Jim P

jimp38732070
Correct answer by
Level 3
Level 3

Very good.  Got it working correctly.  I created a node under /apps/dam/options/predicates/language that matched exactly the metadata "value" in the language drop-down contained in the schema.  Using the "Options Predicate" in the search rail and set as below, all works well.  In our case, the language drop-down in the schema had been created with the language name as the title, but the "value" contained the 2 or 4 letter language abbreviation.  We needed to make sure the "value" in the search predicate matched exactly what was in the drop-down.  Seems obvious now but at the time just missed the connection.  Thanks Scott, appreciate your help!

Jim P

1280242_pastedImage_0.png

1280369_pastedImage_1.png

View solution in original post

srikanth7792
Level 2
Level 2

Hey @jimp38732070  I have same usecase, But when I try to use options predicate I am able to see list of checkboxes in the form instead of dropdown with options. How did u manage to make it dropdown Could you please share your thoughts here.