Passing Record IDs to an External System
- Create a Visualforce page that uses the GETRECORDIDS function to retrieve a list of selectedrecords:Note Replace www.yourwebsitehere.com with your own URL.
- Define a button for accounts with the following attributes.Display Type─List ButtonNote Select Display Checkboxes (for Multi-Record Selection) so users can select multiple records in the list before clicking the button.Behavior─Display in existing window with sidebarContent Source─Visualforce PageSelect the Visualforce page you created in the first step.
- Display Type─List ButtonNote Select Display Checkboxes (for Multi-Record Selection) so users can select multiple records in the list before clicking the button.
- Behavior─Display in existing window with sidebar
- Content Source─Visualforce Page
- Select the Visualforce page you created in the first step.
- Add the button to the appropriate page layout or list view layout.