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

Question

Question

Advanced search 6 months before today

asked on February 5, 2018

I need to set up a connector profile that searches for documents that are less than 6 months old. I don't see a way to use todays date in my advanced search. Can this be done?

0 0

Replies

replied on February 5, 2018 Show version history

Hi Kevin,

For today's date, you would want to use the date token under System Tokens when building your advanced search. So your advance search in LF Connector should look something like: 

{LF:Created>"%(DateTime)"} & {LF:Name="*", Type="D"}

Of course, yours may look different depending on other search criteria you define. Hope this helps!

1 0
replied on February 6, 2018

Thank you for your reply.

I tried that advanced search and it says the search parameter is invalid. It behaves the same when I use the %(Datetime) token in the connector XML file.

Am I missing something?

0 0
replied on February 6, 2018 Show version history

There may be a formatting issue between the date collected from the system and how it needs to be formatted in the search, which may be causing your search parameters to be invalid. So depending on the search syntax used, there needs to be a particular format. You can read more about how to change the date token formatting here. Just download the PDF and it will walk you through the XML editing process.

 

If you would like me to review the syntax, please feel free to attach it to this thread!

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

Sign in to reply to this post.