You are viewing limited content. For full access, please sign in.

Question

Question

What is the LFQL syntax for selecting multiple templates?

asked on December 24, 2014

Using Version 8.3, the following c# code works:

var lfSearch = new Search(lfSession);

lfSearch.Command = "{[Template1]}";

lfSearch.Run();

 

Now I would like to create an OR condition on 2 or more templates.

I've tried the following without success:

lfSearch.Command = "{[Template1]|[Template2]}";

lfSearch.Command = "{[Template1]}|{[Template2]}";

 

Any guidance is appreciated.

0 0

Answer

SELECTED ANSWER
replied on December 24, 2014

That's not LFQL, it's just a regular search. {[template1]}|{[template2]} should do it. What results are you getting with it?

2 0

Replies

replied on December 30, 2014

Thank You Miruna. After your suggestion I retried the query and realized I had an additional filter checked in the "Customize Search" area of LF Client. I thought it would only execute what was in the Advanced Search area. All is working as expected now. Thanks.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.