lightning/stateManagerObjectInfo
This state manager retrieves metadata about a specific object. The response includes metadata describing the object’s fields, child relationships, record types, and theme.
ObjectInfo details depend on only the developer (API) name of the object.
setConfig()Provide the entire configuration as an object. This function is equivalent to the factory function when you create the state manager.
setObjectApiName()Set the object API (developer) name.
statusThe current status of the state manager. See
statusfor details.dataWhen
statusis "loaded", anObjectInfo.errorWhen
statusis "error", this property contains details. Seeerrorfor details.
See Also
- getObjectInfo wire adapter
- User Interface API Developer Guide: Get Object Metadata