In Salesforce Lightning Web Component how to define an input parameter property which…
Private research annotation
Sign in to add a private research label or note.
- User
In Salesforce Lightning Web Component how to define an input parameter property which allows selecting an SObject type which is then used as an input or output record variable for both a target of a lightning community page and a lightning screen flow. State clearly which property types are eligible and how to define generic property types
Assistant
Short answer – you can’t.
The Lightning Web Component metadata schema does not expose a “generic SObject” or “any record” type. The only property types that are accepted in the element are:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.