Questions tagged [analytics-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
0 answers
311 views

I am trying to use Salesforce Analytics API to Download a Lightning Experience Dashboard as a PNG but I am getting resource not found error

I am referring to https://developer.salesforce.com/docs/atlas.en-us.api_analytics.meta/api_analytics/analytics_api_download_example_le_dashboard_png.htm url from Salesforce in order to download image ...
Rakshit Segwal's user avatar
3 votes
2 answers
783 views

Using API to download the dashboard rendered as PNG

I'm trying to use the Analytics Download API to get a PNG of my dashboard, but I'm getting a resource not found error. The command I'm using: curl https://[my_organization-dev].my.salesforce.com/...
Cyare's user avatar
  • 31
3 votes
2 answers
4k views

Download report data having >2k records through API

I am a new bee in Salesforce world. We already have an implementation of Salesforce where we are hitting analytics API via rest client in java application to receive the report data. API: services/...
A_01's user avatar
  • 173
1 vote
0 answers
249 views

Can't Create Analytics Notifications as Other Users (Salesforce Reports & Dashboards API)

I'm currently in the process of troubleshooting (will be updating as I go along) but as it stands, I can't seem to create analytics notifications as other users, only as myself. { "thresholds&...
Isaac L's user avatar
  • 174
1 vote
1 answer
177 views

Running describeReport(3-arg); of Salesforce Reports and Dashboard API, gives an error(in the SS). Any idea why could this be happening?

------------------------------------------------- Edit for better error message and methods googleability: Exception occurred - The data you're trying to access is unavailable. Class.reports....
Pulkit Sood's user avatar
1 vote
0 answers
871 views

Download Formatted Excel Reports Using the Reports REST API

I need to Download Formatted Excel Reports Using the Reports REST API. I read the following Document(Page No. 51) and Wrote c# code to get the Report. Document : https://resources.docs.salesforce....
sudev pk's user avatar
  • 111
1 vote
0 answers
364 views

Export Einstein Analytics Datasets

Is there a way to do an automatic export of records periodically from Analytics Datasets? I need to send the records to a Data Warehouse Server.
Swatz's user avatar
  • 61
1 vote
1 answer
286 views

Can I send data to Salesforce Analytics / Einstein as JSON and not CSV?

The Salesforce Analytics / Einstein API documentation says that in order to upload actual data to the datasets you need to prepare CSV files and JSON is used only for metadata. Is there any way to ...
SGj's user avatar
  • 102
5 votes
1 answer
1k views

Subscribe users to reports run as themselves using API or Apex

I am searching for a way to automate a time-consuming task for an administrator on my team: subscribing numerous users to reports ("Schedule Future Runs", Salesforce Classic). The need to for each ...
David Reed's user avatar
  • 92.8k
1 vote
1 answer
384 views

Running a report synchronously and displaying its chart in a visualforce page.

I am using <analytics:reportChart/> tag inside a visualforce page where the reportId attribute value is dynamically retrieved from associated Controller. The controller also runs the report ...
sam_s's user avatar
  • 966
1 vote
1 answer
3k views

Error when loading csv data into Wave Analytics

CSV file: "id","name" "00134535345343542X","Walmart" "001342323423423232","Amazon" Metadata JSON file: { "fileFormat": { "charsetName": "UTF-8", "fieldsEnclosedBy": "\"", "...
javanoob's user avatar
  • 8,877
2 votes
1 answer
261 views

Analytics api returning unauthorised

I am using following Endpoint url /services/data/v37.0/analytics/reports/00O280000037Ls3?includeDetails=true It is working perfect in Workbench. I can see the Raw response. But when I put it in the ...
SFDC shaikh's user avatar
1 vote
1 answer
163 views

How do i create a new VF page for Salesforce Analytics API

We are novice to VisualForce Page and Apex development. Trying to create a new VF page using sandbox org. Also in that, we need to use jquery ajax callout. We are trying to implement SFDC Analytics ...
Sylphes's user avatar
  • 157
3 votes
2 answers
3k views

Expose Report/Dashboard data into Public Sites [duplicate]

Is it possible to expose report or dashboard data embedded into visualforce page and place it in Public force.com site? If this is not possible then please provide me an example to build a custom ...
sfdc's user avatar
  • 13.7k
3 votes
3 answers
2k views

How to upload external data files to Wave Analytics using External Data API

I want to upload external data csv file to Salesforce Wave Analytics using External Data API and Web Services Connector (WSC). I have connected to salesforce using below code: ConnectorConfig config ...
Murali Mohan Mandadi's user avatar
1 vote
1 answer
241 views

Add column to a report via API

Is it possible to add a column to a report via API call? I have a folder with 50 reports that I need to edit.
user682217's user avatar
  • 1,171
3 votes
2 answers
1k views

Can we detect presence of a 'Chart' in a report for using <analytics:reportCharts> component?

When using the component I'm receiving following error due to a chart not present in the report, be cause I verified Report exists and is public shared and report types are valid (Summary/Matrix), ...
VarunC's user avatar
  • 5,940
4 votes
3 answers
841 views

Best practice for testing VF/Apex around Reports is (SeeAllData=True) + actual reports?

Here I thought the new Analytics API actually allowed us to create reports from scratch using apex. Guess not. I have a VF page and a controller extension that interacts with reports and their data ...
smohyee's user avatar
  • 3,816
0 votes
1 answer
125 views

Analytics API for Reports

I am using Analytics report API for getting report records.I want to limit the records returned by this API to one record. Endpoint I am using is : /services/data/v34.0/analytics/reports/reportId ....
Smitha's user avatar
  • 325
0 votes
1 answer
322 views

Is there any other way to get metadata of report except analytics api?

In my project, there is a requirement for fetching metadata from report. I have found that salesforce provides analytics api for this. but my question is there ant other way? I am a fresher in ...
Kaushal's user avatar
2 votes
1 answer
1k views

Analytics API .. how do I get list of all reports metadata?

I am trying to access Reports metadata from Metadata API . Following is the documentation I am using Analytics API If I have list of report ids , can I extract the metadata of all reports in a ...
Manju's user avatar
  • 558
1 vote
0 answers
88 views

Is it possible to access AnalyticSnapshots programmatically in order to discern AnalyticSnapshotMapping[] data?

Salesforce Metadata API lists AnalyticSnapshots as a metadata type here: https://www.salesforce.com/us/developer/docs/api_meta/Content/meta_analyticsnapshot.htm and mappings as a field here: https://...
amanda fouts's user avatar
0 votes
1 answer
801 views

using analytics:reportChart returns nothing

I am embedding a report chart in a Visualforce page using the analytics:reportChart tag. Most of my reports render correctly. However, I am experiencing a curious result. My code is as such: <...
mpusto's user avatar
  • 557
1 vote
0 answers
32 views

SOQL vs Sync Analytics API

I have some simple code in a managed package to populate a selectoption list e.g. List<SelectOption> camps = new List<SelectOption> (); for (Campaign c: [Select Id, Name FROM Campaign ...
BritishBoyinDC's user avatar
1 vote
0 answers
182 views

Problem with integrating reports using `<analytics:reportChart>` and `<apex:commandButton>`

Did anyone run into this error before? Error while running $A.run() : Cannot read property 'join' of undefined' while using to integrate and filter reports. I have to render different reports on ...
Prasad Jandhyala's user avatar
0 votes
1 answer
409 views

Does anyone know how can we show Reports via Analytics API in Visualforce with direct linsk to records like in standard report?

I'm trying to show a report in a visualforce page, with some custom filtering. The hurdle that I'm facing is, the report data comes in as static text. I would like to have a link for Lookup fields ...
VarunC's user avatar
  • 5,940