Get documents by tag

Posted by Community Admin on 05-Aug-2018 09:59

Get documents by tag

All Replies

Posted by Community Admin on 10-Dec-2010 00:00

Hi
 
Can you folders the download list by tag and library? If not, how do you us the API get documents by tag and library name?
 
Eg. I want all documents tagged with "birds" in the "flying" library.
 
Cheers

Posted by Community Admin on 10-Dec-2010 00:00

Hello Webinsite,

When you open the control for editing you should go to Home > ControlDefinition > Views > MasterListView where you will find two properties

ItemsParentId - here you should set the library ID
FilterExpression - here you can filter by tag, but you should know the ID again.

sample

Tags.Contains("4EEA167D-71D0-4332-9057-D550E2738076")  AND Visible = true AND Status = Live AND PublicationDate <= DateTime.UtcNow AND (ExpirationDate = NULL OR ExpirationDate > DateTime.UtcNow)


All the best,
Ivan Dimitrov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.

This thread is closed