...
It is possible to change the language text or to load external JavaScript files into the page. Any file ending in .js that is located in the /www/INSTANCENAME/htdocs/profoundui/userdata/extension/jumpstart IFS directory will be loaded with the JumpStart page. For example, a file named settings.js in the default Profound UI installation would be in /www/profoundui/htdocs/profoundui/userdata/extension/jumpstart/settings.js .
API Functions:
To control DbDescriptionTransform: Used to control the field descriptions pragmatically, you can assign a function like below.In this example . In the below example, it will upper case the first letter of each word to be in uppercase.
Code Block |
---|
pui.DbDescriptionTransform = function(fieldDesc) { return fieldDesc.toLowerCase().replace(/\b./g, function(a){ return a.toUpperCase(); } ); } |