Apex Aide apexaide

How to Develop a Custom Record Picker for Salesforce LWR Sites

SalesforceCodex· ·Intermediate ·Developer ·1 min read
Summary

This content explains how to build a custom record picker component specifically for Salesforce LWR (Lightning Web Runtime) sites using Lightning Web Components (LWC). It highlights the limitation that the standard lightning-record-picker is not supported in LWR sites and provides guidance on creating a tailored solution. Salesforce professionals can use this approach to enhance user experience on Experience Cloud sites by enabling custom record selection functionality that fits LWR constraints.

Takeaways
  • Standard lightning-record-picker is unsupported in Salesforce LWR sites.
  • Custom record picker components can be built using Lightning Web Components.
  • This approach enhances user experience on Experience Cloud LWR sites.
  • Developers must implement alternative record selection patterns for LWR compatibility.
  • Leveraging LWC allows tailored UI components fitting LWR technical constraints.

Build a custom Record Picker for Salesforce LWR sites using LWC. Learn why lightning-record-picker isn’t supported and how to create it for LWR sites. The post How to Develop a Custom Record Picker for Salesforce LWR Sites first appeared on SalesforceCodex .

Lightning Web ComponentsLightning Web ComponentSalesforceapexCustomer Experienceexperience cloudexperience cloud sitelightninglightning componentLightning web componentlwclwrsalesforce