Modifying the Current Session Panel

The current session panel displays the current customer's information. As a result the current session panel is modified or replaced frequently so that it provides information more closely tied to customer requirements.

The information displayed is limited to what can be queried from the session node object passed by the Session Explorer. The session node is queried for the values, including the display name, first name, last name, phone number, and current application. These values are placed in an XML format as shown in the following example.

<csappdetails appid='2'>
    <customerdetails>
      <displayname><![CDATA[Elizabeth Maeve - (252) 210-0456]]></displayname>
      <firstname><![CDATA[Maeve]]></firstname>
      <lastname><![CDATA[Elizabeth]]></lastname>
      <phonenumber><![CDATA[4252210456]]></phonenumber>
      <openapps>
        <app><![CDATA[Microsoft Web]]></app>
        <app><![CDATA[Stock Application]]></app>
      </openapps>
      <currentapp><![CDATA[Stock Application]]></currentapp>
    </customerdetails>
  </csappdetails>

The appid is added to the root node as an attribute so that it can be used as a filter if different templates are used for different applications. In the XML example, the XSL style sheet is referenced and saved locally in the user's Temp folder. The Web browser control navigates to the saved XML file. The URI for the style sheet is fetched from the Options table in the CcfInfrastructure database. You can edit the XSL template to change the presentation and layout.