Skip Navigation LinksALVAO 8.1ALVAO Service DeskSystem Implementation in an OrganizationCustom Program ExtensionsCustom Links in Menus Skip Navigation Links. Skip Navigation Links Skip Navigation Links.


Custom Links in Menus

In the ALVAO WebApp you can display custom links in the main menu and in the user menu.

Custom Links Settings in the Main Menu

Create a string describing the custom link in the form "<Page name>","<Page link>".

Example: "Custom Form","/Custom/ALVAO/CustomForm".

If you want to set more custom links, create a sequence of described strings separated by a semi-colon character.

Example: "Custom Form","/Custom/ALVAO/CustomForm";"ALVAO","http://www.alvao.com/".

Finally launch the following SQL script where on the second line edit the variable to the set string or to the sequence of strings.

DECLARE @MainMenuCustomHead nvarchar(max);
SET @MainMenuCustomHead = N'"Custom Form","/Custom/ALVAO/CustomForm";"ALVAO","http://www.alvao.com/"';
DELETE dbo.tProperty WHERE sProperty=N'WebApp.MainMenu.CustomHead';
INSERT INTO dbo.tProperty(sProperty,sPropertyValue) VALUES(N'WebApp.MainMenu.CustomHead',@MainMenuCustomHead);

Custom links are displayed on the left next to the system links in the main menu. Order from the left is the same as the order of individual described strings.

If you want to display the links on the right next to the system links, launch the following SQL script where on the second line edit the variable to the set string or to the sequence of strings.

DECLARE @MainMenuCustomTail nvarchar(max);
SET @MainMenuCustomTail = N'"Custom Form 2","/Custom/ALVAO/CustomForm";"ALVAO 2","http://www.alvao.com/"';
DELETE dbo.tProperty WHERE sProperty=N'WebApp.MainMenu.CustomTail';
INSERT INTO dbo.tProperty(sProperty,sPropertyValue) VALUES(N'WebApp.MainMenu.CustomTail',@MainMenuCustomTail);

Different links described by different links can be displayed at the same time on the left and on the right next to the system links.

Note:
If you want to remove all custom links in the main menu, open SQL Management Studio and run the following SQL script on ALVAO database:
DELETE dbo.tProperty WHERE sProperty=N'WebApp.MainMenu.CustomTail' OR sProperty=N'WebApp.MainMenu.CustomHead';

Custom Links Settings in the User Menu

Create a string describing the custom content in the same form as the custom link in the main menu.

If you want to set more custom links, create a sequence of strings in the same manner as for setting the links in the main menu.

Finally launch the following SQL script where on the second line edit the variable to the set string or to the sequence of strings.

DECLARE @UserMenuCustom nvarchar(max);
SET @UserMenuCustom = N'"Custom Form","/Custom/ALVAO/CustomForm";"ALVAO","http://www.alvao.com/"';
DELETE dbo.tProperty WHERE sProperty=N'WebApp.UserMenu.Custom';
INSERT INTO dbo.tProperty(sProperty,sPropertyValue) VALUES(N'WebApp.UserMenu.Custom',@UserMenuCustom);

Custom links in the user menu are displayed between the Monthly service bill and Settings items. Order from above is the same as the order of individual described strings.

Note:
If you want to remove all custom links in the user menu, open SQL Management Studio and run the following SQL script on ALVAO database:
DELETE dbo.tProperty WHERE sProperty=N'WebApp.UserMenu.Custom';

 

Did not find what you were looking for? Ask our technical support team.