Documentation Center

How to add a script to the configuration

You access the API by adding a reference in the configuration to a custom Javascript file.

Procedure

  1. On the Content Manager web application server, go to the $\Web<projectsuffix>\Author\ASP\Editors\Xopus\Config folder inside the Content Manager web application.
  2. Add your script to the Config folder. While it is your choice where to put your scripts, we recommend making your own folder as a child to this folder. So in this case js\CustomScript.js.
  3. Include the reference to your script in the Content Editor configuration file (dita-config-custom.xml):
    In this example, you would add this reference:
    <x:javascript src="js/CustomScript.js"/>