Loading CWI
To be able to use CWI in your web application you need to load it. The best place to do so is in a script
element at the end of the body
element.
<script type="text/javascript" src="[hostname]/CWI_2_1_0/app/cwi-integration.js"></script>
Let's have a deeper look on the entire path. hostname
is the name of the server where Congree Authoring server resides. The path segement following the hostname is the path of the virtual directory where the CWI component is installed. The last segment app/cwi-integration.js
is fixed.