# FxUI.objectApi.fetch_describe(apiName)

This method allows you to obtain the description information of a business object.

# parameter
parameter illustrate type Optional value Default value
apiName Business object apiName (required) string
# usage

The method returns a Promise Object , an example of which is as follows:

FxUI.objectApi.fetch_describe('AccountObj').then((describe) => {
    console.log(describe);
    // todo what you want
}).catch(err => {
    console.log(err);
})
# Describe data structures
{
    api_name: "AccountObj", //业务对象apiName
    description: "", //对象的文字描述信息
    display_name: "客户", //对象的名称
    fields: {
        ...
    } //该对象下的所有字段信息
}

For more information,please poke here

lastUpdate: 10/21/2022, 5:22:27 PM