Skip to main content
Version: v11.6.2

Using Media List

Overview

Media List can be used to display images in a Hybrid Mobile App.

In this post we will be creating a page with Media List to display employee’s pictures. We will be using the Sample HRDB for this example. medialist_run

  1. Open or Create a Hybrid Mobile App.

  2. From the Main Menu, using the Import -> Connect to Datbase option import the sample hrdb. bs_dbimport

  3. Create a live variable with source as ‘hrdb’, type as ‘employee’ and operation as read. medialist_lv

  4. Drag and drop Media List widget on the page.

  5. Bind the dataset value property of Medial List to ‘employees’ live variable dataset created in the previous step. medialist_bind

  6. From the Properties panel set Thumbnailurl and Mediaurl to the picurl property of the Live Variables to Thumbnailurl and media url. NOTE: In this example, we are using the original picture for both Thumbnail and Media. medialist_props

  7. Click Run to preview the Media List. medialist_run