O4W Menu
Create/Modify
From the O4W Main Menu choose O4W Menu.
From the O4W menu choose Create/Modify.
From the Menu Definition form you can either select a menu to modify from the drop down box or you can enter the name of a new menu to create. Click the Go button to continue.
We will now explore each component of the Menu Definition form.
All the O4W wizard routines (O4W Forms, O4W Reports, O4W Dashboards, etc.), as well as the O4W API’s, allow the developer to specify one of more “templates” on which their output can be displayed. A template contains all the additional html elements needed to generate the full web page that a browser can display. This includes images, colors, and style elements that both surround, and may be used by, the O4W routine’s output. O4W includes several sample templates . These templates are stored in the TEMPLATES directory located within OpenInsight at: \Revsoft\OInsight\O4W\TEMPLATES.
Enter a description of your menu in the textbox.
Enter your menu permissions from the drop down box. You can create additional menu permissions in the O4W Maintenance section of O4W.
The name of a stored procedure used for menu preprocessing can be entered in the textbox.
There are four menu types: None, Menu, Sub Menu and Menu Item.
· None – Used for a placeholder description that has no links
· Menu – A general category that contains Submenus or Menu Items
· Submenu – A general category that contains Menu Items
· Menu Item – Specific items that launch O4W programs
Enter the text to appear for each TYPE in the textbox.
There are eight Link Types:
· None – Used as a place holder
· Explicit URL – O4W will link to the URL specified
· O4W Procedure – O4W will link to an O4W procedure
· O4W Form – O4W will link to an O4W form
· O4W Report – O4W will link to an O4W report
· O4W AdHoc Report – O4W will link to an O4W AdHoc report
· O4W Dashboard – O4W will link to an O4W Dashboard
· Email – O4W will link to a mailto address
· CLICK event – Control ID – Generates a click event into the current O4W stored procedure, passing in the value specified in the “Link To” textbox as the control ID for the event
Based upon the Link Type selected, the Link To drop down list will populate with the appropriate choices to select from.
Item Permissions can be set for each individual item on a menu.
Menu items may be inserted or deleted by clicking the appropriate button.
Menu items may be added by clicking on the Add new row button..
Copy/Delete
From the O4W Menu choose Copy/Delete.
Select the O4W menu you want to copy or delete. To make a copy of the selected menu enter a new menu name in the textbox provided and click the Copy! Button. To delete the selected menu item, click the DELETE! Button. This will permanently delete your menu item.