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.
プレースホルダー | What it does | プレースホルダーの例 | 値に置き換える |
---|---|---|---|
${Name of placeholder} | Replaces the content ${Name of placeholder} with the value matched by Name of placeholder | ${Name} | 1 つのオブジェクト |
${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}} | <空の値> |
${Email${2}} | anotheremail@fakse.se | ||
${Email${4}} | <空の値> |
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.
インポート
Read more about the placeholder in the import documentation
Placeholder Name | 値 |
---|---|
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
自動化
Read more about the automation
Placeholder Name | 値 | 説明 |
---|---|---|
属性名 | 属性値 | プレースホルダーと同じ名前の属性の値。これによって、人間が読み取れる形式で属性がレンダリングされます。 |
Attribute Name.id | 格納された属性値 | プレースホルダーと同じ名前の属性の値。これによって、格納された形式で属性がレンダリングされます。たとえば、属性がオブジェクト参照の場合は、参照されたオブジェクト ID がレンダリングされます。これは、提示された値とは別の値で格納された属性でのみ機能します。 |
ラベル | オブジェクトのラベル | 値は、オブジェクトに設定されたラベルに置き換えられます。 |
objectType | オブジェクトのオブジェクト タイプ名 | 値はオブジェクト タイプ名で置き換えられます。 |
objectTypeId | オブジェクト タイプ ID | 値は、現在のオブジェクトのオブジェクト タイプ ID に置き換えられます。 |
objectId | オブジェクト ID (キー以外) | このオブジェクトを識別する整数。 |
キー | オブジェクトのキー | 現在のオブジェクトのキー値。 |