Access to system context

The new SystemContext system data dictionary gives letters in Correspondence Management access to information in the current system context. The system context comprises information about the currently-logged in user and active configuration parameters. In particular, the current implementation of the SystemContext DD contains the following DDEs:
  • agentID

  • agentName

  • agentFolder

  • agentSignatureImage

The new agentSignatureImage DDE is a computed DDE representing the agent’s signature image. The expression for this computed DDE uses a new custom function exposed by the Expression Manager building block. This custom function takes agentID and agentFolder as input parameters and fetches the image content based on these parameters.

The value of agentFolder is taken from the CMUserRoot configuration parameter for the Asset Composer configuration service. You can change the value of the CMUserRoot configuration parameter using the Felix configuration UI. By default this configuration parameter points to /content/cmUserRoot in the CRX repository.

You can override the default custom function to define your own logic for fetching the user signature image.

Manage agent images

The administrator uploads all agent signature images at the location to which the CMUserRoot parameter points. Image names must be the same as the userid of the corresponding agents. No file extensions are needed for the image file names.

Correspondence workflow

  1. The form designer adds an image field to the appropriate form layouts. These image fields will hold the user signature image.

  2. At the time of creating a letter, the subject matter expert (SME) selects a form layout that contains an image field to display the user signature image.

  3. In the Data Editing view, the subject matter expert selects an image field for the signature image. She follows these steps:
    • Select System from the Linkage Type drop-down menu in the right pane.

    • Select the agentSignatureImage DDE from the list in the Data Element panel for the SystemContext DD.

    • Save the letter.

  4. When the letter is rendered, the agent can see her signature in the image field.

// Ethnio survey code removed