You can configure the required attributes for a specific entity type in the Attributes stepper of the Create New wizard.
Sample JSON configuration
Sample JSON to configure the attributes for the Create New wizard.
{
"metaInfo": {
"dataIndex": "config",
"collectionName": "configObjects",
"responseObjectName": "response"
},
"configObjects": [
{
"id": "rock-entity-create-v2_pstdsku_commerceUXConfig",
"name": "rock-entity-create-v2_pstdsku",
"version": "1.0",
"type": "commerceUXConfig",
"properties": {
"createdByService": "system",
"createdBy": "system"
},
"data": {
"contexts": [
{
"context": {
"component": "rock-entity-create-v2",
"entityType": "pstdsku",
"role": "_DEFAULT"
},
"jsonData": {
"config": {
"properties": {
"attributeNames": [
"mdmid",
"mdmname",
"productid",
"upc",
"color",
"size",
"cost",
"currency",
"itemtype"
]
}
}
}
}
]
}
}
]
}To configure the attributes for the Create New wizard:
Download the attached JSON file.
Open the rock-entity-create-v2_pstdsku_commerceUXConfig.json file and specify the following:
Parameters | Details | |
|---|---|---|
context | entityType | Specify the entity type for which the component is to be configured. For example, ‘pstdsku’. |
role | Specify the role for which the component is to be configured, else _DEFAULT. Note: By default, _DEFAULT is specified for role, which implies the component is configured for all roles and users. | |
config > properties | Specify the tab name and set the visibility. | |
attributeNames | List the internal names of all the attributes that must be displayed for the specified entity type. | |
Upload the JSON configuration file in the Classic UI. For more information, see How to upload UI Configurations.
In the Create New dialog, you can view the attributes for creating a product (SKU) based on the configuration.
