Configuring the dox42 Server Trusted Template Locations

Prev Next

You already registered the d.velop data source and the corresponding Custom Output Action in the web.config file of your dox42 Server.

In addition to that, you also need to add the new source for the templates to the trustedTemplateLocations section in the web.config file.

This step is necessary if the parameter CheckTrustedTemplateLocations is set to true. In this case, a check on trusted template locations will be performed. This ensures that the dox42 Server only accepts the configured directories as source directories for templates. See also Configuration options for the web.config file.

Steps

  1. Open the web.config file in the installation directory of the dox42 Server.

  2. Check within the <appSettings> section if the parameter trustedTemplateLocations is set to true like this:
    <add key="CheckTrustedTemplateLocations" value="true"/>

  3. Extend the trusted template sources in the <trustedTemplateLocations> section to include the d.velop system you want to integrate. In our example, "alpin-demo.d-velop.cloud":

    <trustedTemplateLocations>
    
      <add key="local" value="C:\dox42Server\templates" />
      <add key="dvelop" value="https://alpin-demo.d-velop.cloud" />
    
    </trustedTemplateLocations>

Result

You have configured a new source for the templates.