English
getCrossAppUrl
About 138 wordsLess than 1 minute
2025-12-16
This method allows you to get the URL of a connected application.
Syntax: FxUI.appApi.getCrossAppUrl(hash, appId, upEa, opts)
Parameters
| Parameter | Description | Type | Allowed Values | Default |
|---|---|---|---|---|
| hash | Page route (required) | string | — | — |
| appId | Application ID | string | — | — |
| upEa | Upstream enterprise account | string | — | — |
| options | Options | object | — | — |
options
| Parameter | Description | Type | Allowed Values | Default |
|---|---|---|---|---|
| noAppMenu | Whether to hide the menu | boolean | — | false |
| noAppHeader | Whether to hide the application header | boolean | — | false |
| noAppMenuBack | Whether to hide the back button | boolean | — | false |
Example
const url = FxUI.appApi.getCrossAppUrl('remind/approvalbyme', 'FSAID_11491009', 'fsceshi003');
window.open(url, '_blank');How to Choose hash
In the URL of the current page, the string after # is the value of hash.
For example, when you open a CRM or platform application and the current URL is https://www.fxiaoke.com/XV/UI/Home#crm/index, the hash is crm/index.
FxUI.appApi.open('crm/index')