Loading a Database Alias from a File - Advanced Design and Setup - Foundation 23.2 - Foundation 23.2 - Ready - Content Composer - external

Content Composer Advanced Design and Setup

Platform
Content Composer
Product
Advanced Design and Setup
Release
Foundation 23.2
License

An XML file with the required structure. For information on how to create such a file, see "Exporting a Database Alias" in the Content Composer Studio Help.

Note: To load the database alias object from a local file, the alias must reside in the repository system even if it is not to be loaded from there. If a database alias loads from a file, the action is traced by a corresponding message logged at Information level.

To load a database alias from a file, complete the following steps.

  1. From the %Composerdir% directory, open Composer.Studio.exe.config with a text editor that supports UTF-8.
  2. Search for the line that begins as follows.
    <add key="loadDbAliasFromLocalFile"
  3. Complete one of the following substeps.
    • To load the database alias from a local file, set the value attribute to TRUE.
    • To load the database alias from the repository, set the value attribute to FALSE.

    Example

    <add key="loadDbAliasFromLocalFile" value="TRUE" />
    Note: The default value is FALSE.
  4. Search for the <configSections> element.
  5. Within the <configSections> element, add the following line.
    <section name="mlsdatabase" type="ComposerSuite.Common.SystemFramework.AliasConfigurationSection, ComposerSuite.Common.SystemFramework"/>
  6. Below the </configuration> element, insert the following line, changing CustomAlias.xml to the required filename.
    <mlsdatabase configSource="CustomAlias.xml" />
  7. Save and close the file.