Create Navigation Link
- Last UpdatedSep 11, 2024
- 3 minute read
Use the Navigation option to create a new menu item in the Enterprise Console menu.
To create a new navigation list:
-
On the Action bar of the Navigation List page, click New, and then click Navigation.
The New Navigation Link page appears.
-
In the Title box, type a unique name for the navigation link, and in the Description box, type a description for the folder.
-
In the Navigate To Page box, enter the path of the aspx file name.
The aspx file must be available in the following path:
..\BPMUITemplates\Default\Repository\Site
If you save this aspx file in some other location, mention the path with the aspx file name. For example, if the aspx file is in the Repository folder, then mention the path in the Navigate To Page box as follows:
\Repository\<file name.aspx>
-
In the Menu Order box, type a number to position the link in the Enterprise Console menu.
-
By default, the Menu Order number will be one more than the highest Menu Order number entered for the links in the Navigation List.
-
You can enter either a positive or a negative integer. Negative Menu Order numbers take precedence over positive Menu Order numbers.
-
If you clear the Menu Order number, then the system will set the Menu Order to 0.
-
If you create a new List using Tools > Manage List, you must set the menu order for that list from the Repository Settings > Advanced Settings > Manage Navigation List page. If you do not set the menu order for the list manually, the menu order of the list will be considered as 0, and the list will appear at the top of the Enterprise Console menu.
-
The link with the lowest Menu Order number appears first in the menu followed by other links in the ascending order of their Menu Order number.
-
In case of links with the same Menu Order number, the first saved link takes precedence and appears before the other links with the same Menu Order number.
-
You must log out and log on to the Enterprise Console to see changes in the order of the menu items.
-
If you manually add any menu item in the system defined menus, then after upgrade, the menu order will not be retained as defined. You must again reset the menu order based on your preference.
-
-
Click Submit.
The navigation link is created.
-
Click OK to create the new left menu item.
Examples
-
Create two aspx pages. Create one aspx page with the main page and another aspx page without the main page.
-
BPM.aspx( With Main Page)
<%@ Page Language="C#" MainPageFile="~/BPMUITemplates/Default/Repository/Site/MainPage.main" AutoEventWireup="true" Inherits="Skelta.Repository.Web.CodeBehind.WorkFlowList" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Cont" Runat="Server">
<div>
<font color="purple"> <center><b>Welcome to AVEVA Work Tasks </b></center></font>
</div>
</asp:Content>
-
BPMWithoutMain.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="BPMWithoutMain.aspx.cs" Inherits="BPMWithoutMain" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
</head>
<body>
<form id="form1" runat="server">
<div>
<font color="purple"> <center> <b>Welcome to AVEVA Work Tasks </b> </center></font>
</div>
</form>
</body>
</html>
-
-
Save these two aspx pages in the following path:
..\BPMUITemplates\Default\Repository\Site
-
On the action bar of the Navigation List page, click New, and then click Navigation.
The New Navigation Link page appears.
-
Enter the Title as AVEVA Work Tasks Menu.
-
Enter a description.
-
Click Submit, and then click OK on the confirmation window.
-
Double-click AVEVA Work Tasks Menu, and click Navigation to create a sub-menu item called BPM Without Main Page.
-
Enter the sub-menu name BPM Without Main Page in the Title box.
-
Enter a description.
-
Enter the navigation link name BPMWithoutMain.aspx in the NavigateToPage box.
This file is available in the following path:
..\BPMUITemplates\Default\Repository\Site
-
Click Submit, and then click OK on the confirmation window.
-
Now the sub-menu item, BPM Without Main Page is created under AVEVA Work Tasks Menu.
-
-
Similarly, create another sub-menu item called BPM With Main Page.
-
Log out from the Enterprise Console, and then log on again.
The newly created menus get reflected in the Enterprise Console menu.
-
Click AVEVA Work Tasks Menu, and then click BPM Home With Main Page.
This redirects you to the BPM Home With Main Page.
-
In the Enterprise Console menu, select BPM Without Main Page.
Here you will not be able to view the Enterprise Console menu, Repository, Provider, and Logged In information.
-
To go back to the Enterprise Console menu, close this window, and then log on to the Enterprise Console again.
Use the following code in all the user created aspx pages to avoid logging in to the Enterprise Console again:
<%@ Page Language="C#" MainPageFile="~/BPMUITemplates/Default/Repository/Site/MainPage.main" AutoEventWireup="true" Inherits="Skelta.Repository.Web.CodeBehind.WorkFlowList" Title="Untitled Page" %>
Note: Ensure the size of the image (icon) is 25x25 pixels.