User Level
Business Administrator with portal administrative access.
User LevelBusiness Administrator with portal administrative access. SyntaxAdd PortalTo define a portal from within MQL use the add portal command. Syntax
Label ClauseThis clause specifies the label to appear in the application in which the portal is assigned. Href ClauseThis clause is used to provide link data to the JSP. The href link is evaluated to bring up another page. Many portals will not have an href value at all. The href string generally includes a fully-qualified JSP filename and parameters, which can contain embedded macros and expressions for mapping to database schema. The syntax is:
Alt ClauseThis clause is used to define text that is displayed until any image associated with the portal is displayed and also as “mouse over text.” The syntax is:
For example, you could use the following for a Program Manager portal:
Channel ClauseThis clause is used to specify existing channels to be added to a single row in the portal you are creating. You can add channels that are owned by you (in your workspace), or system channels. Channels will be displayed in the order in which they are added. Separate items with a comma. To indicate a new row in the portal, use the channel clause again. You cannot add channels from other user’s workspaces. The syntax is:
For example, the following portal has 3 rows of channels:
For more information, see Add Channel. Setting ClauseThis clause is used to provide any name/value pairs that the portal needs. They can be used by JSP code, but not by hrefs on the Link tab. For more information, see MQL Concepts: Using Macros and Expressions in Configurable Components. The syntax is:
For example, an image setting with the image name can be specified to display when the portal is used in a toolbar:
History Clause The
Copy PortalAfter a portal is defined, you can clone the definition with the Copy portal command. If you are a Business Administrator with portal access, you can copy system portals. If you are a Business Administrator with person access, you can copy portals in any person’s workspace (likewise for groups and roles). Other users can copy visible workspace portals to their own workspaces. This command lets you duplicate portal definitions with the option to change the value of clause arguments:
Modify PortalIf you are a Business Administrator with portal access, you can modify system portals. If you are a Business Administrator with person access, you can modify portals in any person’s workspace (likewise for groups and roles). Other users can modify only their own workspace portals. SyntaxYou must be a business administrator with group or role access to modify a portal owned by a group or role. Use the modify portal command to add or remove defining clauses or change the value of clause arguments:
Each modification clause is related to the arguments that define the portal. To change the value of one of the defining clauses or add a new one, use the modify clause that corresponds to the desired change. When modifying a portal, you can make the changes from a script or while working interactively with MQL.
History Clause The
Delete PortalIf you are a Business Administrator with portal access, you can delete system portals. If you are a Business Administrator with person access, you can delete portals in any person’s workspace (likewise for groups and roles). Other users can delete only their own workspace portals. You must be a business administrator with group or role access to delete a channel owned by a group or role. If a portal is no longer required, you can delete it using the delete portal command:
This command searches the list of defined portals. If the name is found, that portal is deleted. If the name is not found, an error message is displayed. For example, to delete the portal named “Program Manager” enter the following:
After this command is processed, the portal is deleted and you receive an MQL prompt for another command. |