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?
Question
Question
Replies
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!
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?
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!