MashZone NextGen 10.2 | Appendix | Legacy Presto components | Mashables and Mashups | Mashups in MashZone NextGen Wires | Creating Mashups in Wires | Add Actions or Other Blocks | Decorate or Transform Data
 
Decorate or Transform Data
Decorator Block Video rectDecorator Block Video
The DataDecorator action allows you to convert, calculate or transform just the data in results using one or more functions. You add functions to individual fields, as needed. With multiple functions, each is applied in order to the data for that field.
Note: This action does not change the structure of results, filter results or combine data in any way.
* To transform result data
1. Connect document-type results from another block as input to DataDecorator.
The Block Properties for this action displays two panes with the structure of the input document and a pane with properties you can assign to the currently selected input field.
The input structure can contain:
* = a root or structure node that contains children but does not repeat. The root node completely wraps the entire input document.
* = a repeating node, usually with children.
* = a field (node) that contains data. If the node name begins with @ this is an XML attribute. Otherwise it is an XML element.
2. Select a field with data you want to convert.
3. Select the first function to apply to this data and click . Complete any properties needed for this function.
MashZone NextGen has a set of built-in functions. Your MashZone NextGen administrator can also add functions to this list. For information on completing any of the built-in functions, see:
4. Complete the conversion for this field by:
*Adding more functions, as needed, and completing their properties.
*Changing the order in which functions are applied using and .
*Using to clear any functions you have applied to a field.
5. Add conversions to other fields, as needed. Use Preview to see the effect of functions you have applied at any time.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release