THIS SOFTWARE IS COVERED BY THIS DISCLAIMER.
Simple Lightning component to provide simple single field search on an SObject. Purpose is to return single record where the search field matches a record uniquely.
Configuration parameters:
- SOBject To Search - The sobject (standard, custom, or external) to search for record
- Field API Name to Search By - The field API name to search for. Currently limited to text type fields.
- Label to use for search field - Label string to apply to search field.
- Card Header Label - Label to put at top of record next to image.
- LDS Icon for Card - An image to show for the record card. This uses the icons that are details here. Just find your icon. Not the group and name. For example the email icon in the Action Icons group would have a string of "action:email".
Screenshot inside community. Just enter search string and hit 'enter'.
Screenshot of Community Builder and component options.