DatasourceApexRemote Lightning Web Component ReadMe (Managed Package)

For the managed package runtime, this page contains a DatasourceApexRemote LWC ReadMe for each Vlocity release.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

Vlocity Insurance and Health Winter '20 and Vlocity CME Spring '20

The DatasourceApexRemote Lightning Web Component extends the Datasource Lightning Web Component with additional features for fetching data using an Apex class.

Available c-datasource-apexremote Attributes

Attribute

Value

Type

Required

Description

classname

 

string

yes

Provides the Apex remote class name.

methodname

 

string

yes

Provides the Apex remote method to call.

inputmap

 

string

yes

Provides the input map data to pass as a parameter.

optionsmap

 

string

yes

Provides the options map data to pass as a parameter.

Example c-datasource-apexremote

<!--inputMap = '{ "query": "SELECT Id, name FROM Contact LIMIT 2" }';-->
<c-datasource-apexremote
  theme="slds"
  classname="LWCDatasource"
  methodname="query"
  inputmap={inputMap}
  channel="apexremote"
  debug="true"
></c-datasource-apexremote>

Vlocity Insurance and Health Summer '19 and Vlocity CME Fall '19

The DatasourceApexRemote Lightning Web Component extends theDatasource Lightning Web Component with additional features for fetching data using an Apex class.

Available c-datasource-apexremote Attributes

Attribute

Value

Type

Required

Description

classname

 

string

yes

Provides the Apex remote class name.

methodname

 

string

yes

Provides the Apex remote method to call.

inputmap

 

string

yes

Provides the input map data to pass as a parameter.

optionsmap

 

string

yes

Provides the options map data to pass as a parameter.

Example c-datasource-apexremote

<!--inputMap == '{ "query": "SELECT Id, name FROM Contact LIMIT 2" }';-->
<c-datasource-apexremote
  theme="slds"
  classname="LWCDatasource"
  methodname="query"
  inputmap={inputMap}
  channel="apexremote"
  debug="true"
></c-datasource-apexremote>