For the managed package runtime, this page contains a DatasourceSearch LWC ReadMe for each Vlocity release.
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 DatasourceSearch Lightning Web Component extends the Datasource Lightning Web Component with additional features for fetching data through a Salesforce Object Search Language (SOSL) query.
Available c-datasource-search Attributes
|
Attribute |
Value |
Type |
Required |
Description |
|---|---|---|---|---|
|
searchterm |
string |
yes |
Provides search term to search accross provided sObject fields. Search term must be at least two characters long. |
|
|
searchfields |
(Default: all) |
string |
Provides which fields to search. |
|
|
returningsobjectfields |
string |
Provides which SObject fields to return. For example, "Account(Name), Contact(Id)". |
||
|
limitto |
string |
Limits the returned records for all the sObjects. |
Example c-datasource-search Component
<c-datasource-search
searchterm="quick"
searchfields="ALL"
returningsobjectfields="Account(Name),Contact(Name)"
channel="search"
debug="true"
limitto="2"
></c-datasource-search>
Vlocity Insurance and Health Summer '19 and Vlocity CME Fall '19
The DatasourceSearch Lightning Web Component extends the Datasource Lightning Web Component with additional features for fetching data through a Salesforce Object Search Language (SOSL) query.
Available c-datasource-search Attributes
|
Attribute |
Value |
Type |
Required |
Description |
|---|---|---|---|---|
|
searchterm |
string |
yes |
Provides search term to search accross provided sObject fields. Search term must be at least two characters long. |
|
|
searchfields |
(Default: all) |
string |
Provides which fields to search. |
|
|
returningsobjectfields |
string |
Provides which SObject fields to return. For example, ``Account(Name), Contact(Id)''. |
||
|
limitto |
string |
Limits the returned records for all the sObjects. |