Mission Trips List in PocketPlatform
Just like the Mission Trip Finder widget — for your app!
You can add the Mission Trips list screen to PocketPlatform. App users can search for available mission trips, which are sorted by soonest dates first.
- A mission trip displays in the list when it meets the following criteria:
- The Pledge Campaign record has Allow Online Pledges set to Yes.
- The Pledge Campaign record has Event set to the mission trip.
- The mission trip's Event record has an End Date in the future.
- The mission trip's Event record has been approved, meaning both Approved and Web Approved are set to Yes.
- You can pass in the Campaign Type ID to the screen. This is useful, for example, if you want to have separate screens for short-term mission trips and community mission trips.
- Mission trips are sorted chronologically by start date.
- The file attached to the campaign (if available) displays at the top of the card.
- The title is sourced from the Campaign Title on the Pledge Campaign record.
- The capacity is calculated based on the number of active pledges on the campaign compared to the Max Registrants value on the Pledge Campaign record.
- The description comes from the Description field on the Pledge Campaign record. It shows up to three lines of text.
- If the pledge campaign is associated with an event, trip dates from the Event record display. Otherwise, the trip dates do not show.
- When the user taps a card, the Mission Trip Detail screen opens.