Actually I want to add quick action or lightning action on list view layout of object.so on click of this action or button by multiselecting records from list view I want to perform particular action for those selected records only(in lightning)
hi Dipika Rajput you can use standred buttons/action or create new custom button for list view in lightning. in lightning ---> setup --> object manager --> select your object and go to Search Layouts section here you can create new action button or select standard buttons hops it helps you ,let me infrom if it helps you and mark it best answer if it helps you so it make proper solution for others in future thanks http://sfdcmonkey.com
Thanks for your reply . But what u mentioned in above answer that I have done already. but in this case after adding a custom button in serach layout that button is still not visible on list view layout of account in lightning .(It is visible in classic salesforce )
you can use standred buttons/action or create new custom button for list view in lightning.
in lightning ---> setup --> object manager --> select your object and go to Search Layouts section
here you can create new action button or select standard buttons
hops it helps you ,let me infrom if it helps you and mark it best answer if it helps you so it make proper solution for others in future
thanks http://sfdcmonkey.com
Thanks for your reply .
But what u mentioned in above answer that I have done already. but in this case after adding a custom button in serach layout that button is still not visible on list view layout of account in lightning .(It is visible in classic salesforce )
https://developer.salesforce.com/blogs/developer-relations/2016/09/take-the-first-steps-ways-you-can-replace-javascript-buttons.html
http://Run a mass action on multiple records in a list view (http://Run a mass action on multiple records in a list view)
let me inform if it helps you
thanks
https://developer.salesforce.com/blogs/developer-relations/2016/09/take-the-first-steps-ways-you-can-replace-javascript-buttons.html
In this link we have a feature listed at the last which is :- Alternative: Custom Visualforce Button
which will solve my problem but unfortunately this feature will be available in winter '17 .So for now it will not help me.
Thanks for your help.
The feature you are looking or is now available as part of the Spring 18 release. you can add quick action also on the list view.
Thanks,
Vivek Shatamraj
If you found useful please give a thumsUP :)
thanks in advance,
Gaurav
I created a custom list button which is not working in lightning where as it is working in classic.
@sindhu: What source u selected for the list button?
If its onClick JS, it wont work in Lightning.
I have selected Visualforce Page.
<apex:page standardController="Address__c" recordSetVar="Addresscreation">
<apex:includeScript value="/lightning/lightning.out.js" />
<apex:slds />
<div id="lightning" />
<script> //Tell your Visualforce page to use ExposeVF Lightning app $Lightning.use("c:AddressCreation", function() {
// Write a function that creates the component on the page
$Lightning.createComponent("c:AddressCreation",
{"recordId":"{!$CurrentPage.parameters.Id}",
"invokedBy":"AddressCreation" }, "lightning", function(cmp) {
});
});
</script>
</apex:page>
Mass quick action is a proper solution in this case:
https://help.salesforce.com/articleView?id=cases_set_up_lex_mqa.htm&type=5
stack overflow solution (https://stackoverflow.com/questions/56380637/why-does-urlfor-function-for-a-list-view-button-function-differently-between-s)
As part of the URLFOR() function, you can pass a parameter in the third argument.
What I haven't figured out is how to pass the selected list.Any ideas?