The next table presents the properties of the Link widget.

Property

Description

Optionality

Default value

Obs.

Name

Name of the widget used in the screen scope.

Optional

 

Although optional, only named widgets are available in the scope of the web screen or web block. Only then can you use their runtime properties and select them using the widget selector.

See rules for naming elements.

Title

 

Expression that is evaluated at runtime and displayed when the end-user hovers the mouse over the link.

For the Link title to be constant, set the expression to have only literal values.

Optional

 

 

 

Validation Parent

Allows you to bind the Link widget to a specific Edit Record widget.

You can select the Edit Record from a drop-down list of the Edit Record widgets currently placed in the screen or screen block.

If this property is set to, for example, EditRecord1, when the link is clicked, the Mandatory and Data Type validations are only applied to the input widgets that also have EditRecord1 as their Parent Edit Record.

If this property is left empty, when the link is clicked, the Mandatory and Data Type validations are applied to all input widgets in the screen.

Optional

When the widget is implicitly created by dragging an attribute or entity into an Edit Record, this property will be set by default to <entity_name>_<attribute_name>, for example Customer_Address.

In any other case it's empty by default.

Specifying this property will place the Link widget inside the Edit Record widget, in the screen's Scope Tree.

Style

Drop-down list with the styles that can be applied to the link.

Optional

 

Learn more About Style Sheets.

Double-click on the property and the Style Sheet Editor is opened with the current style already selected.

Visible

When this property is false, the HTML page, generated at runtime, does not include the HTML tag that corresponds to this widget.

Mandatory

True

You can directly type the values true or false, select a variable that handles this (if the variable is not of type Boolean, an error message is presented and the eSpace is not valid), or use the Expression editor.

Enabled

Allows you to specify whether the end-user can interact with the eSpace through this widget. When this property is set to false, the button is presented but nothing happens when the end-user presses it.

You can directly type the values true or false, select a variable that handles this (if the variable is not of type Boolean, an error message is presented and the eSpace is not valid), or use the Expression editor.

Mandatory

True

If this property is false, the disabled attribute is added to the <a> HTML tag that corresponds to this widget. Learn more about how widgets are translated into HTML tags.

Is Default

Indicates whether the Link is the default button or link in the screen or screen block.

Mandatory

No

Learn more about the default button or link.

On Click - Grouped properties in the context of clicking with the pointing device over the widget.

Method

Indicates whether the inputs entered by the end-user are to be submitted or not. The possible values are:

  • Submit: the inputs are submitted. Uses the POST HTTP method.

  • Ajax Submit: all the inputs you use in the Destination logic are asynchronously submitted (using Ajax techniques) while keeping the state of the web screen.

  • Navigate: the inputs are ignored. Uses the GET HTTP method.

Mandatory

 

Navigate

Learn more about the different behaviors of the Link widget.

Validation

Boolean value that indicates whether you want to validate the typed values. The validation provided by Service Studio for the input widgets are regarding the data type and optionality. The possible values are: (none) means that no validation is performed; Server means that input values are validated in the server side, after submitting the request; Client & Server & Server means that inputs are validated in the browser side and are only submitted to the server if the request is valid.

Mandatory

Server

The Parent Edit Record property defines which inputs are used in the validation.

For more information, see Validate End-User Inputs.

When this property is set to (none), you should set the Method property to the value Submit or Ajax. Otherwise, it is not possible to validate the inputs and a warning message is provided.

Confirmation Message

Message displayed to confirm that you really want to go to the On Click Destination (either screen or action).

This property is evaluated during the rendering of the web screen, which means that values provided by the end-user were not submitted when this expression was evaluated.

Optional

 

If the end-user does not confirm the operation, the action is not executed and neither are the flow changes to the screen. The web screen remains the same.

Destination

List of possible screens and possible actions are displayed. Simply choose one of these.

The possible destinations are:

  • (New Action), which creates a new screen action.

  • All the screens actions created for the current screen, sorted by name.

  • (Current Screen).

  • All the screens you are already connected to, sorted by name.

  • (Another Destination...) to choose another screen.

Mandatory

 

 

 

Arguments

The arguments of the widget correspond to the input parameters of the screen action or web screen (depending on the Destination). The values of the parameters must be of the same type as the input parameters.

NA

NA

The argument is mandatory or optional, if the parameter in the destination screen is respectively mandatory or optional.

Extended Properties - Additional properties for attributes and/or events that implement specific behaviors of your widget.

Name

Name of the attribute that the HTML element can accept as specified in the HTML language reference.

NA

 

This property is added to the <a> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

Value

The value for the attribute.

NA

 

This property is added to the <a> HTML tag that corresponds to this widget.

Learn more about Extending Properties and how widgets are translated into HTML tags.

See Also

About Link Widget | Link Widget Runtime Properties