The fields / elements of an example weather alert that can be optionally configured as noted in step 9.
The text label color (Primary Color), card background color (Card Background Color), and accent color (Accent Color) can all be configured from the ‘Block Card Settings’ section of the ‘Customization’ tab in BLOX Mobile App Manager.
BLOX Mobile NX - Weather Alerts
An example weather alert.
Overview
The details of an example weather alert.
Depending on the area you are located, there are a lot of noteworthy weather events from tornadoes to floods to forest fires. In order to provide readers with timely alerts and notices we have added a block called “Weather alerts”. This is a banner-like block which features weather alerts from the National Weather Service (https://alerts.weather.gov) based on zip code. Additional information can be viewed when the user interacts with the block. All formatting is provided by NWS.
📝 Please note these alerts are delivered while the app is running and are not push notifications delivered outside of the app.
Prerequisites
BLOX Mobile NX version 1.12.0 (Minimum app version: 216.0)
How to
To setup weather alerts, follow the directions below.
The fields / elements of an example weather alert that can be optionally configured as noted in step 9.
The text label color (Primary Color), card background color (Card Background Color), and accent color (Accent Color) can all be configured from the ‘Block Card Settings’ section of the ‘Customization’ tab in BLOX Mobile App Manager.
From the BLOX BLOX Admin, open Design/Blocks (the "Blocks" application in the upper left menu under "Design")
Navigate to the Mobile NX endpoint (typically /native)
Click to open the section under your Mobile NX endpoint you would like to display the alerts
Under ‘Blocks’, click ‘+New’ to create a new Content Block
Select ‘Static (no assets)’ for the block type
Select the block type named ‘Now: Weather’
📝Enter ‘now’ in the ‘Choose a block template’ search above to narrow down the list.
On the Appearance Tab, under General Settings, check the ‘Card style’ box and select ‘Weather alerts’.
⚠️Do not select ‘Weather alerts slider’
Optionally override the default zip code - On the Appearance Tab, under General Settings, check the ‘Zip code’ box and enter a new zip code.
📝 By default, the zip code set in the Site Settings will be used.
Optionally adjust settings (Primary Color, Card Background Color, and Accent Color) in the ‘Block Card Settings’ section of the ‘Customization’ tab to match the block to your branding and overall app design.
Click ‘Save changes’
Drag to place the block onto the page where you want it to display
Click ‘Save block layout changes’
📝 The block should appear roughly 15 minutes after cache has cleared. Please note the block will not appear if there are no alerts to be shown.