Questions tagged [analytics-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4
votes
3answers
551 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 ...
4
votes
1answer
575 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 ...
3
votes
2answers
2k 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 ...
3
votes
3answers
1k 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 ...
3
votes
2answers
675 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), ...
2
votes
1answer
146 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 ...
2
votes
1answer
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 ...
1
vote
1answer
158 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 ...
1
vote
1answer
129 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.
1
vote
1answer
153 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 ...
1
vote
0answers
228 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....
1
vote
0answers
254 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.
1
vote
1answer
289 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 ...
1
vote
1answer
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": "\"", "...
1
vote
0answers
72 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://...
1
vote
0answers
29 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 ...
1
vote
0answers
177 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 ...
0
votes
1answer
72 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 ....
0
votes
1answer
269 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 ...
0
votes
1answer
743 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: <...
0
votes
1answer
16 views

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

------------------------------------------------- Please consider following before answering: The same code runs when invoked through anonymous code window in devConsole. "Run reports" ...
0
votes
2answers
747 views

Error creating Data set in Analytics for custom object

I have an issue creating data set for my custom object in Wave Analytics. Can you help me to understand what needs to be done. The user has permission set assigned, and the object is also accessible ...
0
votes
1answer
401 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 ...