Skip to end of metadata
Go to start of metadata

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:

  1. The url to launch becomes http://IBMi:8080/profoundui/abc (the html extension is removed)
  2. 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.

  • No labels