Zephr User Guide

Transformations

12 views 0

The Transformations tab is only available for JSON implementations.

The decision nodes that are available under the Transformations segment title are as follows:

No Transformation

Use this decision point to allow access to the content served by the CMS with no changes.

No further configuration is required for this decision node.

Set String

Use this decision point to add a string to the content served by the CMS.

Enter the string to add in the String text box.

Set JSON

Use this decision point to target an object and replace it with a valid JSON object.

Enter the JSON to use in the JSON text box.

Set Boolean

Use this decision point to target an object and replace it with a boolean.

Select the radio button for the boolean logic to apply.

Set Number

Use this decision point to target an object and replace it with a number.

Enter the number to apply in the Number text box.

Truncate String

Use this decision point to truncate a string.

Enter the property name of the target string in the Target property name text box.

Enter the number of words at which you want to truncate in the Enter the approximate number of words to truncate text box.

Truncate Array

Use this to truncate an array of values.

Enter the target property name in the Target property name text box.

Enter the number of array values at which you want to truncate in the Enter the number of array values to truncate text box.