0

Example

I would like to add a quick action button to the list view page for custom object Invoice__c, the quick action is called Generate Invoices and when executed will run apex code to generate 100 Invoice__c records.


I would like to add a quick action to a custom object list view in Salesforce Lightning which opens a Lightning Component.

But as far as I can see it is not possible (at the moment).

So, what are my options for triggering/executing some Apex code from a custom object list view?

2
  • Is this for Lightning or Classic? Commented Nov 3, 2018 at 13:34
  • 1
    Can you elaborate a bit on your use case? As what is the expected functionality from related list?
    – Jayant Das
    Commented Nov 3, 2018 at 13:47

1 Answer 1

2

You can create a Visualforce List view button and then from Visualforce page can call your apex code. Once the execution is complete you can redirect back to List view

enter image description here

Adding Custom List Buttons using Standard List Controllers

Use Visualforce in Lightning Experience

1

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .