Creating a custom UDM  
 
 
 
 
  1
5
   
  List UDMs
 

The list functions include list.min, list.max, list.ave and list.sum. For e.g., suppose v is a vector node that has an integer child w, and that w's node is 13. Then you can create a sibling x for v whose dataport is an expression that uses a subexpression of the form list.ave (?13?) which yields the average of all the occurrences of node 13 in the vector. Please note that the expression node x must be a sibling of the vector node, not its child.
The functions list.sum and list.ave can be applied to integer nodes while lsit.min and list.max can be applied to integers, strings and dates.

   
  The Visual Tab
   
 
You may not require all the fields/attributes of a table/object to work within a custom UDM. Using the Visual tab, you can choose to hide a piece of data, display it in a specific format, etc. You can turn a data item to None and therefore ensure that that item is not retrieved at all from the data source. Instead of changing individual properties for nodes, the Visual tab gives you the ability to select properties of multiple fields as you wish them to appear in your HTML template. Note that, after you save your changes, you may need to regenerate the HTML if you would like to use the UDM Editor's automatically generated HTML.
 
  1
5