RISE to Bloome Software
Log In    
Home
RISE
Marshal
Download
 
 
r2bsoftware.se r2bsoftware.se
 
 
 
Click to hide navigation tree

Data processors

A data processor is a function that operates on and transforms harvested data. You can add data processors to your model leaves, i.e. to Column nodes, to manipulate their values. The data processors are executed for each harvested row of data. After the data processor has executed, the value of the leaf is the value returned by the data processor. 

Attached the data processor to the leaf that should receive the resulting value. The input value, to the data processor, could either originate from the same leaf or from another leaf. You might for example want to clean the harvested data using a RegEx data parser. However, in most cases, data processors are added to manually created leaves, i.e. leaves that do not automatically retrieve their data during harvesting. If you for example harvest an Xml document, you might want to extract data from certain nodes to certain leaves. 

Click on the data processor item in the list box to display the properties of the data processor. The name of the list box item is the name of the currently selected data processor, or Disabled, if no data processor has been selected.

Display data processor properties
Select the Name property and click on the ellipsis button to change data processor.

Change Data Processor
Constant
Returns a preset, constant, value.
DateTime
Returns the current DateTime formatted according to the specified format string, e.g. yyyy-MM-dd
Embed Base64
Returns a string containing the Base64 encoding of binary data.
External
Returns whatever data generated by an external application.
Guid
Returns a new GUID (Globaly Unique IDentifier).
Lan file
Returns the contents of a file.
MapList
The Map List data processor allows you to map harvested data to a list of predefined values.
MapXml
The Map Xml data processor allows you to map harvested data to values defined in an xml file.
MD5
Returns the MD5 sum.
Parent
Returns the value of a parent leaf.
RegEx
Returns the result of regular expression, i.e. text pattern matching.
RegEx.Replace
Replaces content of a string using a regular expression, i.e. text pattern matching.
SaveAsFile
Returns the relative path a new file containing the data of the leaf, i.e.it creates a file alongside the XML-file.
SHA-1
Returns the SHA-1 sum.
SHA-256
Returns the SHA-256 sum.
SHA-384
Returns the SHA-384 sum.
SHA-512
Returns the SHA-512 sum.
Size
Returns the number of bytes of binary data.
XPath
Returns the result of an XPath expression, i.e. used to extract values from XML documents or snippets.