Adding entity badges

Add entity badges to create a visual representation of details and properties for contacts.Entity badges display in the contact banner of a contact's profile in the Contacts workspace.
To specify conditions for entity badges, knowledge of the Scheme programming language and the EntityBadge class is required.
To add an entity badge:
  1. Navigate to the Entity Codes page.
  2. In the Badges tab, click the Add button .
    The Add Badge Configuration dialog opens.
  3. In the Description field, enter a description of the badge.
    The description displays only in NexJ Admin Console.
  4. In the Tooltip Text field, enter a descriptive name for the badge.
    The name displays in a tooltip when a user hovers their cursor over the badge in NexJ CRM.
  5. In the Icon field, specify an icon to display for the badge in NexJ CRM. To choose an icon:
    1. In the Icon field, click the Select button .
      The Select Icon dialog opens.
    2. Select an icon to use for the badge, then click OK.
      The Select Icon dialog closes.
  6. In the Expression field, write an expression in Scheme code for the conditions that an entity must satisfy for the badge to display on the entity's profile.
    The expression is relative to the EntityBadge class. For example, use the expression (= (@ entity tier caption) "A") to display the badge on tier A contacts.
  7. Select Active to activate the badge in NexJ CRM.
  8. In the Reference Name field, enter a reference name for the badge.
  9. Click OK.
    The Add Badge Configuration dialog closes.
The new entity badge is created. If Active is selected, the badge now displays on contact profiles.