Configuration settings - Scripting (Repairs Diagnostic - Assets)

Document data
Document Date: 9 May 2006 - revision 3
Keyfax version : 3.2.0.0 (or greater)
Software required: IIS 5.0+, Internet Explorer 6.0+, SQL Server 2000+
User skill requirements: NT administration. SQL Server DBA. IIS configuration. NT security policies. MSXML editing.
Author: Technical Services keyfax@touch-base.com

KF_config.xml - 'configuration/Scripting/RD/Asset' section

The configuration/Scripting/RD/Asset section of the Keyfax KF_config.xml file contains settings for Assets within Repairs Diagnostic.

<Asset>
  <SQLforXML>\\webprod1\prodsites\KFc32\xml\KF3_contracts_sql.xml</SQLforXML>
  <Admin>\\webprod1\prodsites\keyfax32\xml\KF3_admin_asset.xml</Admin>
  <Template>\\webprod1\prodsites\Keyfax32\xml\KF3_asset.xml</Template>
  <TreeXSLfile>\\webprod1\prodsites\Keyfax32\xsl\KF3_assettree.xsl</TreeXSLfile>
  <ItemXSLfile>\\webprod1\prodsites\Keyfax32\xsl\KF3_assetitem.xsl</ItemXSLfile>
</Asset>

Explanations of these settings as follows:

  • SQLforXML
    Keyfax Contact Centre Lite (CCLite) can pass asset data to Keyfax Repairs Diagnostic if specified in the Asset/SQLforXML item.
    This should be an SQL statement which outputs XML in place of a recordset, which is then rendered with an XSL transformation.
    Note: The XML can be in any format, but Omfax recommend that the XML is formatted using the "FOR XML EXPLICIT" command to simplify the structure to Element based data.
    See example file: KF3_contracts_sql.xml which fetches related repair contractors for the required property (sample saved as a text file to preserve formatting).
  • Admin
    The Keyfax Administration console displays a selection 'tree' for Script asset 'lookups'. This represents the schema of the Asset information passed via the host application to Keyfax RD with the start-up XML.
    This template renders the asset navigation 'tree' in the Administration Console when an Asset related lookup is required.
    Note: This template must match the schema used for the provided XML asset information.
    See example file: KF3_admin_asset.xml (this template matches data generated with above SQLforXML query).
    Backward compatability: If a file is specified but not found, the default 'Property.kdt' file from the KFAdmin32.exe installation folder will be used.
  • Template
    An XML file which defines the design of the asset tree displayed in the layer 5 (Property) within Repairs Diagnostic.
    See example file: KF_asset.xml.
  • TreeXSLfile
    An XSL transformation template to render the asset tree displayed in the layer 5 (Property).
    See example file: KF3_assettree.xsl.
  • ItemXSLfile
    An XSL transformation template to render the asset value(s) displayed in the layer 5 (Property) when an asset tree item is selected.
    See example file: KF3_assetitem.xsl.