Content

urlgizmo

Description

Properties

Description

The urlgizmo renders a Web page defined by a URL.

Select the URL you want to display. Be advised that some Web pages may not work inside frames and can cause client side issues. Also, due to security restrictions, external Web sites cannot interact with the LabVantage Dashboard or the LabVantage Web Application.

urlgizmo Properties

Property Name Description
Gizmo Properties Defines high-level characteristics of the gizmo:
Property NameDescription
title title of the gizmo.
Help TextTooltip displayed onMouseOver.
title ColorColor of the title.
Tab IdIf using tabs, specify an identifier for the tab. If not using tabs, leave this blank. If you leave this blank and you are using tabs, the gizmo will not be displayed.
Show GizmoYes/No shows/hides the gizmo.
WidthWidth of the gizmo in pixels.
HeightHeight of the gizmo in pixels.
Enable ResizeYes/No allows/prevents resizing of the gizmo.
Refresh on Timer Every (sec)This activates a timer to refresh the count every n seconds. See Introduction to Gizmos → Gizmo Notifications for more information.
Enable Refresh on EventsYes/No enables/disables the Gizmo Notification mechanism (see Introduction to Gizmos → Gizmo Notifications). This is useful to exclude inactive Gizmos from the Event Plan. Changes to this property take effect after a server restart.
Refresh on EventsSet of Events that will trigger the Gizmo if "Enable Refresh on Events" (above) is set to "Yes". See Introduction to Gizmos → Gizmo Notifications for more information.
Counter ColorColor of the counter displayed on the Gizmo. This is typically a text string, but it some cases it can be defined conditionally using a Groovy expression, e.g., gizmo.count > 10 ? "Red" : "Green". See Introduction to Gizmos → Example of Gizmo Notification for more information.
Flash on UpdateYes flashes the icon for about 5 seconds.
Options Details concerning properties that appear on options dialogs:
Property NameDescription
Property Id Identifier of the property that appears on an options dialog. If this is in a collection or property list, include the full path using the dot character (.) as a separator.
EditableNo disables editing of the property, but it will still be visible.
URL URL of the page to render.
Target Specifies target when a Node is clicked: _blank (creates a new window) or _parent (loads into frame). Defaults to _blank.
Icon Icon to display for preview.
Parameter Defined URLs This is used only with the "Classic" Dashboard. Defines URLs displayed when a Parameter is a specified value. The Parameter is defined by the parametergizmo.
Property NameDescription
Parameter IdIdentifier of the Parameter.
ExpressionConditional qualifier for the value: Not Null, Equal To, Null, Not Equal To, Contains
Expression ValueValue of the Parameter that opens the URL (below).
URLDestination URL to open when the condition is met. 
Default HTML This is used only with the "Classic" Dashboard. This is the default HTMLto display if you are using "Parameter Defined URLs" and there is not a URL loaded at the start. In this case, this text will be displayed.
Count Enables the display of a count next to the rendered Gizmo. The value of the count is retrieved by a query, and would typically be a value representing the number of items requiring attention on the target page to which the URL Gizmo is pointing. For example, a URL Gizmo pointing to the Sample Receipt page could indicate the number of Samples requiring Receipt.

There are two "Query Types" that apply to Count queries: SDI List and SQL.

Property NameDescription
SDI List Builds an SDI count query using the standard RSet security, i.e., the count honors Role and Departmental Security settings.
Property NameDescription
SDCThe SDC for the SDIs being counted.
QueryQuery used to filter the SDI list returned.
Query ParametersParameters for the Query.
Property IdDescription
IdentifierUnique identifier for this item, rendered as an ID attribute in the HTML tag.
Column IDValue of the parameter.
Query FromFrom Clause of the Query used to count the SDIs.
Query WhereWhere Clause of the Query used to count the SDIs.
SQL SQL query to derive a count.
Property NameDescription
SQLDefines the SQL count query. For example:

select count(*) from s_sample where ( s_sample.samplestatus = 'Initial' or
(s_sample.samplestatus='InProgress' and (receiveddt is null or receiveddt ='')) and
s_sample.RECEIVEREQUIREDFLAG = 'Y' ) and templateflag != 'Y'