Creating a Prefix Rule

To create a prefix rule for a organization:
  1. In Resource Manager, in the Folder Tree panel, select the folder containing the organization for which you want to create a prefix rule. The Items panel displays a list of the resource types contained in the folder.

  2. Select Folder (at this level organizations are just another type of folder). The Items panel changes to a list view showing each of the folders and organizations at this location.

  3. Click the organization. The organization details are displayed in the Details panel.

  4. Click the Prefixes tab. Any existing prefix rules associated with the selected organization are displayed in a grid.

  5. Click the Add New Row button to add a prefix rule.

  6. Fill in the fields as follows:

    • Prefix: Enter the prefix to match against the internal name (enterprise name) of each resource. Use ‘%’ to match zero or more occurrences of any character. The prefix must be unique for the resource type.
      By default, prefix rules are not case sensitive, unless case sensitivity was enforced in the database management system when eGain Analytics was installed.

      • Example

        • The prefix ‘%.SAL.ENG.%.ag’ matches:

          • BOS.SAL.ENG.JohnSmith.ag

          • CHI.SAL.ENG.SamirPatel.ag

          • bos.sal.eng.JohnSmith.ag (unless case sensitivity was enforced on installation).

        • It does not match:

          • BOS.SAL.SPA.JohnSmith.ag

          • BOSSAL.ENG.JohnPatel.ag

    • Type: Select the remote resource type the rule applies to.

    • Priority: Enter a numerical value between 0 and 9999 to define the priority for this rule. The priority must be unique for the resource type. If a resource matches more than one prefix rule, the rule with the numerically lowest priority value will take precedence.

      • Example

        • If there are two prefix rules for agents

          • %.SAL.ENG.%.ag (with a priority value of 0)

          • %.%.ENG.%.ag (with a priority value of 9)

      • The agent BOS.SAL.ENG.JohnSmith.ag will match both, but the first rule will be applied because a priority value of 0 takes precedence over a priority value of 9.

    • Enabled: Select to enable the prefix rule, clear to disable the prefix rule.

    • Path: Click to show the folder tree, then select the destination folder where resources that match this rule will be placed on import.

  7. Click Submit to create the prefix rule.

Related Information