Replacing start.html
The default html page that launches Profound UI Â is: /www/profoundui/htdocs/profoundui/userdata/html/start.html
This is launched with url: http://IBMi:8080/profoundui/start
Before making changes to this file, you should first make a copy as it is replaced on every installation.
If you make a copy of the file and name it, for example, abc.html, the URL to launch it will have to be: http://IBMi:8080/profoundui/userdata/html/abc.html but if you add the following alias directive to the http config file (/www/profoundui/conf/httpd.conf) :
Alias /profoundui/abc.html /www/profoundui/htdocs/profoundui/userdata/html/abc.html
The launch url will be http://IBMi:8080/profoundui/abc.html
If you add a ScriptAlias directive in the http config file:
ScriptAlias /profoundui/abc /QSYS.LIB/PROFOUNDUI.LIB/PUI0005001.PGM
Two useful things will happen:
The url to launch becomes http://IBMi:8080/profoundui/abc (the html extension is removed)
Any javascript files that are dropped into the folder: /www/profoundui/htdocs/profoundui/userdata/custom/js will be automatically included (script tags will be added dynamically) in the html file.
Note that anytime you make changes to the Profound UI HTTP config file (/www/profoundui/conf/httpd.conf), you will need to restart the HTTP server. Instruction on how to do that can be found here.
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!