The custom control's Module path property is the URL where the CustomControlModule
file will be loaded from.
![](static/img/CustomControl_Module_Path_Property.png)
A page's Module path property is the URL where the PageModule
file will be loaded from. Both report pages and prompt page can load page modules.
![](static/img/Page_Module_Path_Property.png)
Like image URLs, the Module path can be any location that is accessible when viewing the report. Some possibilities are:
Store the JavaScript in the install location and reference it similar to how the sample images are referenced. A path of
"../js/custom-controls/"
in the report output will be located atinstall-location\webcontent\bi\js\custom-controls
.Example
Host the files on your own web server.
Example
Create an extension that can be uploaded to your install and then referenced using the endpoint
v1/ext/my-extension
.See Using an extension to host JavaScript more details.
Example