Dashboard object

A Dashboard is usually the entry point of a Smart Device application. It displays a set of items the user may choose from, for example it may display items such as Work With for Smart Devices object, Panel for Smart Devices object, Dashboards, links to web pages or actions like making a phone call or sending an email.

You can create a Dashboard from the New Object dialog of GeneXus:

New Object - Dashboard

The Dashboard object has the following properties:

Name property Name for the object.
Description property Description of the object.
Module/Folder property Folder object or Module Object to which the object belongs.
Main Program property If this property is set to True, then the "Main Object Properties" group will be available (see Smart Devices Main object properties).
Enable Data Caching property To specify that the object will or will not use data caching.
Check For New Data property Indicates whether it uses cached data or asks the server if the data has been changed.


Once a Dashboard has been created it will have a tree like interface where you can add the items you wish to be displayed on it, and adjust their properties to your needs. Also some other properties can be set, to the Dashboard, by selecting the 'Dashboard' item on the tree:



Title Title for this Dashboard.
Background Menu background image.
Header property Menu header image.
Class The class of the Dashboard.
Show Applications Bars  
Application Bars Class  
Show Ads?  
Ads Position?  


Dashboard Items

The Items are the elements that will compose the Dashboard (generally Work With for Smart Devices associated to the Transaction object).

To add new Items drag the WorkWithDevices instance from the folder view and drop it in the dashboard node or press right button on the Dashboard node, Add option/Action:


Each Item has the following properties:

Name Name of the option.
Description Description of the option. If the description is empty the name property is used as description. If you want an empty description in the dashboard is needed to add a blank space in the property.
Image Image of the option (*).
Class Class of the theme.

(*) If Dashboard Control property is set to value Tabs, iOS and Android require the image file format to be PNG and only its transparency will be taken into account.




See also

Several ways to show a Dashboard
Calling objects from Dashboard Events for Smart Devices


Start Video Overview of the development of GeneXus applications for smart devices (part 3 1:50)

Subcribe to this category's changes
Sub CategoriesAdd a new subcategory in this category
PagesAdd a new page in this category