< Back
Print

Execute a conditional format (switch-case) Format Plugin


Datamap

Open your datamap and select the “Execute a conditional format (switch-case)”-Format plugin in a row of your choice.
Datamap configuration for the Switch-case format plugin

 

Configuration

With the cogwheel you can enter the configuration. The configuration has three main sections:

 

Entry value

This field stores the value that gets checked. To set the value you need to use a placeholder. The placeholder name needs to be the same as the one in the “Entry value for the cases”-field.
 
To use the field from the datamap select ‘Source’ as Attribute and a format plugin of you choice.
Entry value for the Switch case format plugin

 

User-defined cases

In this section you can create different cases for the input value. You can create as much cases as you want. In each case you can define the “Case Value”, which is the value the “Entry Value” is compared with. The “Source Value” and a format plugin for the final output.
 

The line where the “Entry Value” matches the “Case Value” will create the output.
User cases in the switch case format plugin

Default case

Configure this case similar to the cases in Step 2, but this case will only be executed when no match is found in the “User-defined cases”.
 
Default case for the switch case format plugin

 

 

Was this article helpful?
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Table of Contents