Skip to content

Instantly share code, notes, and snippets.

@amitastreait
Created February 21, 2022 06:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amitastreait/b69b57b047d94bfef4da59da11db102b to your computer and use it in GitHub Desktop.
Save amitastreait/b69b57b047d94bfef4da59da11db102b to your computer and use it in GitHub Desktop.
<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