# FxUI.objectUIAction.selectObject(objectApiName, options)

This method allows the developer to select object data.

# parameter

parameter illustrate type Optional value Default value
objectApiName Business object apiName (required) string
options Other parameters object
# options
parameter illustrate type Optional value Default value
target_related_list_name The association list api_name (which can be seen on the setting screen of the current field management in the background) string
single Whether to select or not boolean false
maxNum Maximum number limit number

# usage

This method returns a Promise Object, as shown in the following example:

FxUI.objectUIAction.selectObject('AccountObj').then(res => {
    // todo what you want
})

FxUI.objectUIAction.selectObject('AccountObj', {
    single: true,
    maxNum: 6
}).then(res => {
    // todo what you want
})
lastUpdate: 10/21/2022, 5:22:27 PM