Inserting Parameters
1 minute to readThere are two ways to insert a parameter in your DataParts:
- Using a parameter picker
- entering them manually as text.
To use a parameter picker, select the Insert Parameter icon that is available in all DataParts where parameters are available. Then, from the dropdown, select the parameter type and its value. Depending on the field’s data type, multiple formatting options may be available.
Formatting parameters
When using the parameter picker, the relevant formatting options are available. For example, if you want to display the parameter output as long date, you can use [@field:Day_of_Birth~]. On the other hand, if you want to use a short date format, you can use [@field:Day_of_Birth*].
The parameters are localized based on the DataPart localization settings. You can change it on the Segment level.
For more details, see the table below. The sample output is based on English (US) localization and may differ if you use a different localization.
Format | Symbol | Sample Output |
---|---|---|
Text | None | 5 |
Number | # | 5.00 |
Percentage | % | 500.00% |
Currency | $ | $5.00 |
Short date | * | 2/24/2010 |
Long date | ~ | Thursday, February 04, 2010 |
Time | @ | 8:28:05 PM |
The following example shows adding a first name to the opening of an email message using a data source field parameter formatted as Text.