Custom Menus
Last updated
Last updated
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.
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).
admin.xml
fileTo 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.
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).
portal.xml
fileParameter
Description
Title
Specifies the title of the node
The title of the menuItem
node will be the name used for the menu item on the Administration Module home page.
Profile
Specifies if the link will be visible to users with an Administrator or User profile
Possible values: user
or admin
Note: If user
is specified, it does not grant access to all users but only to those that have access to the Administration Module (for example, folder managers).
URL
Specifies the URL to add as a custom link
Example: http://www.workflowgen.com/
Description
Specifies a description for the custom link.
Example: Visit the WorkflowGen website!
Target
Specifies if the custom link will be opened within the WorkflowGen page (default) or in a new browser
Possible values: ""
(default) or _new
showInHomepage
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: true
(default) or false
Icon
Specifies the path to a custom icon to be displayed instead of the default circular arrow icon
Parameter
Description
Title
Specifies the title of the node
The title of the menuItem
node will be the name used for the menu item on the User Portal home page.
Profile
Specifies if the link will be visible to users with a User, Supervisor, Manager, or Administrator profile
Possible values:
user
supervisor
manager
admin
URL
Specifies the URL to add as a custom link
Example: http://www.workflowgen.com/
Description
Specifies a description for the custom link.
Example: Visit the WorkflowGen website!
Target
Specifies if the custom link will be opened within the WorkflowGen page (default) or in a new browser
Possible values: ""
(default) or _new
Icon
Specifies the path to a custom icon to be displayed instead of the default "Earth" icon