You access the API by adding a reference in the configuration to a custom Javascript file.
Procedure
- On the Content Manager web application server, go to the $\Web<projectsuffix>\Author\ASP\Editors\Xopus\Config folder inside the Content Manager web application.
- 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.
- 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"/>