English
fetch_describe
About 96 wordsLess than 1 minute
2025-12-16
This method allows you to get the metadata of a business object.
Syntax: fetch_describe(apiName)
Parameters
| Parameter | Description | Type | Allowed Values | Default |
|---|---|---|---|---|
| apiName | Business object apiName (required) | string | — | — |
Example
This method returns a Promise, as shown below:
FxUI.objectApi.fetch_describe('AccountObj').then((describe) => {
console.log(describe);
// todo what you want
}).catch(err => {
console.log(err);
})Return Value
{
api_name: "AccountObj", // business object apiName
description: "", // object description text
display_name: "Customer", // object display name
fields: {
...
} // all field information under this object
}For more information, click here
