cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Standard OnBase Text Search Capability to Application Enabler Unity Document Retrieval Viewer

Stephen_Beck
Star Contributor
Star Contributor

We have a user who is retrieving documents using Application Enabler.  This user is searching for documents based upon an account number that is scraped from a third-party screen using a scrape event.  The result is a hit list of documents in a Unity retrieval viewer.  The user would then like to refine this search further by performing a standard OnBase text search (the documents in the list have all been OCR'ed).  This currently is not doable with the standard Application Enabler document retrieval viewer. Would it be possible to add a text search tool to the viewer through an API?

Thanks,

Steve Beck

1 ACCEPTED ANSWER

Zhengxin_Guo
Confirmed Champ
Confirmed Champ
Hi! Stephen,
There is a Unity Script “IApplicationEnablerScrapeEventScript” that you could use to achieve your goal. But it’s kind of hacky though.

In the script, you could extract the search criteria from ScrapeEvent.XmlDocument and prompt a window form (or just text box) to the user to get the Full Text Search String. Then you do the document query and generate ShowDocumentListAction Upop link with the result via the Unity APIs.  Start a process with the Upop link to show the document list. At the end of the script, don’t forget to set ScriptResults to be COMPLETED to avoid getting into Application Enabler again, since you decide to show the list through Upop.
If Application Enabler document retrieval supports the full text search(As far as I know, it doesn’t), then you could just modify ScrapeEvent.XmlDocument to including the text search string entered by user and pass the ScrapeEvent result forward to Application Enabler to do the document query.
Hope this helps.
Thanks!

View answer in original post

1 REPLY 1

Zhengxin_Guo
Confirmed Champ
Confirmed Champ
Hi! Stephen,
There is a Unity Script “IApplicationEnablerScrapeEventScript” that you could use to achieve your goal. But it’s kind of hacky though.

In the script, you could extract the search criteria from ScrapeEvent.XmlDocument and prompt a window form (or just text box) to the user to get the Full Text Search String. Then you do the document query and generate ShowDocumentListAction Upop link with the result via the Unity APIs.  Start a process with the Upop link to show the document list. At the end of the script, don’t forget to set ScriptResults to be COMPLETED to avoid getting into Application Enabler again, since you decide to show the list through Upop.
If Application Enabler document retrieval supports the full text search(As far as I know, it doesn’t), then you could just modify ScrapeEvent.XmlDocument to including the text search string entered by user and pass the ScrapeEvent result forward to Application Enabler to do the document query.
Hope this helps.
Thanks!