!--a11y-->
Hyperlink 
A hyperlink is the context sensitive text within a control, which on activation links to a defined target at runtime. You can create hyperlinks for both bound and unbound controls. At runtime, hyperlinks appear as blue, underlined text. The following table contains the types of hyperlinks and the purpose of each.
Type of hyperlink |
Purpose |
Internal |
To display the tile set associated to a business component within the mobile client application. This is a bound controls. |
Mailto |
To display the new mail message window of Microsoft Outlook with an e-mail address in the To field. This is an unbound control. |
Web |
To display a web page of the specified URL (Uniform Resource Locator). This is an unbound control. |
On New |
To provide an additional menu option to create new objects in the tile that defines the hyperlink. This is a bound control.
In the Mobile Sales application at runtime, if a user selects ‘New’ from the Contacts tile set, the corresponding detail tile set for BOActContact opens. |
Hyperlinks can be used to:
· Display detailed information on the linked text
· Display related information from other business components in a mobile client application
· Display related information available in the Web
· Allow instant access to the mailing system to send mails
A hyperlink comprises a source and a target.
· Hyperlink source is the tile control that triggers the hyperlink. A source anchor specifies what data is transmitted.
· Hyperlink target is defined by the tile set displayed when the hyperlink source is chosen. A target anchor specifies the data source to receive the transmitted data.
A target anchor specifies the data source to receive the transmitted data. If the two anchors are not associated with the identical data source, you must write an event handler for the onHyperlinkClicked event to specify how the source business anchor is to be used to extract appropriate data for the target business object.

In the Order Details tile, you want to create a hyperlink in the Name field. If the name is a:
· Business partner, the link must display a tile set with details of a business partner
· Contact person, the link must display a tile set with details of a contact person
Create two hyperlink sources and associate them to the Name control. The hyperlink source to be used at runtime can be defined by writing the script, OnClick event handler, for the Name control.
See also: