SAP Knowledge Base Article - Public

3351258 - MDF field with Visibility set to Not Visible is showing up in the API response - SuccessFactors

Symptom

You have an object under Configure Object Definitions where a field is set to Visibility = Not Visible, but when making OData API requests to this object, the field is showing up in the API response.

Environment

SAP SuccessFactors HXM Suite

Reproducing the Issue

  1. Go Configure Object Definitions;
  2. Open the object you are calling via API;
  3. Click on Details and see the field Visibility set to Not Visible;
  4. Make an API call to this object and see the field showing up in the response;

Cause

The API user used to make the API calls has the "Admin access to MDF OData API" permission.

When this permission is granted, all fields with Visibility set to Not Visible still showing up in the API response.

Resolution

If you want the Visibility setting be considered, remove the "Admin access to MDF OData API" permission for the API user.

Path: Manage Permission Roles > Select the role > Permission button > Metadata Framework section > uncheck "Admin access to MDF OData API" option > Done > Save Changes

See Also

Keywords

not, don't, do not, doesn't, does not, visible, visibility, api, mdf, field, show up, shows up, showing up, appear, appears, appearing, come, comes, coming, include, includes, including, response, odata , KBA , LOD-SF-INT-MDF , Metadata Framework API (MDF) , Problem

Product

SAP SuccessFactors HCM suite all versions