This page provides an overview of URL Parameters that can make the Executive Education Open Enrollment form more dynamic and customizable.
There are three optional URL parameters that can be used with this form:
inv
Purpose: Hide or show the Reserve and Invoice button
Allowed values: [true,false]
program
Purpose: Prefill the *Program dropdown selector
Allowed values: PriceBookEntry record id (see below for details)
session
Purpose: Prefill the *Session dropdown selector
Allowed values: Campaign record if from the Session (see below for details)
Please note:
The Open Enrollment Registration Form can be accessed here: https://eccles.secure.force.com/ExecEdApplication
To learn more about using URL parameters, visit: https://developer.mozilla.org/en-US/docs/Learn/Common_questions/What_is_a_URL#parameters
All URL parameters are case sensitive
if a url paramter "inv=true" is added to the url, customers should see two buttons at the bottom of the page: Reserve and Pay Now, Reserve and Invoice. If that URL parameter is missing, set to false, or has any other value, the Reserve and Invoice button will be removed.
Note: You may use the inv URL parameter with or without any other URL parameters.
Omitting the inv url parameter will hide the Reserve and Invoice button.
Using any value other than "true" with the inv url parameter will hide the Reserve and Invoice button.
Using the value of "true" with the inv url parameter will display the Reserve and Invoice button.
A URL parameter "program" can be used to prefill the Program picklist. The value must be the record id for a pricebook entry (starts with 01u). The Session dropdown selector will automatically fill with the available Session for the Program. If a bad ID or value is added, the picklist will default to "*Program"
Navigate to the Products tab and select your desired record: https://eccles.lightning.force.com/lightning/o/Product2/list?filterName=Recent
Select the Related tab, click the arrow to the right of the record and select View
Copy the 18-digit record id from the URL (must begin with 01u)
Note: You may use the program URL parameter with or without any other URL parameters.
Be sure to select the View option on the right, not the record name link on the left. Both of these have different Record Ids.
Retreive the 18-digit record id from the PriceBookEntry URL. It must begin with 01u.
When using a PriceBookEntry record id with the program URL parameter, the *Program dropdown selector will pre-fill with the corresponding Campaign Program.
A URL parameter "session" can be used to prefill the Session picklist. The value must be the record if for a session campaign. If a bad ID or value is added, the picklist will default to "*Session".
Navigate to the Active Session Campaign Record
Copy the 18-digit record id from the URL (must begin with 701)
Note: When using the session URL parameter, you MUST also use use the correct program url parameter. The inv URL parameter is optional.
Using both the program and session URL parameters, the form will prefill both the *Program and *Session dropdown selectors.
If the program URL Parameter is omitted when using the session URL parameter, no values are prefilled on the form.