Documentation Center

Setting up and registering your standalone Model

If you want to set up your Model separately from your Editor, set up your Model by creating a virtual directory for it, and registering it in the System.config file.

Procedure

  1. On your Content Manager server machine, access IIS Manager and navigate to the Content Manager Explorer Web site.
  2. Add a new virtual directory inside the Models subfolder of the Web site root folder, and give it a meaningful name, for example, MyOrgModel.
  3. Set the physical location of the virtual directory to the location of your custom Model's resources.
  4. Access the web\WebUI\WebRoot\Configuration\ subfolder of %TRIDION_HOME% (defaults to C:\Program Files (x86)\Tridion\).
  5. Open System.config in that location in a plain-text or XML editor.
  6. In the <models> section, add a new model element, as follows:
    <model name="MyOrgModel">
    	<installpath>c:\MyProjects\MyOrgModelResources\</installpath>
    	<configuration>Configuration\MyOrgModel.config</configuration>
    	<vdir>MyOrgModel</vdir>
    </model>

    where the value of installpath points to the physical location of your virtual directory, the value of configuration points to the configuration of that Model, relative to installpath, and vdir refers to the virtual directory you just created.

  7. Save and close System.config and restart the Content Manager Explorer Web site.