# FxUI.objectUIAction.viewObject(objectApiName, objectDataId)
This method allows developers to view business object details.
# parameter
parameter | illustrate | type | Optional value | Default value |
---|---|---|---|---|
objectApiName | Business object apiName (required) | string | — | — |
objectDataId | Data ID (required) | string | — | — |
# usage
This method returns a Promise Object
, as shown in the following example:
FxUI.objectUIAction.viewObject('AccountObj', '623c3b9d4221fd00010c7971')