Website logo
✅ Sign up👥 Community🎯 Samples on GitHub🚦 System Status
💡 Guides
🚀 Examples
🍕 Developer Reference
⚡️ Changelog
🎥 Video Library
Navigate through spaces
⌘K
Welcome to Jigx Documentation
Getting started
Creating an account
Install the Jigx Builder
Use templates to create apps
Create an app from scratch
Use pre-built solutions
Planning your app
Understanding the basics
Jigx Overview
Jigx Concepts
Authentication
Jigx color palette
Jigx icons
Building Apps with Jigx
Jigx Builder Overview
Install
Settings
Editor
Create a new Jigx Solution
Publishing a solution
Debugging
Home Hub Experience
Index settings
Templates
Inputs & Outputs
Forms
Data
Expressions
Advanced Expressions
Expressions - cheatsheet
Notifications
Stories
Localization
Tips, tricks and shortcuts
Administration
Management Overview
Permissions - User Roles
Users
Solutions
Notifications
Organization Settings
Troubleshooting (Organization)
Quick Start
My profile
Docs powered by Archbee
Building Apps with Jigx

Stories

4min

Any solution can publish content (e.g. news about companies, product promotions, announcements, new videos, etc.) to a dedicated area on Home Hub called Stories.

Stories on Home Hub
Stories on Home Hub

Story Details
Story Details


Story Groups

You can group stories into Story Groups to make it easy for users to swipe through Stories related to a certain topic/theme (e.g. news, videos, announcements, etc.). In the above example (left screenshot) the first story of the story group Account News is displayed and users can tap on it to see all stories within that story group. A timer will advance to the next stories automatically but users can also swipe left to navigate to the next one quickly.

There can be more than one story group and by swiping left on the stories carousel on Home Hub, users can go to the next story group.

Publishing Stories

In your Jig, define a stories section on root level and assign a datasource using the data option. All stories will then be grouped in the story group you define via groupname.

A story can be an image, video, link to any URL (open-url), or other Jig including passing parameters (go-to) or other actions in the onPress option.

news.jigx
promotions.jigx
stories:
  type: component.story-group
  options:
    data: =@ctx.datasources.news
    groupName: Account News
    item: 
      type: component.image
      options:
        source:
          uri: =@ctx.current.item.image
        resizeMode: cover
        title: =@ctx.current.item.headline
        subtitle: =@ctx.current.item.summary
        onPress: 
          type: action.open-url
          options:
            title: Read more
            url: =@ctx.current.item.url


For your stories to be displayed on Home Hub you have to add the Jig (news) to your index.jigx file:

index.jigx
title: My Solution
category: sales

widgets: ...
  
stories: 
  - news
  - promotions


Permissions for Stories

You can use the Customer Portal to set permissions for stories. An example would be stories that should be only visible for users in a Managers group but not for all staff. Learn more about this in the Stories section of the 

You can find the above examples in the jigx-samples app on Github.



Updated 14 Jul 2023
Did this page help you?
PREVIOUS
Notifications
NEXT
Localization
Docs powered by Archbee
TABLE OF CONTENTS
Story Groups
Publishing Stories
Permissions for Stories
Docs powered by Archbee
Copyright © 2023 Jigx, Inc. All rights reserved. Terms of Service