Publish action

Prev Next

Configure ready for syndication button in UI

After deploying PIM-Syndication Data Exchange in a tenant, the following UI configurations must be uploaded to the respective tenant based on the business requirements:

Configure ready for syndication button in business actions

The Ready for Syndication option in the Business Actions drop-down list can be configured on the Entity Search page and Entity Manage page based on the business requirements. It is enabled only for admin, systemadmin, or businessadmin roles.
Configuration details:
In the rock-business-actions_ces-integration_uiConfig.json file, the value of visible must be set to false under the actions object. It is set to true only for specific roles.

{
  "metaInfo": {
    "dataIndex": "config",
    "collectionName": "configObjects",
    "responseObjectName": "response"
  },
  "configObjects": [
    {
      "id": "rock-business-actions_ces-integration_uiConfig",
      "name": "rock-business-actions_ces-integration",
      "type": "uiConfig",
      "data": {
        "contexts": [
          {
            "context": {
              "component": "rock-business-actions",
              "addOnApp": "ces-integration",
              "domain": "thing"
            },
            "jsonData": {
              "config": {
                "actionGroups": {
                  "connectors": {
                    "actions": {
                      "readyToSyndicate": {
                        "name": "plugin-xp-syndication",
                        "actionName": "plugin-xp-syndication",
                        "sharedData": {
                          "channelId": "eds-csl"
                        },
                        "visible": false,
                        "icon": "pebble-icon:send",
                        "threshold": 2000,
                        "text": "{[ReaSynTxt]}",
                        "title": "{[ReaSynTxt]}",
                        "eventName": ""
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      }
    }
  ]
}

Configure ready for syndication button for different roles

The Ready for Syndication button is enabled only for admin, systemadmin, or businessadmin roles.

  • Configuration Details:
    In the rock-business-actions_businessadmin_ces-integration_uiConfig.json configuration file, set the value of role to businessadmin, admin, or systemadmin in the data.contexts.context object according to the business requirements. Upload the JSON configuration file to the respective tenant.
{
  "metaInfo": {
    "dataIndex": "config",
    "collectionName": "configObjects",
    "responseObjectName": "response"
  },
  "configObjects": [
    {
      "id": "rock-business-actions_businessadmin_ces-integration_uiConfig",
      "name": "rock-business-actions_businessadmin_ces-integration",
      "type": "uiConfig",
      "data": {
        "contexts": [
          {
            "context": {
              "component": "rock-business-actions",
              "addOnApp": "ces-integration",
              "domain": "thing",
              "role": "businessadmin"
            },
            "jsonData": {
              "config": {
                "actionGroups": {
                  "connectors": {
                    "actions": {
                      "readyToSyndicate": {
                        "visible": true
                      }
                    }
                  }
                }
              }
            }
          }
        ]
      }
    }
  ]
}

The below mentioned image illustrates the Ready for Syndication option displayed in the Business Actions drop-down list for the businessadmin role:
SyndButton_Syndicate

Configure outbound task status for different roles

The outbound task on the task status is enabled only for the admin, systemadmin, or businessadmin roles.

  • Configuration Details:
    In the rock-task-list_businessadmin_ces-integration_uiConfig.json configuration file, set the value of role to businessadmin, admin, or systemadmin in the data.contexts.context object according to the business requirements. Upload the JSON configuration file to the respective tenant.
{
  "metaInfo": {
    "dataIndex": "config",
    "collectionName": "configObjects",
    "responseObjectName": "response"
  },
  "configObjects": [
    {
      "id": "rock-task-list_businessadmin_ces-integration_uiConfig",
      "name": "rock-task-list_businessadmin_ces-integration",
      "version": "1.0",
      "type": "uiConfig",
      "data": {
        "contexts": [
          {
            "context": {
              "addOnApp": "ces-integration",
              "component": "rock-task-list",
              "role": "businessadmin"
            },
            "jsonData": {
              "config": {
                "taskTypes": {
                  "syndicationEntityExport": {
                    "visible": true
                  }
                }
              }
            }
          }
        ]
      }
    }
  ]
}

The below mentioned image illustrates the Syndications-Outbound option displayed on Task Status:
SyndButton_OutboundTask

Upload the updated configuration files to the respective tenant. For more information on how to upload the configuration file, see Upload Tenant Seed Data in System Administrator's documentation. After successfully uploading the configuration file, log in to the PIM module by using the appropriate user credentials.