Structured Content View
Displays a structured content channel item for the user to view and fill out.
This block displays structured content from Rock in the app. You can use this to display interactive sermon notes with tap-to-reveal areas and note-taking areas.
Block Settings
Name | Description |
---|---|
The XAML content to render when there is no document found. Leave blank to render nothing. |
Content Channel
You'll see a channel called "Message Notes" that comes out of the box with Rock, so you typically won't need to set this up manually unless you have another purpose in mind. When editing a content channel, you can check the Is Structured Content option to enable this functionality. This will change the Default Content Control option to Editor Tool Configuration.
Adding new child items to this content channel will allow you to edit the structured content with a rich editor. Check out the Supported Formatting section to see what's available. In order to link this note item to a Message, simply add it as a child to the content channel item for the Message.
Mobile App
In the app, you'll need a page with the Structured Content View block added. Thankfully there aren't any block settings to worry about, so you'll just need to add a link to this page that passes context using the ItemGuid
query string with a value of the content channel item GUID. In the case of Message Notes, you can use Lava to look at the ChildItems of a message to get the Notes/Structured Content item.
Supported Formatting
Not all formatting options are supported natively in the app, but here's what can be used safely:
Text
Heading
List (ordered and unordered)
Image
Image captions
ChecklistQuote
Left-aligned
Center-aligned(stays aligned left)
WarningCode
Note (can be left blank or default content entered)
DelimiterLinkTable
When highlighting text, the following formatting is supported:
Bold (depending on font support)
Italic (depending on font support)
LinkMarkerFill-in
Code
Notes
When using note blocks in structured content, they will only display if a user is logged in. We recommend putting a content block above this one that only displays if a user is not logged in, and prompts them to log in or at least lets them know that the notes are missing until they do so.
Last updated