How to Create and Insert Field Codes
Using Field Codes includes:
Creating Field Codes
From the Knowledge Manager browser window:
- Select the language and Field Codes from the drop-down menus.
- Click New.
- To configure your new Field Code, enter the properties you need in the Field Code configuration pane and then click Save.
The new Field Code appears in the Category Tree pane. You can edit a Field Code anytime by double-clicking it in the Category Tree.
- Enter a name and (optionally) a description for the field code.
- Select System and/or Custom variables from the drop-down lists.
- Click Insert to populate the text box with the selected variables.
The New custom variable dialog box opens, as shown in "New Custom Variable".
-
Enter a name (required) and description (optional). Observe the restrictions (see See The names of custom variables must begin with an alphabetic character or underscore, and the remainder of the name must consist only of alphanumeric characters or underscores. This differs from the requirements for the names of other Knowledge Manager objects, which may also contain hyphen and space. For example, 5-usercode is not an acceptable name for a custom variable, but it is acceptable as the name of a screening rule or category.) on custom variable names.
-
Select a type (String
or Integer).
-
Enter a default value (required). This value is rendered when you click Check Field Codes in the Standard Response Editor (see Step 4 in Creating and Editing Standard Responses).
-
Click Add.
-
You can also use this dialog box to edit and delete existing custom variables. Click OK to return to the New Field Code dialog box.
Next Steps
Inserting Field Codes into a Standard Response
- On the Categories tab, do one of the following:
- Double-click a standard response. The Edit Standard Response dialog box opens.
-
Right-click and select New. The New Standard Response
dialog box opens.
-
These two dialog boxes are identical apart from their titles. The figure "New Standard Response" shows New Standard Response.
Important
Standard Responses that are intended for use in FAQ objects should not contain field codes.Next Steps
-
Examine the use of field codes in Field Code Examples.
Comments or questions about this documentation? Contact us for support!




