Linked Questions

54
votes
6answers
28k views

Can report data be accessed programatically?

Is there any way to access existing reports and their data to be used in apex? Sure, I could write the SOQL manually but if I want it to mirror a specific report I would have to make code changes ...
42
votes
4answers
20k views

Scheduled reports as attachment

Is there any workaround to send out scheduled reports as Excel attachment than actually embedding it within an email? Salesforce scheduled reports embeds the report in email making further drill down ...
16
votes
3answers
14k views

Get the list of users licensed for a Managed Package

I'm developing a managed package and I need the list of users with the license for the managed package within the package. Any idea on where to start will help! Overriding a standard button ...
19
votes
2answers
5k views

How to get the current sandbox-name programmatically (dynamically) via APEX?

Now after all mere subscribers has per default a lot of sandboxes available, I need a way to programmatically (dynamically) get the sandbox-name of the sandbox org where the actual code is executed. ...
1
vote
1answer
5k views

Is there a way to export a report using Analytics API?

There are topics that sound the same, but there's no answer there, really. I'm trying to export report results into a csv file programmatically from a C# app. Using Analitics API I'm able to get ...
3
votes
2answers
2k views

Scheduled reports and saving as salesforce documents

I have followed the discussion "Scheduled reports as attachment". The solution given by eyescream looked good but I have a slightly different requirement. I need to run the scheduled report using apex ...
3
votes
1answer
1k views

Is it possible to get data storage details of a Salesforce organization using Apex code

I am trying to get details of space used by several sObjects, Attachment and other using Apex code. I can get Attachments details but is there any possibility to get how much data has been consumed by ...
3
votes
2answers
621 views

how much i can customize salesforce report

I created a salesforce report from "Reports & Dashboards" but I like to customize so that: I can change the label and color of columns Embed into an apex page so that I can use renderas='pdf' to ...
2
votes
0answers
1k views

Http callout not giving correct response when calling fom visualforce page

I am stuck in to one strange problem. I am sending http request as below. The below request giving me perfect result when i m calling it from developer console, but for some reasons it is not working ...
7
votes
1answer
489 views

VF page to list all deprecated components from package in customer org

It's so great that Salesforce.com allows to remove deprecated components from managed packages. We use that feature heavily to rework and improve our products. But what I am worried about is all the ...
2
votes
1answer
92 views

How can we identify all the workflows in the system which have Time-Dependent workflow actions?

I have around 50+ workflows rules in our org. And there may be around 5 to 10 rules which Have time dependent workflow actions. How can I easily identify which workflow rule has one?