English
fetch_describe
About 93 wordsLess than 1 minute
2025-04-28
This method allows you to retrieve the describe information of a business object.
FxUI.objectApi.fetch_describe(apiName:String)Parameters
| Parameter | Description | Type | Optional Values | Default |
|---|---|---|---|---|
| apiName | Business object apiName (required) | string | — | — |
Return Value
| Parameter | Description | Type | Optional Values | Default |
|---|---|---|---|---|
| buttons | Returns button information for the object | Array | — | [] |
| objectDescribe | Returns describe information for the object | Object | — | {} |
Code Example
This method returns a Promise object, as shown below:
import FxUI from 'fxui-mobile';
FxUI.objectApi.fetch_describe("AccountObj").then((res) => {
console.log('fetch_describe success callback', res)
}).catch((err) => {
console.log('fetch_describe failure callback', err)
})