Product Competition Step – create-pcomp-ui

Type

Description

Type

Description

create-pcomp-ui

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

Attribute Name

Description

Example

Required

mandatoryFields

Specifies a list of fields which must be linked with users's data. Each field must contain:

  • name – Unique name of the field in Pricefx. The field must exist in the Product Competition table.

  • label – Label which will be displayed in PlatformManager.

  • description – Description of the field which will be displayed in PlatformManager.

  • mappingAliases – An array of possible mapping aliases ("Product Id" and "Unique Identification" for SKU).

"mandatoryFields": [ { "name": "sku", "label": "Product Id", "description": "Id of the product" } ]

true

optionalFields

Specifies a list of fields which must be linked with users's data. Each field must contain:

  • name – Unique name of the field in Pricefx. The field must exist in the Product Competition table.

  • label – Label which will be displayed in PlatformManager.

  • description – Description of the field which will be displayed in PlatformManager.

  • mappingAliases - An array of possible mapping aliases ("Product Id" and "Unique Identification" for sku)

"optionalFields": [ { "name": "comments", "label": "Comment", "description": "Comment" } ]

true

showMappingOptions

If set to true, a modal dialog with mapping options appears after the mapping step, with these options:

  • Continue 

  • Create data upload for just created/filled table – Users are redirected to a new step where they are forced to fill in the data upload name.

  • Run IM SFTP Template

"showMappingOptions": true

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