You need to sign in to do that
Don't have an account?
Pooja Nekkalapudi
Launch a flow in a modal dialog from a List Button using Aura Component that renders ListView
aura.com
<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable" access="global">
<lightning:listView aura:id="listViewSuggestedCompanies"
objectApiName="Coverage_Team__c"
listName="My_Suggested_Companies"
rows="5"
showSearchBar="true"
showActionBar="true"
enableInlineEdit="true"
showRowLevelActions="true"
/>
Need to add two buttons that launch a flow in modal dialog rather than in a new window/same window
Shown Like below
On click should open
<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable" access="global">
<lightning:listView aura:id="listViewSuggestedCompanies"
objectApiName="Coverage_Team__c"
listName="My_Suggested_Companies"
rows="5"
showSearchBar="true"
showActionBar="true"
enableInlineEdit="true"
showRowLevelActions="true"
/>
Need to add two buttons that launch a flow in modal dialog rather than in a new window/same window
Shown Like below
On click should open
Try the below code, this might help you to run flow in a modal dialog.
Controller
Please mark it as Best Answer if the above information was helpful.
Thanks.