I want full-text search for multiple Document Types, but only one full-text Custom Query - Public Sector Constituency Web Access - English - Foundation 22.1 - OnBase - external

Public Sector Constituency Web Access

Platform
OnBase
Product
Public Sector Constituency Web Access
Release
Foundation 22.1
License

To achieve this, ensure the user can access the document types, and then set up the custom query. Then, in your client configuration (obpa-config.json), under the searchPanel section, set the “selectedQueryId” to the query you wish to use, “showSingleQuery” to true, and “showDocTypes” to true. Alternatively, you can set “showDocTypes” to false, and then select a specific document type with “selectedDocTypeId” – an example is shown below for both of these.

The first example:

{

"api": {

"url": "http://server/publicaccess/api",

"queryLimit": 0

},

"searchPanel": {

"selectedQueryId": 5,

"showSingleQuery": true,

"showDocTypes": true,

}

}

And the second example:

{

"api": {

"url": "http://server/publicaccess/api",

"queryLimit": 0

},

"searchPanel": {

"selectedQueryId": null,

"showSingleQuery": false,

"showDocTypes": false,

"selectedDocTypeId": 46

}

}