Menu structure can be set up on the navigation bar on the Menu Structure page in the designer of business application.
Click the Edit button in the Open group on the Home ribbon tab.
Select the Edit item in the business application's context menu.
Press F4.
The left part of the page 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 menu structure:
To add a folder to the menu structure:
Select the Menu Structure root folder or the child element, to which a folder will be added.
Click the Create > Add Menu Item button.
After executing the operations a folder is added to the menu structure.
NOTE. The child elements hierarchy can be of any nesting level, but the navigation bar displays only two-level hierarchical structure.
To add an object shortcut to menu structure, execute the operations in the object navigator:
Open business application for view.
Select the Menu Structure folder and create an object shortcut contained in the internal structure if business application in the root folder and child folders:
Click the New Object > Shortcut button in the Create group on the Home ribbon tab.
Select the Create > Shortcut item in the object navigator's context menu.
After executing the operations an object shortcut is added to the menu structure.
To reorder folders in the menu structure, select the folder and execute one of the operations:
Click the Up button to move the folder one position up.
Click the Down button to move the folder one position down.
One can also reorder folder by dragging them to the required position.
Set up element basic properties
To set up basic properties of the selected element, change parameters 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:
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.
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.
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 is displayed in the business application working area.
NOTE. The parameter is available if the Do not Show element display option is selected.
Custom icon loading is available in the Formatting section for an element of the first or the second level if the As Menu Group or As Menu Item element display option is selected, and the Show icons in navigation bar checkbox is selected on the Layout and Formatting page. The second-level element icon depends on the state of the Disable Displaying of Second-Level Hierarchy Icons checkbox on the Layout and Formatting page.
To load a custom element icon:
Click the Select button. The standard file selection dialog box opens.
Select an icon with 16*16 pixels size in the format: PNG, JPEG, BMP, GIF, or SVG.
After executing the operations the custom element icon is loaded.
If a custom icon is not loaded for the element, a default icon will be displayed:
In Linux OS for elements of the first and the second levels - .
In Windows OS:
For elements of the first level - .
For elements of the second level - .
To reset the loaded icon, click the Clear button.
Custom element sketch loading is available in the Formatting section if the Do not Show element display option is selected, and the Specified Sketch element type is used in the working area. A sketch is displayed as element icons in the business application working area. Predefined sketches are used by default.
To load a custom element sketch or edit the predefined element sketch:
Click the Select button. The Select Sketch dialog box opens:
Load the new or edit the predefined sketch in the list:
To load a new sketch, click the Load Sketch button. The Load/Edit Sketch dialog box opens:
Set new sketch parameters:
Name. Enter sketch name.
Identifier. Enter sketch identifier.
Load the image with required size using the Load Sketch button:
Small. 16*16 pixels.
Medium. 32*32 pixels.
Large. 256*256 pixels.
NOTE. If the size of loaded images differs from the specified one, it will be automatically modified to the required one.
To remove the loaded image, click the Clear button.
To save the sketch, click the Save button.
To edit the predefined sketch, click the Edit Sketch button and edit the image in the Load/Edit Sketch dialog box that opens.
To delete the sketch, click the Delete Sketch button.
Click the Select button.
After executing the operations, the loaded or predefined element sketch is displayed in the business application working area.
To delete the selected element, click the Delete button. After the operation is confirmed, the element will be deleted.
To save the specified settings, click the Finish button. After the button is clicked, the designer closes.
After setting up menu structure edit dependencies of business application objects from used extensions of Foresight Analytics Platform.
See also:
Building Business Application in the Desktop Application | Editing Dependencies