Insert Link From Knowledge Library Index Action

Event Function: InsertLinkFromKLI

The Insert Knowledge Link from Knowledge Library Index action inserts links to one or more labeled sections in a knowledge library at the selected point. When activated, a Knowledge Library dialog box appears, displaying the labeled sections from which to select.

Using the Events tab

Under Enter Example

Run Skip Condition

If desired, enter skip conditions for the event. When the "Run Skip Condition" is evaluated to be true, the action is not performed.

"1"

Database Name

The path and name of the Knowledge Library Index

"c:\Program Files\Caseware\new library\new.dbf"

Dialog Title

The text to appear on the top of the chooser dialog

"Available Notes"

View (Group) Name

The view group to be displayed in the chooser dialog

"Equity"

Filter String

Any additional filters to be applied to the display

"versionno = 1.0"

Insertion Point

A paragraph tag

"inc&retain"

Insert After

A decision to insert the link before the insertion point (yes) or after it (no)

"No"

More

The More button allows for the user to specify three additional parameters.

  • Display included column

    Will add a column in the dialog that is checked for each KL entry that is already in the document and unchecked if it is not.

  • Allow filtering of included entries

    If this is specified to be on the dialog will provide a way to show or hide the KL entries that are already included in the document.

  • Hide included entries

    If this is selected the KL entries that are already included in the document will not be displayed to the user.

Once you select one, you will be presented with the calculation builder which will allow you to specify the value for the action parameter (as a calculation).

The specific parameters for this action are boolean so the calculation needs to resolve to a "Yes" or "No" value.

Syntax (if entering it in the Equation bar)

ACTION("InsLinkFromKLI", expr1, expr2, expr3, expr4, expr5, expr6)

Where

expr1 = entry under Database Name

expr2 = entry under Dialog Title

expr3 = entry under View (Group) Name

expr4 = entry under Filter String

expr5 = entry under Insertion Point

expr6 = entry under Insert After

How the example will appear in the Equation bar

ACTION("InsertLinkFromKLI, "Available Notes","c:\Program Files\Caseware\data\new library\new.dbf", "Equity", "versionno = 1.0", "inc&retain", "No")

Notes

  • Groups and Views are created in the Knowledge Library Index by the designer. If specifying a group under View (Group) Name, all views assigned to that group display. If a non-existent group or view is specified, then all views and groups will display.

Related Topics