Is there any documentation on the Advanced Search Syntax for the Recycle Bin in Laserfiche server 10.1. Use case:
Have workflow query recycle bin each week and send Administrator email with list of items ready to be purged / reviewed.
Question
Question
Recycle Bin LF 10.1 Advanced Search Syntax
Answer
Ah I see the feature now:-
Recycle Bin Search
You can now perform searches for documents in the recycle bin, allowing you to easily locate deleted documents. You can search on many of the properties of the deleted document, including document name, fields, and tags. All users can search for documents they themselves deleted, and users with the Manage Entry Access privilege can search across all documents in the recycle bin. This is especially useful for administrators, who may need to locate an accidentally-deleted document, or identify which documents contain a particular metadata type.
It was the LF 10 release notes, not 10.1. - https://support.laserfiche.com/kb/1013706/list-of-changes-for-laserfiche-10-
Replies
Recycle bin searches support the same syntax as normal searches, except with full text, LF:Lookin & LF:Basic not supported. Set the IsSearchInRecycleBin property on the RepositoryAccess Search object to direct the search to the recycle bin.
Hi Robert,
My apologies for replying to a 6-year old post. Your reply about this property in the SDK is very helpful. Is it at all possible to run a search against the Recycle Bin directly from a workflow, or do we need to have the workflow run an SDK script? The latter isn't an issue, it's just simpler when a script isn't involved.
Thanks
There is no way to inject this option into Search Repository activities. You would have to write your own search query using an SDK Script activity
Hi Lance,
As far as I know it isn't possible to search the recycle bin directly through Laserfiche (unless this has changed in 10, but don't see that new feature in the release notes). You can only search the recycle bin directly within SQL. As for the query, I'm not 100% sure but LF should be able to chime in on that one.
Cheers!
Robert,
Thank you for the reply. To clarify, I want to perform this search using Workflow 'Search Repository' activity. Where do I find the setting: " Set the IsSearchInRecycleBin property on the RepositoryAccess Search object to direct the search to the recycle bin ".
Thank you for your help.