Skip to content

Link

This component is a hyperlink.

Property

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by actions.
2Label LStringLinklabelstringLinkComponent label
3WidthString222widthstring222Component width
4HeightString40heightstring40Component height
5XStringxstringX coordinate position
6YStringystringY coordinate position
7LockBooleanOFFlockbooleanfalseWhen ON, the component stays fixed even when the screen is scrolled.
When OFF, the component moves along with the screen scroll.
Added in v4.1.0.
8TopNumber0paddingTopnumber0Component top padding
9RightNumber0paddingRightnumber0Component right padding
10BottomNumber0paddingBottomnumber0Component bottom padding
11LeftNumber0paddingLeftnumber0Component left padding
12ColorString
Color Picker
colorstringComponent text color
13Font SizeNumber16fontSizenumber16Font size (px)
14BoldBooleanOFFboldbooleanfalseBold setting
15ItalicBooleanOFFitalicbooleanfalseItalic setting
16StrikethroughBooleanOFFstrikethroughbooleanfalseStrikethrough setting
17UnderlineSelection
1. Always
2. Hover
3. None
AlwaysunderlinestringalwaysUnderline display setting
18VisibilityBooleanONvisibilitybooleantrueDisplay state
19Horizontal PositionSelection
1. Left
2. Center
3. Right
LefthorizontalAlignmentstringleftHorizontal alignment
20Vertical PositionSelection
1. Top
2. Center
3. Bottom
TopverticalAlignmentstringtopVertical alignment
21Click EventSelection
1. None
2. Action
3. NEXT UI
4. Value
5. WINDOW
6. Download
7. Dialog
8. Detached Action
ValueClick event (no action property)
Detached Action became selectable in v4.1.0.
22NEXT UISelection
1. None
2. [UI Label]
nextUistringDestination UI
23URLStringvaluestringLink destination URL
24PathStringdownloadstringDownload file path
25DIALOG UISelection
1.None
2.[Dialog UI Label]
dialogUistringDestination Dialog UI
Added in v3.3.0
26Detached ActionSelection
1. [Detached Action ID]
detachedActionstringSet a detached action
Added in v4.1.0.

[Details 1] External Service Site Integration

External Service Site Integration with WebPerformer-NX is possible with the following specifications

  • If a callback URL is specified, the user will be redirected to that URL after processing the external service site.
  • When migrating to a callback URL, pass data to the callback URL using query parameters

The definition procedure for External Service Site Integration that conforms to the above specifications is as follows

  1. Select "WINDOW" in "Click Event"
  2. Set the URL for the transition to the external service site in the URL field displayed.
  1. Define window action "Open".
    • Dynamically create the URL to open the window.
    • Specify the following for the callback URL parameter.
      If you are not using a custom domain:
      {Parameter}=https://{envid}.webperformer.jp/callback.html If you are using a custom domain:
      {Parameter}=https://{customdomain}/callback.html
    • The created URL is set in the value property. Example) $ui.link_id.value
  2. Define the window action "Close".
    • Receive a parameter of the transition destination URL with $param.{query parameter name}.
    • Bind the obtained value to the UI if necessary.

External Service Site Integration works as follows.

  1. Click on the settings component to open the external service site with the specified URL in a new tab.
  2. Complete the external service site processing.
  3. Navigate to the callback URL.
  4. Close the external service site with the process from the callback page.
  5. The action defined in the window action "Close" is executed.

[Detail 2] Dialog Integration

Transitioning to the dialog UI is only possible from the screen UI. The procedure for defining a transition to the dialog UI is as follows:

  1. Select “DIALOG” in the [Click Event].
  2. Configure the dialog UI to be displayed upon transition in the displayed DIALOG UI item.
  1. Define the dialog action “Open”.
    • Parameters can be passed during dialog UI transition using $param.{query parameter name}, etc.
  2. Define the dialog action “Close”.
    • You can retrieve information about the destination dialog UI using $param.{query parameter name}.
    • Bind the retrieved values to the UI as needed.

The behavior during dialog integration is as follows:

  1. Clicking the settings component pops up the dialog UI.
  2. Perform processing within the dialog UI.
  3. Execute $fn.closeDialog() within the dialog UI.
  4. Execute the action defined for the dialog action “Close”.

Event

Event nameDescription
onclickFor the click event "Action": The action is executed when clicked.
For the click event "WINDOW": The action is described in "[Details 1] External Service Site Integration"
For the click event "DIALOG": The behavior described in "[Details 2] Dialog Integration" applies.
For the click event "Detached Action": Executes the detached action when clicked.