SAP Knowledge Base Article - Public

3582304 - Error "[Application Error]:sap.ui.getCore(...).byId(...).getContent(...).getContent is not a function" when applying data access control on model in custom role in SAP Analytics Cloud (SAC)

Symptom

Error "[Application Error]:sap.ui.getCore(...).byId(...).getContent(...).getContent is not a function" when applying data access control on model in custom role in SAP Analytics Cloud (SAC)

Environment

SAP Analytics Cloud

Reproducing the Issue

  1. Login to SAC
  2. Go to Security > Roles
  3. Create a new Role
  4. Select a blank template for a custom role without any permissions.
  5. Go to Model
  6. Add Data Access Filter
  7. Save the role.

Notice the error '[Application Error]:sap.ui.getCore(...).byId(...).getContent(...).getContent is not a function'

Cause

A blank template is selected for a custom role without any permissions.

Resolution

You need to select any standard template or select some permissions for the custom role and save it before adding DAC on any model.

See Also

Your feedback is important to help us improve our knowledge base.

Keywords

SAP Analytics Cloud, role saving error, blank template, custom role, permissions, DAC , KBA , LOD-ANA-ADM , SAC Administration , Problem

Product

SAP Analytics Cloud all versions