Creating a Custom Deployment Application

By creating a custom application you can take full advantage of HTML, XML, JavaScript, style sheets, and other features of Web design. When layoutType=custom, the customDir variable in the camconfig.properties file can specify a user-defined directory which will be used instead of the Attachmate default. This must be in the following directory structure:

MCS_install_root/components/PresentationBuilder/camconfig/customDir/locale
Note A common error when creating custom directories is to exclude the locale directory, such as en for English. If a client attempts to access a custom myAccess Links page with an unprovided locale, the default myAccess Links page will be presented.

The safest way to create a custom myAccess Links page is to begin by copying the default myAccess Links page files located in MCS_install_root/components/PresentationBuilder/camconfig/basic/en to a customDir/locale directory. This method will copy the necessary XML code required to properly access presentations managed by the MCS. You can then modify the copied myAccess Links page in your custom directory per the requirements of the user.

Note Before editing the properties file, we recommend that you first make a back-up copy for safekeeping.
To create a custom application
  1. Using any standard text editor, open the text file camconfig.properties, from the following directory:

    MCS_install_root/components/PresentationBuilder/camconfig/

  2. Change the following values:
    For the variable
    Change the value to
    layoutType custom
    customDir the name of your custom directory
  3. Save and close the camconfig.properties file.

  4. Create the following:
    Under the directory structure
    Create
    MCS_install_root/components/PresentationBuilder/camconfig The custom directory named as the value of customDir.
    MCS_install_root/components/PresentationBuilder/camconfig/customDir The locale directory (en for English).
  5. Copy the contents of MCS_install_root/components/PresentationBuilder/camconfig/basic/en to the directory MCS_install_root/components/PresentationBuilder/camconfig/customDir/locale, including all files and any subdirectories.

  6. Modify the copied myAccess Links page in the customDir directory using any standard Web development tools.
    Note You will need to duplicate any changes you make to prominent features, such as filenames, in the camconfig.properties file.
Note To safeguard the integrity of the presentation, MCS inserts an external header and/or footer into html table elements, and then "prepends" the header and appends the footer to the presentation.

To use external headers and footers that contain only scripting code intended to interact with the various components of the presentation, in the camconfig.properties file you can set the value for putExternalHeaderFooterInTable to prevent external files from being placed into an html table.

Related Topics
Bullet Customizing the myAccess Links Page, Overview
Bullet Changing the Basic Colors
  Attachmate