Widget Configuration
Required Attributes
- Pledge Campaign ID: Determines the Campaign ID of pledge campaigns that are eligible to display in My Mission Trips.
- Attribute: pledgecampaignid
- Valid Value: Pledge Campaign ID (this is the Missions Trip ID)
- Example:
pledgecampaignid="2"
Recommended Attributes
- Applicant Email Template: Confirmation email sent after an individual has successfully submitted an application.
- Attribute: applicantemailtemplate
- Valid Value: Message record ID (dp_Communications.Communication_ID) or empty for unspecifiedNote: The applicant email comes from a Message, not a Message Template. Similar names but very different things.
- Merge Fields and Snippets: Personalize your message with Merge Fields! Want to get really fancy? You can use snippets in your widget messages. Just add the Domain_GUID and Contact_GUID to the Default Field List of the table on which the record is created by the widget.
- Open the Domain record and copy the Domain GUID.
- Open the Page record and edit the Default Field List.
- Add Contact_ID_Table.[Contact_GUID] AS [Contact GUID].
- Add '<DOMAIN GUID HERE IN QUOTES>' AS Domain_GUID.
- Save the Default Field List.
- Ensure your snippet includes both the Domain_GUID and Contact_GUID.
- Example:
applicantemailtemplate="1200"
Attributes must be included before the opening widget tag is closed. Attributes may be listed in any order and should be separated by a space or other whitespace. An attribute's value should be wrapped in quotation marks.
<mpp-mission-trip pledgecampaignid="5" applicantemailtemplate="1200"></mpp-mission-trip>
Configure Your Widget
Fill out the Widget Configurator below, copy your generated widget code, and paste it into your website.