Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DataBridge supports transformations for import and export files. Data transformations can be added to import and export jobs. 
Click here to view the article on Transformations for DataBridge Export.

How to

Create a new profile or edit an existing profile by clicking Manage profile. On the Transform page  page, select the Transformation you want and click Add.

11-09-2018_16-10-43.png

The options to choose from are

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 number

Clean a text field that contains a number. Removes all non-digit characters, including white space and comma's 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

Format text value

Formats the value in the field.

Merge fields

Merges the input fields into a newly defined output fields.

Remove fields

Prevents the selected fields from appearing in the output.

Rename field

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

...

NOTE: If you are adding transformations to an existing profile with mappings in place and choose to use the Rename field transformation you will see the message as shown in the picture below. 
This means that a mapping is no longer valid, due to the renaming. 
This can easily be fixed by clicking the Remove Invalid Mapped Fields button and map the field to the correct field.

...

For instance, you have an import file with data from two different external systems. In it there are two number columns, now you can say basically: when column 1 has records import those , when empty choose column 2.

Add field

For our import, we have chosen to add a field Code with a fixed value 123.

Transform13.png


The result can be seen on the Configure fields page.

Transform14.png

Append text value

The “Append text value” transformation allows for prepending and appending text to field values.

...

Clean number

In the example below, we have chosen the transformation 'Clean number' to clean the column with phone numbers. In the Configure Source page you can see the phone numbers and on the Configure Fields page you can see the result of the transformation, the non-digit characters are removed.

...

The Address field from the Import file will also be used for the postal address. This can be achieved by choosing the Copy Field transfrmationtransformation.

Transform16.png

The result can be viewed on the Summary page. The Address column from the import file can be used twice.

...

This transformation can be used to fill a field with the current date and time.
In this example, we will fill a user-defined field with the latest update by DataBridge. 

First, choose the Transform 'Current date time' and fill in a field name. 

...

The next step is to map the new field to a SuperOffice field. In this example, we use a User Defined Field called 'DataBridge Import Date'. 

...

After running the Import job, the current date and time is are filled in in the Udef of SuperOffice.

...

Merge fields

In this example, the fields Address and Number will be merged into a new output field Street address. As a delimiter, a space is used.

transform10.png

On the Configure fields page, you can see the result of the merge.

...

Prevents the selected fields from appearing in the output. This transform makes the most sense for Export, more info

...

The result can be seen in the Configure Fields page.

Transform8.png

Replace

In this example, the values in the column Partner will be replaced when they match the value OK. This value will be replaced with True. This True value can be used to turn on interests in SuperOffice.

...

On the Configure fields page, you can see the result of the replace transformation.

...

Skip

With this transformation, you can choose to skip a record when a specified value is matched.

...