If you need to create specially designed menus or limited menus, you can use
Menu Layout.
You can find Menu layout under
Tools/Menus/Main menu/Menu layout
Design your own menu
The menu structure in Uniconta's main menu is designed in XML, which means that you can extend this menu with new XML lines.
Under
Tools/Menus/Main menu/Menu layout, you will find a built-in XML editor that you can edit. The first menu you see is Uniconta's standard menu. This can be changed, deleted and added to. For example, if you don't want Debtor to be called Customer, you can find the line with Debtor and change the text to Customer.
You can also delete lines that certain employees should not have access to and then assign the new menu layout to users in
Company/User rights/Administer users.
You can also add your own XML lines where you call menu items other than the ones Uniconta has chosen to be in the menu.
Description of buttons
Menu |
Product description |
Save |
Saves the changed menu layout |
Cancel |
Cancels any changes and closes the menu layout |
Delete |
Deletes the menu layout you have opened |
Checks |
When changing the menu layout, check if the syntax of the XML code is correct. |
Description of fields
Building a menu layout
Field name |
Field Description |
Name |
|
Menu |
|
Text= The label text. Can be found under Labels in the tool menu.
ControlName = the name of the Control being called. Can be found on F12 in a screenshot.
Customize the menu
Here is a small menu with many lines deleted. When [Check] is pressed, Uniconta checks whether the XML file is correct. If you want your own icons in the menu, the icons can be saved on a shared drive and retrieved from there. For example as follows
<treeviewnode Text="GeneralLedger"
Picture="https://www.iconexperience.com/_img/v_collection_png/256x256/shadow/ok.png"Module="Ledger
" MenuEnum="0">

Now you need to assign the menu to one or more users.
This is done under Company/Admin users.
Place the cursor on the user you want to assign a menu to. Press [Menu layout] and select the menu and possibly the Main menu items to display items from.

Login as a User and see the result (Here everything from [Debtor] down is disabled.
Link to plugins
It is possible to link from the menu to your own plugins using ControlType="Plugin".
Example:
<treeviewnode Text="Plugin Prompt Name" ControlName="Plugin Name" Arg="argument" ControlType="Plugin"/>
Own images
It is possible for developers to insert their own images in menus.
This is done in Visual Studio under "UnicontaPages project" under Assets/img
The image can then be loaded in the menu via this xml tag:
Picture="Assets/img/[Picture]"
