SAP Knowledge Base Article - Public

2535988 - Restricting Marketing Attributes to Read Only Based on Business Role in Cloud For Customer

Symptom

Customer contacts can have attributes assigned to them. This can be done through the Marketing Attributes facet in the Contacts view. However once the attributes are added by an authorised user it is undesirable to have the attributes editable by just anyone. For this the facet can be set to read only and the ability to add new attributes removed based on business role.

Reproducing the Issue

  1. Go to the Customers work centre.
  2. Select the Contacts view.
  3. Select a contact from the list.
  4. Go to the Marketing Attributes facet.
  5. The Marketing attributes are editable and new attributes can be added.

Resolution

 In order to set the Marketing attributes to read only:

  1. Go to Administrator work centre.
  2. Select Business Roles.
  3. Select the Business Role that you want restricted.
  4. Edit the Business Role and go to the Fields & Actions tab.
  5. At the bottom of the page is Business Action Restrictions.
  6. Add a Row to this section and under name column put BUSINESS_ATTRIBUTE_ASGNM_READ.
  7. Hit enter and set Access Restriction column to Disabled.
  8. Save and log out and back in with the user you have restricted.
  9. When editing the Marketing Attributes facet the attributes are read only. 

In order to disable the adding of new attributes by users:

  1. Follow the steps from 1 - 5 from the previous list of steps.
  2. Add a Row to this section and under the name column put BUSINESS_ATTRIBUTE_ASGNM_ADD.
  3. Hit enter and set Access Restriction column to Disabled.
  4. Save and log out and then back in with the user you have restricted.
  5. When editing the Marketing Attributes facet the option to add a new attribute is removed.

Keywords

KBA , SRD-CC-FED , Feeds , How To

Product

SAP Hybris Cloud for Customer add-ins 1708