Mashup Builder > Widgets > Beta Widgets > Link Widget (Beta)
  
Link Widget (Beta)
The Link widget opens a user defined page. You can add the Link widget to your mashup and define a target URL. A mashup user can click the link to open the target URL.
* 
The Link widget is available as a Beta widget in the platform and as a web component that can be imported from an SDK.
The SDK is available at PTC Support under Download Software > Order or Download Software Updates > ThingWorx Platform > Release 8.4.
The properties of the Link widget are listed below.
Property Name
Description
Base Type
Default Value
Bindable? (Y/N)
Localizable? (Y/N)
Href
Enables you to add an URL.
STRING
n/a
Y
N
Disabled
Use this property to disable the widget in the mashup. The widget is displayed in the mashup but you cannot click it.
BOOLEAN
False
Y
N
Alignment
Enables you to align the text around the link widget. The options are left, right, or centre.
STRING
Left
N
N
CustomClass
Enables you to define the CSS to the top div of the widget. Multiple classes can be entered, separated by space.
STRING
n/a
Y
N
Text
The text that is displayed as the link.
STRING
n/a
Y
Y
LinkType
Enables you to set the link type as Primary or Secondary.
These types have different styling.
STRING
Primary
Y
N
TargetWindow
Enables you to define the window that will open when the link is clicked.
STRING
New Window
N
N
TabSequence
The sequence of the widgets in which they are highlighted when the user presses Tab key.
NUMBER
n/a
N
N
TextMaxWidth
Enables you to set a maximum width for the link text.
The text is displayed on multiple lines when the maximum width is reached.
NUMBER
n/a
N
N
Navigate
Directs you to the URL defined for this widget.
n/a
n/a
Y
N
Width
The width of the widget. The width is set to the width of the label by default. Enter a value in the property panel or resize the widget in the canvas to set a fixed width.
* 
The fixed width of the widget is reset if you set maximum width for the link text.
NUMBER
n/a
N
N
Height
The height of the widget. The height is set to the maximum width of the label by default. It increases if the widget has multiline label. Enter a value in the property panel or resize the widget in the canvas to set a fixed height.
NUMBER
n/a
N
N