Custom Button Example: Pass Record IDs to an External System
You can use Salesforce record IDs as unique identifiers for integrating with an
external system. This example creates a button that calls a Visualforce page to determine
the record IDs of selected records and passes them in a URL query parameter to an external
Web page called www.yourwebsitehere.com.
Required Editions
Available in: Salesforce Classic
Custom buttons and links are available in: All Editions
Visualforce
pages and s-controls are available in: Contact Manager, Group,
Professional, Enterprise, Performance, Unlimited,
and Developer Editions
User Permissions
Needed
To create or change custom buttons or links:
Customize Application
Create a Visualforce page that uses the GETRECORDIDS function to retrieve a
list of selected records:
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.