Work With for Web

Official Content
This documentation is valid for:

The Work With for Web pattern features the following:

The Web Form Defaults property should be set to Responsive Web Design. Otherwise, check the compatibility notes below.

Objects generated by the Work With for Web pattern

The Work With for Web will generate the following objects for each selected Transaction:

Work With Web Panel

It's a Web Panel object with a grid that lists all the records in a table and includes the following features:

  • Paging
  • Conditional Filters
  • Multiple Orders
  • Control Info for Filter Attributes
  • Standard Actions
  • Export to Excel
  • Save Grid State

View Web Panel

It's a Web Panel object that shows all the information of a record that has been selected in the grid of a Work With Web Panel. It shows the record's data in a tab, and also shows one tab for each subordinated table, containing a grid with the related information.


Optional Features

  • Context management
  • Object level security

Work With Pattern Nodes

The Pattern Settings define all the parameters that are needed to create an instance of the Work With pattern (for example, what attributes will be used in the Work With Form, etc.). While it is very straightforward and can be used intuitively, in this section you are able configure all of its nodes. 

Root Node

i2016_06_16_13_49_011_png

It has the following attributes (accessed from the Properties window):

i2016_06_16_13_51_062_png


Read about the Update Transaction property


Navigation Group

This group has the following properties:

i2016_06_16_13_58_361_png

  • AfterInsert
  • AfterUpdate
  • AfterDelete

These properties allow you to set the form you want to go to after making an insertion, an update or a deletion, respectively.

For each of these properties, there is a combo box that offers the following values: <default>,<return to caller>,<go to view>,<go to selection>. 

Level Node

The instance file will have one Level node for each Transaction level.

i2016_06_16_14_01_452_png

Each of these nodes has the following properties: 

  • Name. The default value of this property is the level's base table.
  • Description. Describes the node.

And the following sub-nodes:

DescriptionAttribute

It defines the Transaction's Description Attribute property. Description Attribute can be configured in GeneXus.
Since this attribute will have a link, it can only be an Edit type attribute (that is, it cannot be a Combo or checkbox). 

Selection

See Selection Node 

View

See View Node

Generated GeneXus Objects

By default this pattern generates the following objects:

Compatibility Notes

For compatibility reasons, the Work With pattern template generates different layouts depending on the Theme / Design System configured.

See Also

Work With for Web Pattern Settings (to see what the general settings related to all instances are).
LightCRM sample for a RWD implementation of this pattern.