getListObjectInfo

This wire adapter gets the metadata for a list view object.

See Get Metadata for a List View Object.

Parameter NameTypeDescriptionRequired?
objectApiNameStringThe API name of a supported object.Yes

Read the data that's returned by the wire adapter using a property or function.

propertyOrFunction—A private property or function that receives the stream of data from the wire service.

  • If a property is decorated with @wire, the results are returned to the property’s data property or error property.
  • If a function is decorated with @wire, the results are returned in an object with a data property and an error property.

This code example fetches the list object info for an object and then displays the list of columns for the object.

See Also