Cubic Compass Software

- Support Wiki

Dialogue Script : HyperLink

Modified: 2008/09/10 01:31 by mleach - Categorized as: Dialogue Script
Syntax
<dlog:HyperLink id={unique HyperLink ID} Text={Hyper link text} NavigateURL={Hyper link URL} 
TextFieldName={text field source} LinkFieldName={link field source} TooltipFieldName={tooltip field source} 
textParam={CGI param for link text} linkParam={CGI param for link URL} 
HideOnEmptyLink={true/false} CssClass={CSS class}></dlog:HyperLink>

Usage
Displays a hyperlink. Text and navigation URL may be dynamically bound to Salesforce record properties or URL parameters.

Attributes
id: (Required) A unique identifier for the control. Multiple hyperlinks displaying the same field may be used on a page, but each HyperLink control must have a unique ID.

Text: The highlighted hyperlink text.

NavigateURL: The hyperlink target URL. {sfid} and {oid} replacement template tags may be used in NavigateURL to provide object context to a details page.

TextFieldName: (optional) The Salesforce custom field name to be displayed.

LinkFieldName: (optional) The Salesforce custom URL field name to be used as hyperlink.

TooltipFieldName: (optional) The Salesforce custom field name to be used as the tooltip.

textParam: (optional) Populates the Text property from a URL parameter.

linkParam: (optional) Populates the NavigateURL property from a URL parameter.

CssClass: (Optional) Reference to a Cascading Style Sheet class for defining presentation of control.

objectname: (Optional) Reference to the Salesforce object name (if different than the object defined in the script editor).

HideOnEmptyLink: (Optional) Default=false. If true, disables visibility of Hyperlink when the NavigateURL binding is empty (or null).

View more attributes

Notes
When conflicts arise, such as binding the Text property to both a Salesforce URL field and a CGI param, the Hyperlink will evaluate all data sources in the following order of precedence:
1. Text
2. textFieldName
3. textParam
The last field source evaluated with a non-empty result will be the data source displayed.

If the Text property is null, then Text is inherited from the NavigateURL property.

Example 1
URL = <dlog:HyperLink id="HyperLink1" linkfieldname="WebSite" Text="Home Page"></dlog:HyperLink>


Example 2
URL = <dlog:HyperLink id="HyperLink2" textfieldname="Name" NavigateURL="details.aspx?oid={oid}"></dlog:HyperLink>

ScrewTurn Wiki version 2.0.35. Some of the icons created by FamFamFam.