HyperLink (PQL)

Returns markup text to make the supplied text a hyperlink to the specified URL

  • Returned Output: Text
  • Library: PQL \ Dynamic \ Markup
  • Version: 2025.10.000
  • Compatibility: Any content (regardless of data source) in the relevant parts of the application

Syntax

HyperLink( <Text> , <URL> , OPTIONAL <Flag> )

* Click on the function's arguments above for more details on the input values.

Comments
  • Use this function to mark-up dynamically created text programmatically.
  • The text is the visible text seen in the link.
  • The text can be any static or formula driven text element.
  • The URL must be a web address for the site or page.
  • The flag indicates where to launch the content
Flag options

The flag options for the formula drive the way the content is loaded. "_blank" is the default if no flag is specified.

  • _self: Loads the content into the same container or tab
  • _blank: Loads the content into a new browser tab
  • _popup: Loads the content into a pop-up window

Examples

This example returns the following resulting text with a live link to wiki.com. When clicked, the site will be loaded into a new browser window.

"This is a test"

"This is a " + Hyperlink("test", "https://www.wiki.com", "_blank")