This Activity Template supports two types of Content Blocks:
Content-only: These are simply displayed to the user and do not gather any response from the user (eg. images, videos, text, and embedded web elements).
User-response: These can gather responses from the user (eg. multi-choice, text responses, and multi-response).
This Activity Template also supports Cogniss Markup Language (CML) — which you can use to personalize text content for your users.
Example of the Content and Survey Activity Template in Web and Mobile view.
Content in this Activity Template is highly configurable in the way it is presented to the user.
With this Activity Template, you can use any type of Content Block — text, images, videos, external media, multiple-choice questions, collapsible content, and more.
How to set up
Create a Topic
When creating the Topic to be used with this Activity Template, ensure it is set with the following attributes:
Type = SURVEY
Content type = MIXED
Create an Activity
After you have created the relevant Topic, you need to create an Activity to link to.
Remember: An Activity is built using an Activity Template and Topic. For more details, refer to our article, Content structure overview.
Ensure that the Activity has been set up with the following attributes:
Name = The name displayed to the user for the Activity
Topic = The Topic you wish to assign to this Activity
Template = Content and Survey
Create a Content Block
To create a Content Block, navigate to the Content tab of the Cogniss creator sidebar.
Ensure you have created a Subject and Topic for your Content Block to be placed in.
Click the relevant Topic and then click Create new content block, which is on the top right-hand side of Creator.
Edit the Content Block as you wish.
Click Save changes.
Group Content Blocks using Views
You can edit your app user experience by grouping Content Blocks into Views. It is a method of combining Content Blocks so that they are shown on a single page/screen of your app. Using Views reduces the number of times a user has to click to the next page/screen of your app.
To create a View:
At the Content-Block level, you will see a tab called View. Click on this and click Create new view.
Fill in the Page label and Button label.
Add the Content Block you wish to include in this particular View using the dropdown option. To add more Content Blocks to this View, click Add content block.
Click Save changes.
If you wish to change the order of the different Views (app pages/screens), you can re-order them using the drag-and-drop button. Keep in mind that the top most View is the first page/screen your users will see.
Types of Content Blocks
As mentioned earlier, the Content and Survey Activity Template supports two types of Content Blocks: Content-only and User-response.
Content-only
These are Content Block types that do not require a response from the user.
TEXT_CONTENT
Displays selected text.
IMAGE_CONTENT
Displays a selected image.
COLLAPSIBLE_TEXT
Displays a text box that expands to show the full content once clicked on.
AUDIO_CONTENT
Displays an audio player.
WEB_VIEW
To display external websites.
To embed external media files such as YouTube and Vimeo.
User-response
These are Content Block types that require a response from the user.
TEXT_RESPONSE
Allows user to input a text response.
NUMBER_RESPONSE
Allows user to input a number response.
DATE_INPUT
Shows date selector for user to input a specific date.
MULTICHOICE
Displays multiple predefined options, allowing the user to select only one option.
MULTISELECT
Similar to multi-choice response, but allows user to select more than one option.
Allows users to upload an image file.
AUDIO_RESPONSE
Allows users to upload an audio file.
SLIDER
Allows users to input a number using a slider within a pre-determined numeric range.
SEQUENCE
Shows a list of predefined items. Users can order them according to preference.
For more info on Subjects, Activities, Topics, and Content Blocks, refer to Content structure overview.