Custom Menus
Administration Module
Overview
To create custom menus in the Administration Module, you must create and modify an XML file called admin.xml
in the CustomMenu
folder located in the \wwwroot\wfgen\App_Data\customMenus
folder.
These custom menus will then be available as extra menu options in the Administration Module. WorkflowGen supports two levels of custom menu items.
Menu items can be secured by user profile.
XML content
Menu item/node properties
Parameter | Description |
| Specifies the title of the node
The title of the |
| Specifies if the link will be visible to users with an Administrator or User profile Possible values: ✏️ Note: If |
| Specifies the URL to add as a custom link 📌 Example: |
| Specifies a description for the custom link. 📌 Example: |
| Specifies if the custom link will be opened within the WorkflowGen page (default) or in a new browser Possible values: |
| Specifies if the custom link will be displayed in the new menu item only or also on the Administration Module home page (default) Possible values: |
| Specifies the path to a custom icon to be displayed instead of the default circular arrow icon |
Images
You can also use images in a custom theme. To do this, create a new Theme package for WorkflowGen and direct the icon path to its location in the \wfgen\App_Themes\MYTHEME\admin\images
folder.
The default path is \wfgen\App_Themes\Default\admin\images
. You can also add your custom images to this folder and use them from the Default
theme folder (see the example below).
Sample admin.xml
file
admin.xml
fileUser Portal
Overview
To create custom menus in the User Portal, you must create and modify an XML file called portal.xml
in the CustomMenu
folder located in the \wwwroot\wfgen\App_Data\customMenus
folder.
These custom menus will then be available as extra Menu options on the User Portal home page.
Menu items can be secured by user profile.
XML content
Menu item/node properties
Parameter | Description |
| Specifies the title of the node
The title of the |
| Specifies if the link will be visible to users with a User, Supervisor, Manager, or Administrator profile Possible values:
|
| Specifies the URL to add as a custom link 📌 Example: |
| Specifies a description for the custom link. 📌 Example: |
| Specifies if the custom link will be opened within the WorkflowGen page (default) or in a new browser Possible values: |
| Specifies the path to a custom icon to be displayed instead of the default "Earth" icon |
Images
You can also use images in a custom theme. To do this, create a new Theme package for WorkflowGen and direct the icon path to its location in the \wfgen\App_Themes\MYTHEME\portal\images
folder .
The default path is \wfgen\App_Themes\Default\portal\images
. You can also add your custom images to this folder and use them from the Default
theme folder (see the example below).
Sample portal.xml
file
portal.xml
fileLast updated