Prayer Session

Allows the user to read through and pray for prayer requests.

Getting Content

Content is passed in through a page parameter, referenced as RequestGuid. There are quite a few examples of passing page parameters (also known as query parameters) lying around the documentation, and here is a great example.

Page parameters

The parameters that this block looks for are as follows.

NameTypeDescription

PrayerCategory

Guid

Optional guid of the category key.

GroupGuid

Guid

An optional Guid to filter prayer requests to the specific group.

MyCampus

bool

An option boolean to filter to the context of the current campus.

Block Configuration

Prayed Button Text

The text to display inside the Prayed button. Available in the XAML template as Lava variable PrayedButtonText.

Show Follow Button

Indicates if the Follow button should be shown. Available in the XAML template as lava variable ShowFollowButton.

Show Inappropriate Button

Indicates if the button to flag a request as inappropriate should be shown. Available in the XAML template as lava variable ShowInappropriateButton.

Public Only

If enabled then only prayer requests marked as public will be shown.

Inappropriate Flag Limit

The number of flags a prayer request has to get from the prayer team before it is automatically unapproved.

Template

The template to use when rendering prayer requests.

Merge Fields

In the template, you have access to these objects:

FieldTypeDescription

PrayedButtonText

string

ShowFollowButton

bool

ShowInappropriateButton

bool

SessionContext

string

A JSON dictionary representing the Session Context.

Request

PrayerRequest

Create Interactions for Prayers

If enabled then this block will record an Interaction whenever somebody prays for a prayer request.

Include Group Requests

Includes prayer requests that are attached to a group.

Order

The order in which to display the individual prayer requests. Please note, that if the request has the Urgent flag it will be displayed before the actual ordering configured in this block.

Last updated

⚙️ Powered by Rock RMS