Skip to content

Forms#

A form is a workbook document used to read and change records of a table in your company's database: add customers, correct an incident, close a quote. Unlike a cube, which summarizes the data, a form shows the records one by one and lets you change them.

What a form is#

A form works on a single fact table of the metadata (for example, Clientes or Incidencias). Its fields are dimensions of that table: each field is a column of the grid.

Like any document, the form hangs from a segmentation of the workbook. When you open it, Empowerment Center reads the records of the table that meet that segmentation and fall within your universes. If the segmentation of the section is “Incidencias abiertas”, the form only shows the open incidents.

The changes you make are not saved right away. They build up in your browser as pending changes and are applied all together when you click Submit changes. Submitting is all or nothing: either all the changes are saved or none is.

Editing and sending a form Life of a form: when opened it reads the records of the segmentation, changes stay pending in the browser until they are sent, and the submission is saved whole or nothing is saved; records with problems are marked so that they can be solved and sent again. keep editing No Yes Open the form reads the records of the segmentation Edit in the browser pending changes: additions, changes and deletions Send changes Any problem? Everything is saved the form is read again Nothing is saved records with problems are marked Solve the problems
Editing and sending a form Life of a form: when opened it reads the records of the segmentation, changes stay pending in the browser until they are sent, and the submission is saved whole or nothing is saved; records with problems are marked so that they can be solved and sent again. keep editing No Yes Open the form reads the records of the segmentation Edit in the browser pending changes: additions, changes and deletions Send changes Any problem? Everything is saved the form is read again Nothing is saved records with problems are marked Solve the problems
Editing and sending a form View full size View full size

A form can have detail forms: the records of another table that hang from the chosen record. In the “Ficha de clientes” form of the demo, when you choose a customer you see its invoices below, and when you choose an invoice, its lines.

The “Ficha de clientes” form with a customer chosen and, below, the tab of its invoicesThe “Ficha de clientes” form with a customer chosen and, below, the tab of its invoices
The “Ficha de clientes” form with a customer chosen and, below, the tab of its invoices

Before you start#

  • To open a form you need Access to Empowerment Center and permission to read the workbook.
  • To create a form or change its design you need to be able to modify the workbook (see Workbooks).
  • What you can change in the data is decided by the edit privileges that the metadata administrator gives to the table and to each dimension. Without them, the form is read-only. What each user can edit explains it.
  • The table of the form has to have a primary key. Without it a record cannot be identified to change it, and the form cannot be processed (“The table '…' has no primary key: its records cannot be edited”).

The parts of the form#

Part What it contains
Document header The name, the status line (records read, “Working…”, messages of the last submission) and the buttons Refresh, Save design and Submit changes (n), with the number of pending changes. Under ⋯ are Show SQL…, Fields…, Detail… and Discard changes….
Toolbar Insert, Duplicate, Delete and Undo; the filter All, Pending or With problems; Search…; the Datasheet or Columns view; and the position (“12 of 340”).
Grid One record per row. The first column shows the state of each record: new, modified, will be deleted or with a problem.
Detail forms Tabs below the grid, one per detail, with the records of the chosen record. Each detail has its own toolbar.

Working with a form#

  1. Open the workbook and choose the form in the workbook outline. ECenter processes it and reads its records.
  2. Find the record, with the mouse, the keyboard or Search….
  3. Change the values in the grid or in the Columns view, add records with Insert or mark them for deletion with Delete.
  4. Click Submit changes. If all goes well, the status line says “Changes saved: …” and the form is read again, on the same record.
  5. If any change has a problem (another user changed the record, a value is not valid), nothing is saved. Resolve the problems and submit again.

Important

Pending changes are only in your browser. If you leave the form within the application, ECenter asks first (“Leave without submitting the form changes?”); if you close or reload the tab, the browser asks. If you confirm, the unsubmitted changes are lost.

What a form does not do#

  • It does not summarize or calculate metrics: that is what cubes are for.
  • It does not write to columns of dimensions with a function (for example, “Año de la fecha”): the wizard only offers the dimensions that can be edited.
  • It is not published to the portal or subscribed to by email.
  • It reads at most 10,000 records. If the segmentation gives more, the form warns you and you should narrow it.

In this part#

See also#