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

Question

Question

LF Client-Search multiple Entry ID's at once

asked on July 21, 2022

Hello,

I know you can use the below syntax in the "Search Syntax" option to search for an Entry ID:

{LF:ID = EntryID}

Is there a way to use this to search for multiple Entry ID's?

I tried the following and received a syntax error:

{LF:ID = 296585,296257}

I tried with a space after the comma and no comma just space and same error:

"Error Message: A syntax error was encountered while processing the search or query statement. [9084]"

I need to run a search against approximately 100-150 Entry ID's

Appreciate the feedback,

Jeff Curtis

0 0

Answer

SELECTED ANSWER
replied on July 21, 2022 Show version history

You can't add multiple values like that, but you can add OR conditions with multiple ids.

{LF:ID = 296585} | {LF:ID = 296257}

However, if you need to this for 100+ entries, I would consider a different approach rather than building a search string with that many operators.

For example, you could feed the ids into a workflow that loops through and uses Find Entry to grab the item directly, then apply a Tag or field value or something to simplify the search.

2 0
replied on July 21, 2022

Thanks Jason

Jeff

0 0

Replies

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

Sign in to reply to this post.