13.07.2015 Views

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

TIBCO MDM Customization Guide - TIBCO Product Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Customizing Workitem Forms and Email Templates| 77• Merged Document: Apart from the above configurations, if the user had alsoprovided a valid 'InputFrom' XPATH into the input work item document, thework item activity will merge the user input into the input document (whichin most cases will be a MLXML document).• The form that you write only displays the body of the page. It does not controleither the left hand menu or the top banner.• The IDs used in the form should NOT be substrings of one another. That is,you cannot have two IDs like 'MasterCatalogHeader' and'MasterCatalogHeader2'. IDs of this kind are used for cloning of nodes (referto 'Defining Repeating sections in a form'). Instead, in this example, you coulduse 'MasterCatalogHeader' and '2MasterCatalogHeader'.• For merging the result, it is mandatory that all XML nodes (except text nodes)given in the 'InputFrom' XPATH are present in the input document.Adding Repeating Elements in the FormIt is possible to repeat HTML elements based on collection of multiple XML nodesresulting from an xpath in the source XML. In most cases, these repeatingelements would form 'rows' in a 'table' and each node in collection could bemapped to a HTML row, for example, one 'CatalogItem' in the source XML couldbe mapped to one tr element.• An HTML element that would be repeated must be added to the HTML form.This element is not displayed to the user but is used as a reference node thatwould be cloned at runtime. In the current example, it is simply a HTML rowelement.• Each column in the HTML row must have an 'id' attribute that starts with the'id' of the reference node. Here the reference node is id 'Line' and hence allchild elements must have id like 'Line<strong>Product</strong>ID', 'Line<strong>Product</strong>Extension' andso on.<strong>TIBCO</strong> <strong>MDM</strong> <strong>Customization</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!