IBM BPM, V8.0.1, All platforms > Tuning > Advanced tuning > Tuning for Process Portal spaces
Tuning the HTML forms for the Task Information widget
The Task Information widget provided for use in Process Portal spaces includes a form where users enter the information that is required for the tasks. If the form is implemented in Integration Designer using HTML-Dojo forms, you might experience performance problems when the form data includes a list (array) of business objects with a large number of properties.
When a human task with a HTML-Dojo form is opened in the Task Information Widget, the HTML-Dojo form is put into the DOM tree and all the widgets are parsed by the Dojo parser. This results in DOM elements with Dojo Dijits for every property of every array element.
You can improve the performance of the HTML-Dojo form handling by setting meta tags in the form to implement a cache, or to use JSON as the message format.
Procedure
- Cache the HTML-Dojo form. Add the following meta tag to the HTML form:
<meta name="ibm.message.cachable" content="true"/>The DOM tree for the form is taken from the cache. All the values in the form are reset to the initial values before the new message data is set for the form.
- Use the JSON format instead of XML for message data. The parsing of the message data is faster in JSON than in XML.
You can use the JSON format in the following situations:
- For tasks that do not use name spaces in the message format
- For tasks that do not use XML attributes.
Add the following meta tag to the HTML form:
<meta name="ibm.message.format" content="json"/>
Tuning for Process Portal spaces
Related tasks:
Generate HTML-Dojo pages or IBM Forms for Business Space