Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<apex:page standardController="Lead" recordSetVar="leadRecord" extensions="VE_AutoLeadController" lightningStylesheets="true" >
<apex:slds />
<!-- LEFT({!$Api.Partner_Server_URL_260}, FIND( '/services', {!$Api.Partner_Server_URL_260})) -->
<!-- LEFT( {!$Flow.FaultMessage}, Find("You can look up ExceptionCode", {!$Flow.FaultMessage} ) -1) -->
<apex:pageBlock title="Selected Records">
<apex:pageBlockTable value="{!selectedLeadRecords}" var="lead">
<apex:column headerValue="Name" value="{!lead.Name}" />
<apex:column headerValue="Email" value="{!lead.Email}" />
<apex:column headerValue="Company" value="{!lead.Company}" />
<apex:column headerValue="Rating" value="{!lead.Rating}" />
<apex:column headerValue="Phone" value="{!lead.Phone}" />
</apex:pageBlockTable>
</apex:pageBlock>
<apex:pageBlock title="Convert Leads">
<flow:interview name="List_View_Flow"
buttonStyle="slds-button slds-button_brand"
rendered="true"
buttonLocation="bottom"
finishLocation="{!URLFOR($Action.Lead.Tab, $ObjectType.Lead)}"
showHelp="true" >
<apex:param name="varLeadRecordIds" value="{!leadIdsSet}"/>
<apex:param name="varLeadRecords" value="{!selectedLeadRecords}"/>
</flow:interview>
</apex:pageBlock>
</apex:page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment