Enable Scripting in On-Premises Printing

Scripting is available in on-premises installations of Geocortex Printing only. Scripting is not available in cloud Printing.

Scripting allows print authors to write code that executes on your server. This can represent a security vulnerability if your print authors are not trusted.

Scripting is disabled by default in on-premises Printing. You can enable it if you want.

To enable scripting in on-premises Printing:

  1. As an administrator, edit the following web.config file:

    [installation_location]\Geocortex Printing\Deployment\web.config

    If you installed Geocortex Printing in the default location, the web.config file is here:

    C:\Program Files\Latitude Geographics\Geocortex Printing\Deployment\web.config

  2. In <appSettings>, find this line:

    <add key="app:allowScripts" value="false" />

  3. Set value to true.

    The line should look like this:

    <add key="app:allowScripts" value="true" />

  4. Save the file.

    Scripting is now enabled.

See also...

Use Scripts in Print Templates