View Builder

What is the View Builder?

The View Builder is a tool in DGS used to create and edit views. It is located in the tree of all sites.

If the builder does not show up then the required permissions have not been set.

Why Use a View Over a Report

A view has a lot of similarities to the Reports in DGS, its main function is to display data to the User in an easy to read format.

The main feature that differs Views from Reports is the fact that views show mainly live data by auto-updating itself (Ex. Viewing Production from the currently running shift.). Although this is highly configurable.

Because the data on a view is live and periodically refreshed the user will not have access to a shift selector. However many of the Reports that allow a user to view historical data can be accessed from a view with the use of buttons. Buttons can be placed anywhere on a View and can trigger many user activated actions including, opening a Report, opening an Input, opening a Schedule, or switching to another View or DGS module.

View Builder Body

When creating a new view, the body of the view will look like this:

  • The Header is located at the top of the view page.
  • The Detail Section is used for most of the content on the view.
  • The Footer Section is located at the bottom of the view
  • The two hidden sections are for storage/maintenance purposes, and serve no actual purpose to the look of the view.

View Builder Toolbar

The View Builder Toolbar has a variety of tools to use. It is found under the tabs section when a builder is open.



Each tool is described below.

Icon Name Description
Test Using this button allows testing of what has been made in the View Builder. Once pressed, it is replaced with a close button which cancels testing and returns to the builder.
Save Use of this button saves all changes made to the View.
Export Using this button Exports the view into a .vwr file.
Import Using this button imports a .vwr file into the builder.
Snap To Grid Using this button allows each field to snap to the Grid on the builder section. When it is highlighted blue it is turned on.
Show Grid Using this button shows or hides the grid. When the button is highlighted blue the grid will show.
Cut Use of this button cuts the current selected field and copies it to the clipboard.
Copy Use of this button copies the current selected field to the clipboard.
Paste Use of this button pastes what is currently copied to the clipboard.
Undo Use of this button reverses the last change made. Can be used multiple times.
Redo This button steps forward after going back too far with undo.
Same Style This button applies all of the same styles of one field to another field.
Align Lefts Use of this button aligns all boxes left sides.
Align Center (Horizontal) Use of this button aligns all boxes centers Horizontally.
Align Right Use of this button aligns all boxes rights.
Align Top Use of this button aligns the tops of all boxes selected.
Align Center (Vertical) Use of this button aligns all boxes centers vertically
Align Bottom Use of this button aligns the bottoms of all boxes selected.
Same Width Makes all selected boxes the same width.
Same Height Makes all selected boxes the same height.
Same Size Makes all selected boxes the same size.
Equal Horizontal Spacing Makes all selected boxes the same distance apart horizontally.
Increase Horizontal Spacing Makes all selected boxes distance increase between them horizontally.
Decrease Horizontal Spacing Makes all selected boxes distance decrease between them horizontally.
Equal Vertical Spacing Makes all selected boxes the same distance apart vertically.
Increase Vertical Spacing Makes all selected boxes distance increase between them vertically.
Decrease Vertical Spacing Makes all selected boxes distance decrease between them vertically.
Bring to Front Brings the selected field to the front layer of the report.
Send to Back Send the selected field to the back layer of the report.

View Builder Tools/Data Tags Tabs

The View builder has Two tabs, labelled as Tools and Data Tags

Tools Tab

The tools tab has all the tools necessary to build the front end of the view. Links to each tool and their use is below.

View Builder Tools

Data Tags Tab

The data tags tab allows for easy access to items selected out in the query. Clicking and dragging one of the fields to the report will put the field on the builder. If the “Add Label” button is pressed, it will add a label with each datatag.

Properties Section

When no fields are currently selected on the View builder, there is a default property list.

The Data Source is the most significant property.

Data Source of the View Builder

Clicking the DataSource (…) will open up the Query Editor. This is where the data is selected for the view.

To create a view without using sub-reports, StationName, TagSymbol, TagDescription, TagValue, InAlarm must be selected out.

 
view_builder.txt · Last modified: 2015/12/03 12:01 by danny