Skip to main content
Skip table of contents

Category Definition

The category definition screen allows you to define all the properties and attributes related to a single category. These attributes affect things such as how the category is used, the type of data that is stored by the category, and how data is manipulated by the system.

To add a new category:

  1. In the relevant application setup section (For details, see Application Setup Overview), find the level where you want to add the category. For example, to add a new Address category, select Administration > Company Setup > Case Categories > Address (A) Categories.

  2. Click the New Category button on the banner. The system displays a list of the unused categories within the selected data element.

  3. Select the category that you want to use, then click the Add button to continue.

To delete a category:

When categories and codes are no longer needed, we recommend that you consider making the category and codes inactive rather than deleting them. Inactivating prevents a code from being used on any new data entered into the system but preserves data for historical and reporting purposes.

  1. In the relevant application setup section (For details, see Application Setup Overview), find the level where you want to delete the category. For example, to delete an Address category, select Company Setup > Case Categories > Address (A) Categories.

  2. Select the category that you want to delete.

  3. Click the Delete button. A confirmation dialog displays. If you choose to delete the category, any related category codes, migrations, migration codes, and dependent codes are also deleted.

  4. Type "DELETE" in the text box.

  5. Click the Delete button.

Category Fields

Every category definition contains the following fields:

General Category Settings

Field

Description

Category ID

The predefined Category ID. This field is not modifiable.

Active

This flag must be selected for this category to be used on a window or screen. Clearing this flag will cause the field to behave as if it were of type "String," which may have undesirable results.

Type

Defines the type of data that will be stored by this category. For information about the available types, refer to Category Types.

Sensitive Data Type

Defines the type of sensitive data for this category.

Table Column

This field contains the name of the database table and column where this value will be stored. This value is defined by the system and is not modifiable, except for type "O" categories which can be changed.

Same as Company ID

Same as Category ID

Sometimes it is desirable to have multiple categories that all share the same set of possible values (codes). In that case, you can define all the codes under one category. On the other categories, you set these two fields to point to the company ID and category ID whose codes you want to use.

(info) If the Same as Category includes translations, you must select the Requires Translation check box on the Category definition of each category to include the translations

Same as Name

If the previous two fields are filled in, this field will be automatically populated with the name of the Same As category.

Category Name

This is the name that will be used to refer to this category within the system, while browsing, and on reports. For consistency and clarity, the Name and the Window Label are usually, but not always, the same.

Appearance Settings

Field

Description

Category Heading

This is the name that will appear as the column heading when this category is used in a table view on a window.

Category Label

This is the name that will appear as the label next to the field when this category is used on a window.

Description 1 Label

Description 2 Label

Description 3 Label

If you will be defining codes for this category, each code can contain up to three descriptions. The first description is typically labeled "Description," and is the general description of the code. The other descriptions can be used for any purpose that may be necessary.

Display Mask

This field works in one of two ways:

  • For String data types, it determines the way data is displayed after being entered into the field.

  • For Category Code data types, this field determines how codes are formatted when they are displayed in the code browse window.

For more information, see Category Display Masks.

Prefix Search Display

This field is similar to the Display Mask field, except that it is only used when displaying the results of a partial code browse. For details, see Codes and Browsing, section Entering Partial Codes.

(info) Data in the browse results will be sorted alphabetically based on the displayed information determined by the display mask.

Data Entry Settings

Field

Description

Default Code

Enter a value that will be automatically entered on all new cases where this category displays as a field.

Special Settings for Dates

For date fields, there are some special values that can be used (be sure to include the square brackets):

  • [today]: This will default to the current date. If the field includes a time component, the time will be set to 00:00:00.

  • [now]: This will default to the current date and time.

  • [+XXX] or [-XXX]: This will default to the number of days that should be added or subtracted from today's date. For example, use [+4] to add four days to today's date. Use [-2] to subtract two days from today's date.

Special Settings for Phone Type Codes (I01)

For phone type codes, you can include a semicolon separated list of values that defines the default set of phone types to be used when creating a new address record.

Example: Home; Work; Mobile

InfoCenter Code

This allows you to associate an InfoCenter entry with this category. The most common use of this feature is to attach information which can be viewed by other Emplifi Agent Administrators, with detailed information which may help them when maintaining this specific category.

Access Restricted

Denotes that this is a Protected Category. Only users who have a special permission can maintain codes in this category. For more information, see Protected Categories Overview.

Requires Translation

This applies only to "Code" and "Code+Table" category types. When selected, the following must be supplied for every language in your environment:

  • Translations at the category level for the Category Name, Label, and Heading. For more information, see Category Definition, section Translations.

  • Translations for every code within the category for Description1 (and Description2 and Description3, if applicable). If a translation is not supplied for a language, the code will not be presented as an option to users of that language. For more information, see Code Definition, section Translations.

If a translation is provided for the code, when the description of the code is referenced (for example, in layouts or reports), the translated description will be shown instead of the base language description.

(info) For Same as Category IDs, this check box must be selected on the category definition of each category to include any translations.

Character Length

This field determines the length of values that can be entered for this category. It has slightly different effects depending on the selected data type:

  • Code (or Code+Table): The maximum length of codes that can be created for this category.

  • String: The maximum string length that can be entered into the field.

  • Integer: Total length of the integer. The system will right-justify the entered value after the user tabs out of the field. Therefore, we recommend that you set a length that seems reasonable for the category.

  • Numeric: This is the total number of numeric characters that can appear in the field. Since there are always two digits to the right of the decimal, this value must be at least 3. The system will automatically round any decimal value that is greater than two digits.

Prefix Search Length

This is the minimum number of characters that must be entered into a field before a partial code browse will be initiated. This can be used to prevent users from only entering one or two characters in a field that may return thousands of possible matches. Generally speaking, the greater the number of codes contained in a category, the larger you want to make this field.

If the value entered is either 0 or null, no partial code browse will be performed for this category.

Desc. Prefix Search Length

When a partial code browse is initiated, the system will attempt to search by description if no matching codes are found. This is the minimum number of characters that must be entered before a description search will be attempted by the system.

If the value entered is either 0 or null, no description search will be performed for this category.

Number of Levels

If the Category Type (For details, see Category Types) is either "Category Code" or "Code+Table," this defines the number of levels in the code hierarchy. The hierarchy can be up to 6 levels deep.

Though it is possible, this value cannot be easily changed once codes have been added to the category. For more information, see Changing Levels in a Category.

Capitalize Type

This option determines whether codes for this category will be automatically capitalized. The options are as follows:

  • None: The capitalization of codes will be unaffected.

  • Set All Upper: Codes will be set to all upper case.

  • Set All Lower: Codes will be set to all lower case.

  • Force Mixed: The first letter of each word will be capitalized. Remaining letters will be set to lower case. Sometimes also referred to as "Proper Case."

  • Optional Mixed: The first letter of each word will be capitalized.  Remaining letters will be unaffected and may be upper or lower case.

(info) For codes defined with a Type of "Category Code" or "Code+Table" and a Capitalize Type set to "None," duplicate codes may be created due to inconsistent use of capitalization when entering the Category ID. We recommend setting the capitalization type to either "All Upper," "All Lower," or "Force Mixed." This will eliminate a code from being added more than once due to difference of capitalization.

(info) Changing the Capitalize Type on an existing category does not automatically change existing codes. Only new codes will be affected by the new capitalization rule. This discrepancy could cause issues with searches and code browsing. Therefore, it is not advisable to change this value on existing categories.

Desc. Capitalize Type

This option determines whether automatic capitalization will be used with code descriptions for this category. The options are the same as those available for Capitalize Type.

Trim Type

This option determines whether spaces will be automatically removed (trimmed) when creating new codes for this category. The options are as follows:

  • Both Trim: Leading and trailing spaces are removed from the code. This is the default setting.

  • Trim Extra Spaces: In addition to removing leading and trailing spaces, any multiple spaces will be condensed to a single space.  Example: "Test  Code" will be changed to "Test Code."

  • Trim All Spaces: All spaces will be removed from the code.

Insert Type

This option determines what happens when a user tries to enter an invalid code.

  • No Auto-Insert: The user will be informed that the entry is invalid, and the entry will be disallowed.

  • Auto-Insert: A new code will be created automatically with the entered value.

  • Prompt for Insert: The user will be informed that the entry is invalid, and they will be asked if they want to create a new code using the entered value.

Minimum Value

This option is available when you choose one of the following category types:

  • Date(mm/dd/yyyy)

  • Date(mm/dd/yy)

  • DateTime

  • System DateTime

  • Real DateTime

The Minimum Value field allows an administrator to choose a "Fixed" or "Relative" minimum date. The default value is “No Minimum”.

When the value is set to “Fixed”, the administrator can choose the date and time by selecting the Calendar icon.

When the value is set to "Relative", the administrator can select the number of hours, days, weeks, months, or years before the current date and time.

Maximum Value

This option is available when you choose one of the following category types:

  • Date(mm/dd/yyyy)

  • Date(mm/dd/yy)

  • DateTime

  • System DateTime

  • Real DateTime

The Maximum Value field allows an administrator to choose a "Fixed" or "Relative" maximum date. The default value is “No Maximum”.

When the value is set to “Fixed”, the administrator can choose the date and time by selecting the Calendar icon.

When the value is set to "Relative", the administrator can select the number of hours, days, weeks, months, or years after the current date and time.

Case Usage

These settings affect how the category behaves when used on the Case window or during entry of a survey. For information about mandatory fields, see Mandatory Fields Overview.

Field

Description

Save Mandatory

When this option is selected, a case cannot be saved unless the user has entered a valid value for this field.

Close Mandatory

When this option is selected, the case status cannot be changed to Closed until the user has entered a valid value for this field.

Highlight Important

Indicates that this is an important field that should be highlighted when it displays on any of the case windows. The field is still optional for the agent.

Include Description 1, 2, or 3

Select Include Description 1, 2, or 3 to show the description on the Case page. You must use the Layout Editor to retrieve the selected descriptions and display them on the Case page.

(warning) An excessive number of descriptions can impact performance when opening and saving a Case.

Special Search Functionality and Code Search Order

Field

Description

Text Search Defined

Select this check box to allow the creation of the Text Search word lists. Selecting this check box indicates that the category is set up to use the Category Code Text Search. This does not initialize the Category Code Full Text Search in the database, which must be set up in the System Setup area of the Emplifi System Manager.

You must select this check box to allow Category Code Text Search for case code validation and to include the category in the Category Code Text Search Utility.

Text Search View on Hover

When this check box is selected, it allows agents to see additional information about a code when browsing. An agent can hover over a code and see details about the code from the application setup section. For details about Application setup, see Application Setup Overview.

Confirm Unique Matches

Select this check box to enable the automatic display of the searchable word list when Category Code Text Search finds a unique match.

Enable Type Down

When this check box is selected, a code browse displays while an agent is typing in a category field.

(info) If the agent types less than the prefix search length, no code browse displays. If the length of text is greater than or equal to the prefix search length and there are no codes that match the text, a code browse does not display.

Code Browse Sort Order

Field

Description

sort code level

Select the automatic sorting order for codes from the list. This field setting only impacts the user when browsing the category. This does not impact partial search results.

Code and description searches are ordered based on the Partial Browse Sort Order field on the Configuration: Code Browse page.

Code text searches are ordered based on the code text match. For more information, see Category Code Text Search Overview.

sort folder level

Select the automatic sorting order for folders from the list.

Code Search Order

Field

Description

First

Second

Third

Fourth

In the First through Fourth fields, select the code search order.

The options for each drop down are: None, Code, Description 1, and Text Search.

If a search order is not selected, the default search order is Code and Description 1.

Translations

If you support agents in multiple languages in your environment, you can enter translations for some of the category fields in each of the languages you support.

The Translations section of the screen will already contain one line for each of the Language ID that is defined in your system. You can then optionally enter a translation for Category Name, Category Label, and Category Heading.

For agents who are set up to use a specific Language ID, they will see the appropriate translation if it is available. If a given translation is not available, the agent will see the standard value.

After entering or changing values, you must regenerate window layouts before the changes will take effect. For more information about how to generate a layout, see Generating a Layout.

Sub Codes

You will only see this section if the category type is either "Code" or "Code+Table." It shows all the child codes (or subfolders, depending on how many levels are defined within the code hierarchy) within this folder. From here you can easily select one or more codes to be deleted.

You can also easily change the Active flag or the Display Sequence of all the codes at this level, rather than having to open each individual code and change it. Click the Update Display Seq button to reassign the display sequence based on the current sort.

Text Search Tab

The Text Search tab has a single text edit control that allows manual maintenance of the searchable word list associated with the category code. For more information, see Category Code Text Search Overview.

Carriage returns and tab characters are not allowed. If they are used, when exiting the edit control, or when saving, a message displays that “Tabs and Carriage Returns are not allowed”. When you click the OK button, all the tab and carriage returns are removed from the entered text.

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.