getDataConnectorTypes

Retrieves the collection of CRM Analytics data connector types.

Syntax 

1import { LightningElement, api, wire } from "lwc";
2import { getDataConnectorTypes } from "lightning/analyticsWaveApi";
3
4export default class GetDataConnectorTypes extends LightningElement {
5  @wire(getDataConnectorTypes, {})
6  onGetDataConnectorTypes({ data, error }) {
7    if (error) {
8      console.log("getDataConnectorTypes() ERROR:", error);
9    } else if (data) {
10      console.log("getDataConnectorTypes() RESPONSE:", data.types);
11    }
12  }
13}

CRM Analytics API Resource 

1GET /wave/dataConnectorTypes

getDataConnectorTypes uses this CRM Analytics API resource.

Parameters 

No parameters are needed.

Returns