lightning/stateManagerRelatedListsInfo

This state manager gets the metadata for RelatedLists in an object’s default layout.

RelatedLists details depend on a parent object developer (API) name, and optionally a record type ID.

setConfig()

Provide the entire configuration as an object. This function is equivalent to the factory function when you create the state manager.

setParentObjectApiName()

Set the API name of a parent object that you want to get related lists for, like an Account.

setRecordTypeId()

Set the ID of the parent record type.

status

The current status of the state manager. See status for details.

data

When status is "loaded", a Related List Summary Collection.

error

When status is "error", this property contains details. See error for details.

See Also