Note Replace www.yourwebsitehere.com with your own URL." },{ "@type": "HowToStep", "text": "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." },{ "@type": "HowToStep", "text": "Display Type─List ButtonNote Select Display Checkboxes (for Multi-Record Selection) so users can select multiple records in the list before clicking the button." },{ "@type": "HowToStep", "text": "Behavior─Display in existing window with sidebar" },{ "@type": "HowToStep", "text": "Content Source─Visualforce Page" },{ "@type": "HowToStep", "text": "Select the Visualforce page you created in the first step." },{ "@type": "HowToStep", "text": "Add the button to the appropriate page layout or list view layout." }] }

Passing Record IDs to an External System


  1. Create a Visualforce page that uses the GETRECORDIDS function to retrieve a list of selectedrecords:Note Replace www.yourwebsitehere.com with your own URL.
  2. 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.
  3. Display Type─List ButtonNote Select Display Checkboxes (for Multi-Record Selection) so users can select multiple records in the list before clicking the button.
  4. Behavior─Display in existing window with sidebar
  5. Content Source─Visualforce Page
  6. Select the Visualforce page you created in the first step.
  7. Add the button to the appropriate page layout or list view layout.

Was this helpful?