Push Button
Push buttons are primarily regular button components for performing actions.
Properties
UI Dialog
Item | Input value | Option | Default value |
---|---|---|---|
ID | string | automatic | |
Label | string | Button | |
Width | string | 90 | |
Height | string | 40 | |
X | string | ||
Y | string | ||
Variant | select | CONTAINED, OUTLINED, TEXT | CONTAINED |
Color | string, color picker | ||
Disabled | boolean | on, off | off |
Visibility | boolean | on, off | on |
Start Icon | select | None | |
End Icon | select | None | |
Alert Dialog | select | on, off | off |
Tooltip | select | ||
Alert Value | table Details1 | Details 1 | |
Click Event | select | None, NEXT UI, URL, WINDOW, ACTION, UPLOAD | ACTION |
NEXT UI | select | None, [UI Label] | |
URL | string |
Action
Item | Properties | Data Type | Options | Default value |
---|---|---|---|---|
id | string | automatic | ||
label | string | Button | ||
width | string | 90 | ||
height | string | 40 | ||
x | string | |||
y | string | |||
variant | string | contained, outlined, text | outlined | |
color | string | |||
disabled | boolean | true, false | false | |
visibility | boolean | true, false | true | |
tooltip | string | |||
nextUi | string | |||
url | string |
Tips
[Details 1] Alert Value
The default status is registered as follows Edit the value columns for the items “Title”,“Contents”, “Cancel”, and “Submit”.
Item | Value |
---|---|
Title | Are you sure? |
Contents | Once you execute, all the previous changes will be lost and existing users will not be able to view the last changes. This cannot be reverted. |
Cancel | Cancel |
Submit | Submit |
[Details 2] 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
- Select “WINDOW” in “Click Event”
- Set the URL for the transition to the external service site in the URL field displayed.
- 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 url property. Example) $ui.button_id.url
- 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.
- Click on the settings component to open the external service site with the specified URL in a new tab.
- Complete the external service site processing.
- Navigate to the callback URL.
- Close the external service site with the process from the callback page.
- The action defined in the window action “Close” is executed.
Event
Event name | Description |
---|---|
onclick | For the click event “Action”: Execute an action when clicked. For the click event “Upload”: The action is executed when the “Open (O)“button is clicked after the file is selected. For the click event “WINDOW”: The operation is described in “[Detail 2] External Service Site Integration”. |