Why do we have these multiple structures that are hard to grasp? It is because it offers the most configuration possibilities. The following table describes how they are used with the example shown in the screenshot below.
Placeholder | What it does | Example placeholder | Replaced with value |
---|---|---|---|
${Name of placeholder} | Replaces the content ${Name of placeholder} with the value matched by Name of placeholder | ${Name} | One object |
${Email} | myemail@fakse.se,anotheremail@fakse.se | ||
${Name of placeholder${0}} | Replaces the content ${Name of placeholder${0}} with all values matched by Name of placeholder. This is used to match multiple values e.g. when populating an attribute with multiple cardinality and all values will be one instance of that attribute. When replaced as text this is similar to the above example but when replaced in a multi value context this notation will render multiple values but the above will render one value as a comma separated string. | ${Price${0}} | 12 |
${Email${0}} | myemail@fakse.se,anotheremail@fakse.se | ||
${Name of placeholder${1}} | Replaces the content ${Name of placeholder${1}} with the first value matched by Name of placeholder. This is used when only the first value is required | ${Price${1}} | 12 |
${Email${1}} | myemail@fake.se | ||
${Name of placeholder${n}} | Replaces the content ${Name of placeholder${n}} with the n:th value matched by Name of placeholder. This is used when only the n:th value is required | ${Price${2}} | <empty value> |
${Email${2}} | anotheremail@fakse.se | ||
${Email${4}} | <empty value> |
Context with placeholders
The following section describes what data can be replaced in different contexts
Sometimes placeholder can supply multiple values. If that is the case the placeholder ${Name of placeholder${i}} can be used.
The most common configuration is ${Name of placeholder${0}} which renders a comma separated list of all values provided by the placeholder e.g.
Attribute IN ( ${Name of placeholder${0}} )
It is possible to use ${Name of placeholder${1}} to get hold of only the first value as well.
Import
Read more about the placeholder in the import documentation
Placeholder Name | Value |
---|---|
Data locator | The value that is found in the external data source from the data locator |
The placeholders are used as part of the IQL
Automation
Read more about the automation
Placeholder Name | Value | Description |
---|---|---|
Attribute Name | The attribute value | The value of the attribute with the same name as the placeholder. This will render the attribute in the human readable form. |
Attribute Name.id | The attribute value as stored | The value of the attribute with the same name as the placeholder. This will render the attribute in the form that is stored. e.g. if the attribute is an object reference this will render the referenced object id. This will only work on attributes that are stored with another value than presented. |
label | The label of the object | The value is replaced by the configured label for the object. |
objectType | The object type name of the object | The value is replaced by the object type name. |
objectTypeId | The object type id | The value is replaced by the id of the object type of the current object. |
objectId | The objects id (not the key) | The integer that identifies this object. |
Key | The key of the object | The key value of the current object. |