I'm trying to read all of the dashboards in a particular folder with the Metadata API. I'm using jsforce connection.metadata.readSync.

The dashboards all appear similar in the UI, and most of them let me read them with the metadata API. But one of them is missing the section dashboardGridLayout, which is of course where the most important information is.

Any idea why the metadata API would not be pulling dashboardGridLayout?



One of the reports in the Dashboard was in a private folder. Once I moved the report to the same folder as all of the other reports, I was able to pull the metadata.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.