Asset Listing Based on Metadata Field Value


(Oliver Kass) #1

Hi,

 

I'm trying to create some asset listings on our site that are based on a specific metadata field and it's text value. It's a free text field so I need to be able specify the exact text the listing should be referencing. The listing also needs to be able to pull through pages from multiple sections of the site.

 

So for example if I wanted to pull through all standard pages with a meta name of Squiz:

 

The listing should be able to first look at field custom.name.tag then search for any instances of "Squiz" in custom.name.tag.

 

I can get close to what I want to achieve by using search folders but as this is reliant on searching across content rather than just a specified metadata field I need to manually exclude certain assets from the listing before publishing.

 

Any ideas on the best way to do this? Any help would be much appreciated.

 

Thanks

 

Oli

 

 

 


(Anthony) #2

Hi Oli,

From what you describe I think you do need to use the search asset rather than an asset listing. You can configure it to match on specific asset attributes including metadata values.

Another technique I have used successfully myself is to set link values for assets I want to filter on, rather than use metadata. Thats the one thing an asset listing does allow you to filter on (its on the details screen, specify link value matching)

Tony


(Nic Hubbard) #3

Yeah, like Anthony said, and use a Stored Search.


(Oliver Kass) #4

OK thanks guys, will give the search asset a bash and see how I get on.

 

Oli


(Oliver Kass) #5

Happy to report that works a treat. Thanks again.