A dynamic and customizable Lightning Web Component (LWC) for selecting Salesforce objects and fields, including support for multi-level reference fields. Perfect for use in merge field generators, formula builders, and dynamic UI integrations.
- 🔍 Dynamic object and field discovery via Apex
- 🔁 Supports reference traversal (
Account.Owner.Name, etc.) - 📦 Works as standalone component or embedded modal
- 💅 Clean iOS-style UI with multi-level pickers
- 🧠 Fully dynamic — no hardcoded schema
- 📤 Easily inserted into templates, editors, or formulas
- Merge field generator tools
- Formula field editor assistants
- Dynamic field insert modals for rich text editors
- Any Salesforce LWC needing structured field selection
Multi-level reference selection with object-aware UI
git clone https://github.com/kayacafersadik/salesforce-object-field-selector.gitsfdx force:source:deploy -p force-app<c-object-field-selector
root-object-api-name= {objectApiName}>
</c-object-field-selector>| Property | Type | Description |
|---|---|---|
root-object-api-name |
String |
API name of the root object (e.g., Opportunity, Contact) |
- Initial beta release
- Object and field picker UI implemented
- Multi-level reference traversal support
- iOS-style interface with keyboard accessibility
MIT License
For issues, suggestions, or contributions, feel free to open an issue or reach out directly.