Difference between revisions of "Lianja App Center Tiles"

From Lianjapedia
Jump to: navigation, search
(Overview)
Line 30: Line 30:
  
  
Lianja v5.1 introduces tabs for grouped Apps in the App Center.  In the Lianja App Builder you will now see a separate '''Develop''' tab with tiles for the Getting Started and Create/Manage tiles:
+
Lianja v5.1 introduced tabs for grouped Apps in the App Center.  In the Lianja App Builder there is a separate '''Develop''' tab with tiles for Getting Started help and quick link tiles for common development actions.
 +
 
 +
These quick link tiles have been expanded in Lianja v5.3.
 +
 
 
[[{{ns:file}}:tiles_2a.png|800px|border|left|link={{filepath:tiles_2a.png}}|Lianja App Builder: Develop]]
 
[[{{ns:file}}:tiles_2a.png|800px|border|left|link={{filepath:tiles_2a.png}}|Lianja App Builder: Develop]]
 
<br clear=all>
 
<br clear=all>
 
   
 
   
and an '''Examples''' tab for the example Apps included in the distribution:
+
The '''Examples''' tab gives access to the example Apps included in the distribution:
 
[[{{ns:file}}:tiles_2b.png|800px|border|left|link={{filepath:tiles_2b.png}}|Lianja App Builder: Examples]]
 
[[{{ns:file}}:tiles_2b.png|800px|border|left|link={{filepath:tiles_2b.png}}|Lianja App Builder: Examples]]
 
<br clear=all>
 
<br clear=all>

Revision as of 09:00, 27 March 2020

This article explains how to Publish your Apps, configure the appearance of your Apps' Tiles and create Tiles with dynamic content.

The target audience is developers who have read through and understood the Getting Started with Lianja tutorial.

See Also

Overview

As a user in the Lianja App Center you have one-click access to the Published Apps available to your login.

To load an App, scroll vertically through the Categories and just click on a Tile to load the App.

Lianja App Center


As a Developer in the Lianja App Builder, the App Center Home screen also includes a series of Tiles to lead you through the steps of developing a Lianja App.

  • Create a Project
  • Create an App
  • Create a Database
  • Create a Table
  • Manage Data
  • Manage Users
Lianja App Builder



Lianja v5.1 introduced tabs for grouped Apps in the App Center. In the Lianja App Builder there is a separate Develop tab with tiles for Getting Started help and quick link tiles for common development actions.

These quick link tiles have been expanded in Lianja v5.3.

Lianja App Builder: Develop


The Examples tab gives access to the example Apps included in the distribution:

Lianja App Builder: Examples


You can create your own tabs to group your Apps by specifying the tab name in the App Center Tile 'Category' setting.

You can still access each of the different Workspaces at any time via the Modebar and the Documentation is also just a click away (as is the Application Repository from v5.0).

Lianja App Builder Documentation


Publishing an App in the App Center

To Publish an App in the App Center, the Published setting for the App must be set to True.

With the App open in the App Builder, click on the Settings button at the bottom of the Modebar to access the App Attributes in the App Inspector:

Publish App: App Inspector


Or, if the App Inspector is closed, in the Settings dialog:

Publish App: Settings Dialog


App Settings

Settings is also where you control how your App's Tile will be categorized and its position and appearance.

New Tile


In the screenshot above, the following settings have been specified:

Attribute Description
Category Tile will be listed in the 'Tutorials' horizontal Category. For v5.1 and later, see below.
Caption Tile title will be 'roledemo'.
Background color Tile background color will be purple.
Tile size Tile will be 2x1. Sizes can be from 1x1 up to 4x4.
Tile order Tile will be ordered automatically (0). Specifying a non-zero for Tiles within a Category will order them from lowest to highest.

As soon as you click Done and return to the Home App Center screen, you will see the changes you have made to your Published App's Tile.

From v5.1, include the tab name in the Category setting. So to display the tile in the Examples tab, specify the Category as:

Examples|Tutorials
New Tile in Examples Tab (From v5.1)


And here the tile has been added to the Workspaces category in the new Tutorials tab:

Tutorials|Workspaces
New Tile in New 'Tutorials' Tab (From v5.1)


Dynamic Tiles

Dynamic Tiles are Tiles whose contents are based on a script. The script can generate HTML output or just output a URL which will be rendered by an AJAX call inside the App Center. Any of the supported scripting languages can be used.

The contents of the Dynamic Tile are updated every time the Dynamic tile timer interval (in seconds) expires.

Dynamic Tile


This example (example_dynamictile1 - 'Employee Sales by Year') runs the businessoverviewmonth.rsp script to output HTML and updates every 5 seconds.

The other Demo Dynamic Tile samples included in the distribution (example_dynamictile2 - 'Product sales by month' and example_dynamictile3 - 'Product sales by region') show how to output a URL for a Google Chart.

Note that here the Dynamic contents Attribute has been checked. If this is set to True, the Dynamic Tile is used for display purposes in the App Center only and users cannot run the App. Set to False and you still have your Dynamic Tile, but it can also be clicked to give users access to the App.

Dynamic Badges

Lianja v5.1 introduces Dynamic Badges. These work in a similar way to Dynamic Tiles, but display an informational 'badge' on an App Tile. The badge contents are based on a script. The script can generate HTML output or just output a URL which will be rendered by an AJAX call inside the App Center. Any of the supported scripting languages can be used.

The contents of the Dynamic Badge are updated every time the Dynamic Badge timer interval (in seconds) expires.

Dynamic Badge