Work With object

Official Content
This documentation is valid for:

The Work With object is an instance of the Work With Pattern.

You can apply the Work With pattern to a Transaction object in order to obtain automatically and quickly a mobile app like the one described below.

In user interfaces, you frequently find a view that shows a list of items and when one of them is selected, that item's detail is displayed. Sometimes this pattern is called Master-Detail. Given that, you have a list of items and you want to perform an action on them, in Genexus it is called Work With Pattern.

The Work With Pattern has two elements: List and Detail.



It is the list on which you will be working on. Conceptually, what is associated with a list is a panel that contains a grid with the data. Over this panel, you have a default Action, which basically indicates that when an item is selected, its Detail has to be displayed. Given that in concept it is just a panel, in the list, you have the same elements of a panel: actions, conditions, layouts by platform, etc.

  • List of Properties (Houses, Apartments)
  • List of Real Estate Companies

It is possible to apply filters, orders, and searches to lists. There are also several ways to show data and it is even possible to act upon the list.


It is the panel in which the selected item details will be displayed. Since it is a panel, it also has the same elements as Panel object.

For example, when looking at the list of properties, selecting one gives access to:

  • Detailed info on the property
  • Related information (e.g. its appointments)
  • Actions (schedule a visit to the site, send an email to the real estate firm offering the property, approve orders, etc.)

When displaying a set of data and its relations, there's always the problem of how to show this data in an ordered manner that can be understood by the end-user. For this reason, the Work With Pattern provides the concept of Section within a Detail.


A Section is just a group that allows you to separate certain operations of the user interface within the detail. Once again, panels are the basic elements that allow you to manipulate a section. That is to say, in a certain section, you have data, actions, layouts, etc.

When using a Section, you must have a way to organize them within a Detail. To do so, in the Detail layout you can make reference to one or more sections. Given that the Detail allows multiple layouts per platform, it may happen that some sections are displayed on one platform but not in another.

See Also


Start Video Conceptual model of mobile applications
Start Video Container of sections in the Detail screen of the Work With

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