Product Competition Step – create-pcomp-ui
Type | Description |
---|---|
| Allows the user to send data (in the format specified by the step) into the Product Competition table. The user can map this data only to the fields defined by the step. |
Specific Attributes
Attribute Name | Description | Example | Required |
---|---|---|---|
| Specifies a list of fields which must be linked with users's data. Each field must contain:
| "mandatoryFields": [
{
"name": "sku",
"label": "Product Id",
"description": "Id of the product"
}
] | true |
| Specifies a list of fields which must be linked with users's data. Each field must contain:
| "optionalFields": [
{
"name": "comments",
"label": "Comment",
"description": "Comment"
}
] | true |
| If set to true, a modal dialog with mapping options appears after the mapping step, with these options:
|
| false |
Example
{
"type": "create-pcomp-ui",
"name": "create-pcomp-step",
"mandatoryFields": [
{
"label": "Product Id",
"name": "sku",
"description": "Id of a product"
},
{
"label": "Competition Type",
"name": "competitionType",
"description": "Type of a competition"
}
],
"optionalFields": [
{
"label": "Comment",
"name": "comments",
"description": "Comment"
},
{
"label": "Source",
"name": "source",
"description": "Source :-)"
}
]
}
PlatformManager version 1.75.0