You need to sign in to do that
Don't have an account?
Salesforce Dev199
How to import custom object fields in LWC js file
Hello Experts,
I dont find any standard documentation on importing custom object and its field to import in lwc js.
Like how do we even import custom obect's picklist and show them on frontend?
Can anyone help me with this?
I dont find any standard documentation on importing custom object and its field to import in lwc js.
Like how do we even import custom obect's picklist and show them on frontend?
Can anyone help me with this?
You can import custom fields of the sObject using @salesforce/schema in lwc js.
for more info refer this link : https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.apex_schema
If it helps mark this as best answer!
All Answers
Go to setup > object manager > Click Create an object from Spreadsheet option
Please comment if you are looking for something different.
You can import custom fields of the sObject using @salesforce/schema in lwc js.
for more info refer this link : https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.apex_schema
If it helps mark this as best answer!