Created
May 21, 2013 20:09
-
-
Save rupton/5622816 to your computer and use it in GitHub Desktop.
This is the main AccountList Page shown in DC Elevate to export Accounts to 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"> | |
<apex:form > | |
<apex:pageBlock > | |
<apex:pageBlockTable value="{!accounts}" var="account"> | |
<apex:column > | |
<apex:facet name="Header">Account Name:</apex:facet> | |
<apex:outputField value="{!account.Name}"/> | |
</apex:column> | |
<apex:column > | |
<apex:facet name="Header">Annual Revenue:</apex:facet> | |
<apex:inputField value="{!account.annualrevenue}"/> | |
</apex:column> | |
<apex:column > | |
<apex:commandButton action="{!quicksave}" value="Update Account"/> | |
</apex:column> | |
</apex:pageBlockTable> | |
<apex:commandButton action="{!URLFor($Action.Account.New)}" value="Create New Account"/> | |
<apex:outputLink value="{! $Page.AccountListExampleCSV}">Export to Excel</apex:outputLink> | |
</apex:pageBlock> | |
</apex:form> | |
</apex:page> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment