Conscia Metadata
DX Component Configuration
Parameter Name | Parameter Property | Description |
---|---|---|
Default Metadata | defaultMetadata | Array of key/value objects. [{key<string>, value<string>] . The intent is to provide further instructions to the rendering logic or other downstream Orchestration Components. |
DX Component Experience Rule Configuration
Parameter Name | Parameter Property | Description |
---|---|---|
Metadata | triggeredMetadata | Array of key/value objects. [{key<string>, value<string>] . The intent is to provide further instructions to the rendering logic or other downstream Orchestration Components. |
Triggered Metadata key/value pairs are merged on top of the Default Metadata key/value pairs.
Given the following configuration:
{
"defaultMetadata" : [
{ "key": "css", "value": "master" },
{ "key": "categoryCode", "value": "A" }
],
"triggeredMetadata" : [
{ "key": "promoCode", "value": "BUY_THIS" },
{ "key": "categoryCode", "value": "B" }
]
}
The resulting value will be:
[
{ "key": "css", "value": "master" },
{ "key": "promoCode", "value": "BUY_THIS" },
{ "key": "categoryCode", "value": "B" }
]