Creating a configuration file for your standalone Data Model

If you want to set up your Data Model separately from your Editor, create a configuration file for the Data Model. The Data Model configuration file has the same structure, elements and attributes as your Editor configuration file. Move any Data Extenders you implemented from the Editor configuration file into the Data Model configuration file.

Procedure

  1. Access a text editor that lets you edit an XML file.
  2. Create the following empty configuration file:
    <?xml version="1.0"?>
    <Configuration 
    xmlns="http://www.sdltridion.com/2009/GUI/Configuration/Merge" 
    xmlns:cfg="http://www.sdltridion.com/2009/GUI/Configuration" 
    xmlns:ext="http://www.sdltridion.com/2009/GUI/extensions">
      <resources>
        <cfg:groups />
      </resources>
      <extensions>
        <ext:editorextensions />
        <ext:dataextenders />
        <ext:modelextensions />
      </extensions>
      <commands />
      <settings />
    </Configuration>

    Your custom Data Model configuration file cannot contain any custom GUI controls, custom views or other things related to the actual GUI. Only configuration related to data modeling and data extension belongs in this file.

  3. If you have created any Data Extenders before creating this file, move them out of the ext:dataextenders section of your Editor configuration file, and into the ext:dataextenders section of this new Data Model configuration file. Save and close your Editor configuration file.
  4. Save this file under a name with extension .config (for example, MyOrgModel.config), and add it to your Visual Studio solution in a folder called Configuration.