Link
Use the Link element to add a hyperlink to anywhere on a page or any report section (i.e. header, detail or footer).
Refer to Link layout element for a GitHub example.
Add a Link by right-clicking and selecting Add Link from the context menu.
Drag and drop the link over any report element or any report location to give the impression the element is clickable in the finished PDF document.
Dynamically Adding a Link URL
You can dynamically provide a Link layout element's value by using a JSON dataset's fieldname surrounded by pound signs. For example, #myurl#
in the following JSON document would dynamically place use the value provided to the url property.
{
"name" : "Simple dynamic URL example.",
"urls" : [
{
"name": "DynamicPDF Core Suite",
"myurl": "www.dynamicpdf.com"
},
{
"name" : "DynamicPDF Cloud API",
"myurl": "cloud.dynamicpdf.com"
}
]
}
You can either embed the http://
as part of the JSON data, or in the url
property http://#myurl#
Properties
The Link element has the following properties.
Property | Value | Description |
---|---|---|
id | text | The id of the Link. |
url | URL | The Link URL. |
height | numeric | The Link height in pixels. |
width | numeric | The Link width in pixels. |
x | numeric | The x coordinates of the Link. |
y | numeric | The y coordinates of the Link. |