List-view mass action
With a list button, people can tick records in a list view and make a document for each one, without building a Flow and without asking an admin. An admin adds the button once per object. After that, people use it on their own.
Add the button (admin, once per object)
Section titled “Add the button (admin, once per object)”
- Go to Setup > Object Manager and pick the object, such as Account, Opportunity, Contact, Case, Lead, Order or a custom object.
- Open Buttons, Links, and Actions and click New Button or Link.
- Set Display Type to List Button, and tick Display Checkboxes (for Multi-Record Selection).
- Set Behavior to Display in existing window with sidebar, and Content Source to URL.
- Enter this URL:
/flow/Generate_Sliick_Docs_From_List_View - Save. Then add the button to the object’s List View Button Layout.
The same URL works on every object. Sliick Docs works out the object from the records you tick.
Use it
Section titled “Use it”
- Open a list view that has the button, and tick up to 200 records.
- Click the button in the list view’s button bar (for example, Generate Sliick Docs, or whatever name your admin gave it).
- Pick a template made for that object.
- Pick an Output mode: Individual PDFs (one per record), Combined PDF (single file), or Both (individual + combined). You can also give the run a Batch label (optional), such as “Q3 renewals”.
- Click Submit batch. The run appears on the Doc Batches tab, where you can watch its progress.
There is no PDF or Word choice here. The run uses the template’s own format: PDF when the template makes PDFs, otherwise Word. See Word output.
Note: 200 is the most records Salesforce lets you tick in a list view. For bigger runs, start a batch by filter or by report on the Doc Batches tab.