01-13-2016 07:20 AM
Hi guys,
I need to run a Custom query behind ths scene with OnBase API.
I need to do an OR operation for the same KW into mzSetQueryKeyword If I call it 2 times it will be an OR or an AND ?
Like
myapp.mzSetQueryKeyword(qryHdl,"VendorID",1, MZ_EQUAL)
myapp.mzSetQueryKeyword(qryHdl,"VendorID",2, MZ_EQUAL)
It will find VendorID 1 AND 2 or 1 OR 2
Thanks
01-13-2016 08:30 AM
Hi Carl
Unfortunately, there is not a way to perform OR Operators within the Thick Client API. As a workaround, you can perform multiple DocumentQueries to emulate the OR Functionality.
01-13-2016 08:30 AM
Hi Carl
Unfortunately, there is not a way to perform OR Operators within the Thick Client API. As a workaround, you can perform multiple DocumentQueries to emulate the OR Functionality.
01-13-2016 09:18 AM
01-13-2016 09:45 AM
In the case of the Thick Client API, it would not be possible to display all Documents in the system. It is possible to utilize OR functionality within the Unity API. The example above is in regards to the Unity Client Automation API, which is not an equal representation; I would recommend looking into the use of the DocumentQuery Object within the Unity API in the OnBase SDK.
Additionally, I would highly recommend against returning all Documents in a System within a Single query, regardless of the API. This will utilize a large amount of resources to complete the query based on the number of documents returned; in short, it will not be performant and have a high possibility to cause further issues. It is recommended to utilize constraints to limit the amount of results that are returned to just the Documents needed.
01-13-2016 09:56 AM
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.