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.
statusThe current status of the state manager. See
statusfor details.dataWhen
statusis "loaded", aRelated List Summary Collection.errorWhen
statusis "error", this property contains details. Seeerrorfor details.
See Also
- getRelatedListsInfo wire adapter
- User Interface API Developer Guide: Get Related Lists for an Object