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

Question

Question

Search Based on Metadata

asked on November 4, 2024

This is the current search that I have running.

 

{
  "searchCommand": "{LF:LOOKIN=\"\\Inbound Orders\"}"
}

I want to search in that folder for documents in that folder that have the metadata Customer=VEN02. How would I do that? I tried looking at the documentation for the Search API and found it a bit confusing.

I want

0 0

Replies

replied on November 4, 2024 Show version history

You can also generate the search using the LF Web client.  Start by clicking Search Filters in the Web Client bar.

Click on the Add Filter button

Remove all checks except for the items that you want to include and then click on OK.

After you have added your criteria and run the search, click the vertical ellipsis button and select View Search Syntax.

3 0
replied on November 4, 2024

It is easiest if you use the Laserfiche Windows client to create the syntax for you.  In the LF Windows client, click the large magnifying glass button on the left of the tool bar to open the Advanced Search pane.  Then select the "Customize Search" and remove all checks except for Field, Within Folder, and Search Syntax.  Then click Close.

Once you have the search set up, enter the information that you want to search for and then hit the Search button at the bottom of the pane.  The Search Syntax box will populate with the advanced syntax for your search.  You can then copy the syntax and use it in workflows and SDK applications.

2 0
replied on November 4, 2024

I'm using the web version of Laserfiche, but I'm also putting this search query from a software outside of Laserfiche into Laserfiche. So, I'm trying to get a clearer understanding of the search API as a whole so that I can create my own searches as I don't have a search generator.

0 0
replied on November 4, 2024

Jack,

Since the API uses the same search syntax as the Laserfiche Web Client, you'll want to review the docs for Search Syntax, which does cover all the options, including how to query fields (metadata).

 

Andrew

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

Sign in to reply to this post.