English
callAppLink
About 126 wordsLess than 1 minute
2026-09-04
This method is used to trigger an App Link action. Pass the action name through action and action parameters through payload. The method returns a Promise.
Syntax: FxUI.biz.callAppLink(action, payload)
Parameters
| Parameter | Description | Type | Allowed Values | Default |
|---|---|---|---|---|
| action | App Link action name (required) | string | — | — |
| payload | Parameters passed to the action | Object | — | — |
Example
FxUI.biz.callAppLink(action, payload).then((res) => {
console.log(res);
});Return Value
Returns a Promise with the following structure:
{
success: true
}Notes
- The specific value of
actiondepends on the host-side action capability. - The structure of
payloaddepends on the target action capability. success: trueonly means that the action trigger method has been executed. It does not mean that the target action has completed successfully.
