Bulk Actions Example
- Define Action Behavior with Apex Controller Class and MethodsDefine an Apex controller class and methods that generate a list of accounts shown in the table widget, create an opportunity for each account, and return the progress of each task.
- Create a Visualforce Page That Executes the ActionThe Visualforce page calls the methods defined in the Apex controller class to invokethe action and provide a status on the tasks.
- Assign Bulk Action to Table WidgetConfigure the table widget properties to expose the bulk action defined in the Visualforce page.