Linked Questions

2 votes
0 answers
129 views

Scheduling a custom report to be sent as a CSV file in an email [duplicate]

Is it possible to send a custom report out as a CSV file using APEX email templates? If so does anyone have the steps to do so? I am new to Salesforce and would appreciate any help. Thank you in ...
Kong's user avatar
  • 21
11 votes
2 answers
10k views

screen scrape Salesforce with REST GET call from Apex

Consider this code snippet from my answer to rao's question: String requestUrl = '/services/data/v26.0/sobjects/User/describe'; Http http = new Http(); HttpRequest req = new HttpRequest(); req....
eyescream's user avatar
  • 24.1k
5 votes
2 answers
6k views

Common URL parameters?

I'm doing some field pre-population, and wanted to know the common URL parameters, and to use them. Some of the ones I'm aware of are: nooverride retURL save_new sfdc.override What are some others, ...
PartOfTheOhana's user avatar
5 votes
6 answers
8k views

Send reports to emails not registered in Salesforce

Is there a way to send the output from a report to email addresses that are not assigned to a Salesforce account? We have some part-time athletic coaches that need to receive information on contacts ...
user2569499's user avatar
  • 1,025
4 votes
3 answers
12k views

Command Button to export to csv

I have a apex page with 3 tabs. In one of these tabs, I have a data table which I would like to export to csv using a command button. How can I achieve this?
Robin's user avatar
  • 555
6 votes
2 answers
17k views

Generate SOQL from an existing report

I have two existing reports that were constructed awhile ago and no one here knows much about, e.g. which objects and fields are involved. Now I want to access this same data through a Python module ...
David's user avatar
  • 63
6 votes
4 answers
5k views

Scheduled reports to be sent to an specific email address (not a licensed user)?

We need to schedule some reports to be sent every month to an specific email address. Is it possible to an email address that does not belong to a licensed user?
Guillermo's user avatar
  • 399
6 votes
2 answers
1k views

unable to get excel file in proper format when sending email

I had used in the controller: a.setContentType('application/vnd.ms-excel'); but when i clicked a button to send the email with an attachment, i am getting all fields in one row. How can i solve ...
PavanFoxPro's user avatar
  • 1,181
1 vote
3 answers
3k views

Email Template Creation

I want to create an email template for custom object. It should display certain fields of the custom object depending on some conditions like the value of the city or country fields. How can I do ...
user4955's user avatar
4 votes
2 answers
3k views

Batch printing Salesforce reports and Visualforce pages?

I have three Salesforce reports and two Visualforce pages that render as PDF pages. I'd like to print all of them with one button press. In case it matters, the reports and Visualforce pages are ...
Jagular's user avatar
  • 3,356
3 votes
2 answers
5k views

Create a Matrix Table in Visualforce

I was wondering how I can create a matrix table showing the months across the top (x-axis) and the product name on the y-axis with the sum of the quantity (sum of the products purchased for each month)...
NewbieDeveloper27's user avatar
2 votes
1 answer
2k views

Scheduling a visualforce page as CSV

I am posting my approach, but still unable to send the VF page data as email attachment. scheuler + batch : global class Schedule_report implements Schedulable { global void execute(...
Rao's user avatar
  • 16.7k
3 votes
1 answer
2k views

How to get more than 2000 records in case of schedule reports to our email in Salesforce?

I have a report with more than 2000 recodes and scheduled weekly. As per Salesforce standard limitations we get only 2000 records to our email. Is there any possibility to get more records? please ...
user avatar
3 votes
2 answers
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 ...
Krishna's user avatar
  • 179
0 votes
1 answer
2k views

I have created a Visualforce Email template, In the table, all record will show dynamically with respected grade value

I have created a Visualforce Email template, In the table, all record will show dynamically with respected grade value. Now I want to add all grade value. How Can I proceed with that? <...
Maggie's user avatar
  • 5

15 30 50 per page