You are here: Web User Interfaces > Using a Web UI > Main Properties

Main Properties

The Main Properties configuration determines the overall behavior of a Web UI.

All the steps provided in this topic assume the Web UI designer is in design mode and on Main Properties prior to starting the configuration process. For more information about getting started using a Web UI and details about design mode access / usage, see the Web UI Getting Started documentation here.

Configuring the Parameters

Mappings

Screens display in Web UI based on the Mappings values. When a new screen is created, typically a mapping also needs to be set up. The mappings are shown as 'screen ID (condition)' for the Mappings parameter and are evaluated one-by-one in the order shown. When the first mapping condition is met, the evaluation stops, and the screen configured for that condition is displayed. If no mappings match, then the default target screen is the Homepage.

The mapping order should be evaluated based on your system and all efforts should be made to avoid mapping conflicts (e.g., multiple mappings that use the same condition but different screens).

  1. Click the Add... button for the Mappings parameter.
  2. Make a condition selection by clicking the Add button under the value field box.
  3. Within the 'Add component' dialog, click on a component name to see its description. Make a selection by clicking on a component, and then clicking Add.
  4. Additional properties screens may display if additional parameters need to be configured for the condition selected (e.g., Object Type, Workflow). As needed, make parameter choices and click Add.
  5. Back on Screen Mapping Properties, repeat steps 2, 3, and 4 to add multiple conditions to the value field, if applicable. Note that all the conditions for an individual mapping will need to be met for the mapping to apply.
  6. Make a Screen selection using the dropdown selector. (If the desired screen does not already exist, click Add to the right of the Screen dropdown and follow the steps to create a new screen. Configure the new screen after saving the Main Properties.)
  1. Click Add.
  2. If needed, edit existing Mappings selections and/or re-order the mappings using the Up and Down buttons.
  3. Click Save in the designer to save the current settings. Do not close the designer unless you have finished configuring all the other parameters (outlined in the rest of this topic).

Note: When navigating through Web UI, the first condition / screen mapping that applies takes precedence over any other valid mappings applicable to the selected object. If encountering the incorrect screen when navigating Web UI, check the condition / screen combinations and rearrange the mappings as needed.

Example: You are using Advanced Search. After doing a search, you click on an object link in the results list. This object is a product and is currently flagged as critical in state Auto_3 of the SalesItemCreationNewBF workflow.

Although the object is a product and you are making a selection within a set of Advanced Search results, you will navigate to the Verify screen. This is because that is the first condition met from within the mappings list. While three mappings are applicable for this one object, the first mapping takes precedence over the other two.

Height / Width Settings

The height and width settings apply to the components set up to display as Child Components in Main Properties (described in detail later in this topic). The default pixel value for height and width settings varies depending on the template used when originally creating your Web UI.

The screenshot below shows the default pixel settings shared by the Web UI templates. The Left Width default may vary slightly (240, 280, 300) depending on the template used. All can be adjusted as needed.

In the screenshot above, the stack panel on the left is shown with a Top Height setting of 20 and Resizeable is enabled. The stack panel shown on the right side of the screenshot has a Top Height of 40 and Resizeable is disabled, so there is not a drag handle nor a tab visible to the right of the stack panel.

Representation List

The Representation List parameter is part of the Data Visualization functionality within Web UI. The object type and reference settings can be made one time using the Data Visualization Representation component and applied anywhere a Display Relations Screen is used.

If a Display Relations Screen type is not in use anywhere in the Web UI, then skip this parameter.

  1. Click the Add... button under the value field.
  2. Double click the Data Visualization Representation title that populates the value field and configure the Data Visualization Representation Properties.
  3. Click Save in the designer to save the current settings. Do not close the designer unless you have finished configuring all the other parameters (outlined in the rest of this topic).

For full details on how to configure this parameter and the subsequent component, see the Data Visualization section in the Web User Interfaces / Using a Web UI documentation here.

Advanced

Click on Advanced to expand the screen to display additional parameters. A description of each parameter follows. Configure each to fit your business needs.

  1. Click Add... and then configure the Business Condition Properties that display.
  1. Click Add to apply the condition.
  2. Repeat steps 1 and 2 to add multiple conditions.

If an alert requires a user action such as clicking a button to make a decision or acknowledge a message, or if the alert is a warning requiring action by the end user (e.g., fixing a validation error, re-logging in), then the close delay value does not apply. A few examples of these alert types are:

  1. Click Add... and make or select a Screen and Side Panel setting on Screen Preference Properties.
  2. Repeat to add additional screen preferences.

Child Components

Add components to each screen using the Child Components section of Main Properties.

  1. Click Add under any of the parameter value fields, and an 'Add component' dialog will display with options. Clicking on a component name will display information regarding what that component does.

  1. Click Add to select a component and set parameters as needed. Configure any other parameters that may display in additional dialogs based on the component selected.
  1. Click Add again to add the component.
  2. Repeat steps 1, 2, and 3 to add multiple components under a single child and/or add components to another child.
  1. Choose Corner Bar from the dropdown.
  2. Click on go to component and in the 'Add component' dialog, make a selection and click Add again.
  3. Configure any additional properties (e.g., Corner Bar Simple Search Properties) that require additional parameter selections.
  4. Repeat steps 2 and 3 as desired.
  5. Click Save in the designer and click Close to return to normal Web UI operation.

Examples of Component Usage

Child Components Example

Here is an example of what a Stack Panel can look like when added to each relevant child component. Each tree component is set up to display different nodes.

Configuring the screen like this (see below) may not be ideal since it does not leave much room for working with the data. However, it does provide an example of how the Main Properties > Child Components will be displayed to an end user.

The configuration order for the Right component (System Setup) is shown directly below. The Tree Navigator component is configured as the Stack Panel Item added to Stack Panel Properties. Two root nodes are selected to display. Note that if no node selection is made, then all the nodes will display.

The Bottom component is configured similarly to the Right one. The only difference is that different nodes are selected to display.

The Left is similar to the Right and Bottom, with different nodes. There is also an additional Stack Panel Item configured to display (Status Selector Sidebar Widget).

For step-by-step instructions on how to add the Tree Navigator Component to display in the Web UI, see the Tree Navigator Component document in the Web User Interfaces / Using a Web UI documentation here.

Corner Bar Example

Here is an example of a configured Corner Bar. The symbols shown in the Corner Bar (left to right) correspond with the Corner Bar Properties > Child Components > Items values (top to bottom). Each icon is easily identifiable to the end user as hover text displays when mousing over each icon.

The up arrow icon (shown below) on the far right is a standard icon that will display even if the Corner Bar is not selected / set up in Main Properties. Clicking this icon will take you to the Homepage.

2017, Stibo Systems