Knowledge View Operations

Knowledge Views are a collection of related objects based on categorization or other criteria. They can be made available to either authenticated or anonymous users depending on the permissions. In addition to displaying Knowledge Views in the UI, such in a workspace or Dashboard portlet, Knowledge Views can be accessed directly via a URL, and can be used to prompt processes on a manual or scheduled basis.

Knowledge View URLs for External Access #

A Knowledge View is represented by a URL that can be displayed outside of the BP Logix environment. The URL for a Knowledge View can be sent in an email, displayed in a web portal, or added to an existing web site. The URL format for an individual Knowledge View is:

https://ServerName.com/kv.aspx?ext=1&id=NN

Where ServerName.com is the hostname of BP Logix and NN is the internal ID displayed in the Knowledge View definition you want to use (e.g. ID=ea1f7d30-2c44-4971-ac8a-4654ae2521ff).

An additional URL parameter, "gkview", can be used to enable a Global Knowledge View to be displayed using the Knowledge View name instead of the ID, but it can only be used to return Global Knowledge Views that are Task Lists, e.g. kv.aspx?gkview=Task List.

For user of Process Director v5.37 and higher, a URL Parameter, "canceltext", can be used on a Task List URL and will display the configured text in an alert box when a user clicks on the Cancel button on the form.

https://ServerName.com/kv.aspx?canceltext="You clicked the Cancel button."

Passing Filter Values in the URL #

The Knowledge View can be opened using a URL that is placed on a web site. If the Knowledge View is configured with Filter, you can pass this filter information to the Knowledge View on the URL. Simply set the desired filter result as a variable, then enter the variable name you'd like to use in the URL parameter like the example below:

Alternatively, you can use a String for the filter, and use the syntax {VAR:VarName, modifier=ModifierValue} to use additional formatters/modifiers for the variable.

Once the variables have been configured, you can pass the desired values via the URL parameters using this syntax with the query string parameters:

https://ServerName.com/kv.aspx?ext=1&id=NN&var1=abd&var2=123

This configuration uses the Variable object in the same way as Form Definition URLs.

Important Sometimes, variables must be passed through multiple objects before reaching a Knowledge View, or other object. For instance, you may have a Form that calls a Chart, which, in turn, calls a Knowledge View via a drill-down. The data on the Form is passed to the Chart via a variable that is accessed using the normal {VAR:ParmName} syntax. However, when the chart does a drill-down to a Knowledge View, the Knowledge View does not have access to the original {VAR:ParmName} variable. Instead you need to append two underscores and the number "2" (__2) to the variable name, e.g. {VAR:ParmName__2}. When you do so, Process Director treats the "{VAR:ParmName__2}" in the in the Knowledge View as a pointer to the original value for {VAR:ParmName}, so that the proper value is automatically available to the Knowledge View.

Knowledge View Formatting #

Each Knowledge View can implement a different look and feel by using the HTML Code property in the Configure tab of the Knowledge View definition. This property enables HTML formatting to be applied to the top of the running Knowledge View. The Knowledge View window can also be framed in HTML frames and use a custom style sheet (CSS). You can also display the Knowledge View in a form by using the Knowledge View control.

Running Processes on Knowledge View Results #

Processes can be run on the results of Knowledge View using two different approaches. One approach will automatically run a process on every item returned, the other approach allows a user to click on a special column to run a process on the selected item.

Scheduling a Knowledge View #

Knowledge Views can be used to run a process on each of the objects returned by the filter criteria. This can be used, for example, to archive or delete forms or documents that match a certain criteria. Or it can be used to schedule a document review for documents that meet certain criteria. The criteria can be any Knowledge View filter criteria including last updated time, creation date, or any form field data. The actual process run on each object can perform any action or task.

Knowledge Views can also be used to export results into Excel, CSV, or PDF format. By scheduling this type of Knowledge View, a report will automatically be generated and can be written to a specific path on the server. This folder, for example, can be monitored by the BP Logix import utility, to automatically run a process on the reports. This process can, for example, automatically distribute the report to a pre-defined group of users.

These Knowledge Views can be run manually, or scheduled to perform an automatic actions. To schedule these Knowledge Views, a web page is run.

Important Each of the above methods use the bpUserID and bpPassword parameters. Be advised that using the bpUserID or bpPassword parameter requires sending the User ID and Password in clear text, so be mindful of the security implications of transmitting these values.