Menu item structure in the navigation bar can be set up on the Navigation Structure page in the business application creation wizard.
Select the Edit item in the business application's context menu.
Select the Edit in a New Tab item in the business application's context menu.
Select the Edit in a New Window item in the business application's context menu.
Press F4.
The Navigation Elements area contains the hierarchy of menu items that will be displayed on the navigation bar. Menu items are folders and object shortcuts contained in the internal structure of business application.
Create a navigation structure:
To add a folder to navigation structure:
Select the Menu Structure root folder or the child element, to which a folder will be added.
Click the Add Folder button.
After executing the operations a folder is added to navigation structure.
NOTE. The hierarchy of child elements can be of any nesting level but the navigation bar displays only two-level structure.
To add an object shortcut to navigation structure:
Select the Menu Structure root folder or the child element, to which a shortcut will be added.
Click the Add Shortcut button. The Select Object dialog box opens:
To search for an object:
Change object display option in the drop-down menu of the Object Displaying button if required:
Name. Default value. Only object names are displayed.
Identifier. Only object identifiers are displayed.
Name and Identifier. Object names and identifiers are displayed.
Start typing object name or identifier in the search string, depending on the selected object display option.
Select the object in the internal structure of business application.
Click the Apply button.
After executing the operations an object shortcut is added to navigation structure.
To reorder elements in navigation structure, select the element and execute one of the operations:
Click the Up button to move the element one position up.
Click the Down button to move the element one position down.
Elements can also be reordered by dragging to the required position.
Set up element basic properties
To set up basic properties of the selected element, change the parameters on the tab if required:
Name. When a folder is added, it has the default name. When an object shortcut is added, element name matches with object name.
Identifier. It is created automatically on adding a folder or an object shortcut. An identifier may include only Latin letters, digits, underscore character and should not start with numbers.
To set up displaying of the selected element, set the parameters Для настройки отображения выбранного элемента задайте параметры tab:
Display in Navigation Bar. In the drop-down list select display option for the element of the first or the second level of the navigation structure:
Do not Show. Default value. It is displayed only in the business application working area. When this potion is selected, the Element Type in Navigator parameter is available.
NOTE. If the folder contains an object, that is set for a custom button in the data entry form, then on its opening using the custom button, the navigation bar and navigation menu will not be displayed. For details see the Features of Displaying Elements subsection.
As Menu Group. It is displayed in the navigation bar as a menu group containing child elements. A menu group can be collapsed or expanded in the navigation bar. When this option is selected, the Name in Navigation Bar and the URL of Opened Web Page parameters are available.
NOTE. The parameter is available only for the first-level element.
As Menu Item. It is displayed on the navigation bar as a menu item contained in the group or navigation structure root. It the menu item is a folder, it can contain child elements. When this option is selected, the Name in Navigation Bar, the URL of Opened Web Page, and the Element Contents View in Navigator parameters are available.
Name in Navigation Bar. Set an alternative name for the element of the first or the second nesting level displayed only in the web application. Alternative name can be used if element has long name and its name cannot be fully displayed in the navigation bar, and for translation element name in different languages.
NOTE. The parameter is available if the As Manu Group or As Menu Item element display option is selected.
URL of Opened Web Page. Specify URL of the web page that will open in a new window on clicking the element of the first or the second level of the navigation structure.
The example of web page URL:
https://help.fsight.ru/en/help.htm
NOTE. The parameter is available if the As Manu Group or As Menu Item element display option is selected.
Element Contents View in Navigator. In the drop-down list select the element contents view in the business application working area:
Large Icons.
Small Icons.
List.
Table.
Extra Large Icons. Default value.
NOTE. The parameter is available if the As Element Item display option is selected.
Element Type in Navigator. In the drop-down list select element type in the business application working area:
Standard Icon. Default value. It depends on object type.
Sketch (preview). Object contents preview is displayed for the object created using the Dashboards, Analytical Queries (OLAP) and Reports tools if the Extra Large Icons object display option is set in the working area.
NOTE. To display element preview in the business application working area, make sure that the Allow Displaying of Objects as Icons Without Taking Into Account Object Access Permissions checkbox is selected in the security manager.
Specified Sketch. A custom element sketch loaded in the Formatting section on the Menu Structure page in the desktop application.
NOTE. The parameter is available if the Do not Show element display option is selected.
To delete the selected element, click the Delete button. After the operation is confirmed, the element will be deleted.
To save the determined settings, click the Save button.
After setting up navigation structure select start object and event handler.
See also:
Building Business Application in the Web Application | Selecting Start Object and Event Handler