RISE to Bloome Software
Log In    
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
Returns a preset, constant, value.
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.
Returns whatever data generated by an external application.
Returns a new GUID (Globaly Unique IDentifier).
Lan file
Returns the contents of a file.
The Map List data processor allows you to map harvested data to a list of predefined values.
The Map Xml data processor allows you to map harvested data to values defined in an xml file.
Returns the MD5 sum.
Returns the value of a parent leaf.
Returns the result of regular expression, i.e. text pattern matching.
Replaces content of a string using a regular expression, i.e. text pattern matching.
Returns the relative path a new file containing the data of the leaf, i.e.it creates a file alongside the XML-file.
Returns the SHA-1 sum.
Returns the SHA-256 sum.
Returns the SHA-384 sum.
Returns the SHA-512 sum.
Returns the number of bytes of binary data.
Returns the result of an XPath expression, i.e. used to extract values from XML documents or snippets.