Created
May 21, 2013 20:10
-
-
Save rupton/5622829 to your computer and use it in GitHub Desktop.
This is the page that outputs Accounts as a CSV file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<apex:page standardController="Account" recordSetVar="accounts" contentType="text/csv#accountlist.csv" sidebar="false" showHeader="false"> | |
Account Name, Annual Revenue | |
<apex:repeat value="{!accounts}" var="account"> | |
{!account.Name},{!account.annualrevenue} | |
</apex:repeat> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment