I tried to save dashboard and report via Salesforce Reports and Dashboards REST API and it works, but when I change developerName in the request body and send this request, in the response I got a json body with saved metadata of Report/Dashboard and parameter developerName hasn't been changed.

I sent PATCH request on the url: https://ap2.salesforce.com/services/data/v37.0/analytics/reports/00O28000007EUn9

Request json body:

"reportMetadata": { "developerName": "MyTestDeveloperName", "name": "MyTestReportLabel" } }


{ "reportExtendedMetadata": { ... }, "reportMetadata": { "developerName": "AlexTestReport", "folderId": "00528000001tqmoAAA", "historicalSnapshotDates": [], "id": "00O28000007EUn9EAG", "name": "MyTestReportLabel", ... }, ... }

I also used update and upsert methods of the Salesforce SOAP API, but in the response I got the next message:

<message>entity type cannot be updated: Report</message> <statusCode>CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY</statusCode>

Have anybody any ideas how to change developerName of Dashboard and Report using Saleforce API?

  • Please share your payload and endpoint. May not be possible to update but it's hard to help with an incomplete picture. – Adrian Larson Jul 22 '16 at 10:54
  • 1
    I added endpoint url, request json body and response. – Alex Chudovsky Jul 25 '16 at 8:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.