How to configure asset step of Create New wizard

Prev Next

You can configure the domain (Digital Assets) to display all its available assets in the Assets stepper of the Create New wizard.

Sample JSON configuration

Sample JSON to configure the domain for the Assets stepper of the Create New wizard.

{
  "metaInfo": {
    "dataIndex": "config",
    "collectionName": "configObjects",
    "responseObjectName": "response"
  },
  "configObjects": [
    {
      "id": "rock-entity-asset-commerceUXConfig",
      "name": "rock-entity-asset",
      "version": "1.0",
      "type": "commerceUXConfig",
      "properties": {
        "createdByService": "system",
        "createdBy": "system"
      },
      "data": {
        "contexts": [
          {
            "context": {
              "component": "rock-entity-asset"
            },
            "jsonData": {
              "config": {
                "properties": {
                  "domain": "digitalAsset"
                }
              }
            }
          }
        ]
      }
    }
  ]
}

To configure the domain for the Assets stepper:

  1. Download the attached JSON file.

rock-entity-asset-commerceUXConfig
1007 Byte
  1. Open the rock-entity-asset-commerceUXConfig.json file and specify the following:

Parameters

Details

context

component

Specify the name of the component to be configured.

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 > gridConfig

Specify the following.

domain

Specify the internal name of the domain. For example, ‘digitalAsset’.

  1. Upload the JSON configuration file in the Classic UI. For more information, see How to upload UI Configurations.

  2. In the application, go to Quick Actions and click Create New. For more information, see How to create a new product.

  3. In the Create New dialog, select the product type.

  4. In the Attributes stepper, enter the details and click Create & Proceed.

  5. In the Taxonomy stepper, select the relevant product classification and click Save & Finish.

  6. In the Assets stepper, you can view all the assets based on the configured domain.

    ui-configurations-create-new-asset-step.png

  7. Select an asset and click Save & Finish.