...
Add conditional field | Create a new field with the value of the selected field. When the value of that field is empty, the value of the fallback field will be used. |
Add field | Add a new field with a fixed value. |
Append text value | Allows prepending and appending text to field values |
Clean field | Cleans a text field using a specific cleaning option. All cleaning options include white space, commas and periods. |
Copy field | Can be used for when you want one field from the source to map to multiple fields in the destination (for example: address which can be both visit and postal). |
Current date time | This transformation can be used to fill a field with the current date and time |
Find Pattern | Find and extract the value from the field using the regular expression search pattern. Example: the ID between parentheses should be extracted from "Doe, John (AB12345)" |
Format text value | Formats the value in the field. |
Map list | Converts each possible value of an input field into an item from a specific list in the destination. |
Merge fields | Merges the input fields into newly defined output fields. |
Remove fields | Prevents the selected fields from appearing in the output. |
Rename fields | Renames the title of the field and leaves the value unchanged. |
Replace | If the field matches the specified value it will be replaced by a new value. For example: if the input value is 'OK' it can be replaced by 'TRUE' and used to turn interests on. |
Skip | If the field matches the specified value the record will be skipped |
Split field | Splits a field with a separator and adds a new field with the selected segment(s) You can find a detailed description of this transformation here |
Switch fields | Use this transformation to configure which field to import the value from depending on the value of another field. |
...
After running the Import job, the current date and time are filled in in the Udef of SuperOffice.
Find Pattern
Find and extract the value from the field using the regular expression search pattern. Example: the ID between parentheses should be extracted from "Doe, John (AB12345)"
A regular expression is a form of advanced searching that looks for specific patterns, as opposed to certain terms and phrases. With RegEx you can use pattern matching to search for particular strings of characters rather than constructing multiple, literal search queries.
- Add the transformation "Find Pattern" and choose the field you want to extract the data from. In this example the field ID
- Choose a name for the Output field
- And fill in the RegEx you need. In this example I need Any data between the parentheses so I will use \((.*)\)
In the Configure Fields page in your DataBridge Profile you can now see the new field with the extracted data. It can now be mapped to the correct field in Superoffice.
Some other regular expressions which could have been used:
Exactly 7 characters between parentheses \((.{7})\)
At least 1 alphanumeric character between parentheses \(([A-Za-z0-9]+)\)
Exactly 2 uppercase letters, exactly 5 digits between parentheses \(([A-Z]{2}[0-9]{5})\)
Exactly 2 uppercase letters, exactly 5 digits [A-Z]{2}[0-9]{5}
At least 1 letter followed by a comma and a space, followed by at least one letter and a space followed by a parenthesis then capturing 2 uppercase letters and 5 digits followed by a parenthesis [A-Za-z]+, [A-Za-z]+ \(([A-Z]{2}[0-9]{5})\)
Note: We support two scenarios: (1) regex without any capturing groups and (2) regex with one capturing group
(1) Anything that match the pattern will be used as the value (my example before the last example)
(2) The value in the capturing group will be uased as the value (all other examples)
Please visit this page if you need some more detailed information about Regular Expressions (RegEx).
Format text value
With Format text value you can format the values in the chosen field. There are a couple of format options.
As an example let's use 'hello YouTube'
...