English
AppLink Generation Rules
About 336 wordsAbout 1 min
2026-07-21
Generation Steps
Use the protocol defined in AppLink Structure to generate links.
Generate the mobile raw redirect URL
mobileUrlbased on the target page, and generate the correspondingwebData.Wrap the mobile redirect URL:
bizDataRaw = {"url":"{mobileUrl}"}.Assemble the outer HTTP launch URL:
https://{tenant-host}/fsh5/applink/arouseFsApp/index.html?bizPath=fslink&bizData={app_params}&webData={web_params}bizPathis alwaysfslink.app_paramsisencodeURIComponent(bizDataRaw).web_paramsisencodeURIComponent(webData).- Both keys and values in the outer query string must be URL-encoded.
Use the current tenant's domain as
tenant-hostif available; on a tenant page you can get it fromwindow.location.origin. If no domain is provided,www.fxiaoke.comis used as the default.
Page Mapping
| Page | Mobile Raw URL (mobileUrl) | Web Path (webData) | Required Parameters |
|---|---|---|---|
| List | fs://CRM/objectList/{apiName}?{"apiName":"{apiName}","handlerSelector":"pushListVC:","pushListVC":"{apiName}"} | XV/ui/objlist?apiname={apiName} | apiName: object API name |
| Detail | fs://CRM/objectDetail/{apiName}?{"apiName":"{apiName}","dataId":"{dataId}","handlerSelector":"pushObjectDetailVC:","pushObjectDetailVC":{"kApiNameForDetail":"{apiName}","kDataIdForDetail":"{dataId}"}} | XV/ui/detail?id={dataId}&apiname={apiName} | apiName: object API name; dataId: record ID |
| Create | event://CRM/ObjModify?type=Add&apiName={apiName}&toDetail=true&recordType={businessType} | XV/ui/form?apiname={apiName}&businessType={businessType} | apiName: object API name; businessType: business type |
| App Home | ava://uipaas_custom/pages/innercustom/index?{"appId":"{appId}"} | XV/UI/Home#paasapp/index/=/appId_{appId} | appId: application ID |
| Custom Page | ava://uipaas_custom/pages/appcustom/appcustom?{"pageTemplateID":"{pageTemplateID}"} | XV/UI/Home#paasapp/custompage/=/appId_{appId}/{pageApiName} | appId: application ID; pageApiName: custom page API name; pageTemplateID: page template ID |
Example
Describe the target page and business parameters:
Generate an AppLink for a custom page.
Tenant domain: https://crm.ceshi112.com/
App ID: FSAID_PaaS_0961182982519
Page API name: layout_myxNpSci6J__c
Page template ID: 90726-b72860a5496b40cd9b56de11779770f2The full AppLink generated using the "Custom Page" rule:
https://crm.ceshi112.com/fsh5/applink/arouseFsApp/index.html?bizPath=fslink&bizData=%7B%22url%22%3A%22ava%3A%2F%2Fuipaas_custom%2Fpages%2Fappcustom%2Fappcustom%3F%7B%5C%22pageTemplateID%5C%22%3A%5C%2290726-b72860a5496b40cd9b56de11779770f2%5C%22%7D%22%7D&webData=XV%2FUI%2FHome%23paasapp%2Fcustompage%2F%3D%2FappId_FSAID_PaaS_0961182982519%2Flayout_myxNpSci6J__c