Salesforce Fact #249 | Dynamic record form in LWC using custom settings
We can create dynamic lightning record form in LWC. We can create a custom setting which will store the Sobject API name and the field API names list(as a comma separated string). Now from the LWC, we can pass the input object name and get the field list from custom settings and render the same in the UI. The field list can be maintained for multiple objects as per the requirement.
Attached are the screenshots.
Comments
Post a Comment