Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { LightningElement } from 'lwc';
import accountObject from '@salesforce/schema/Account';
import nameField from '@salesforce/schema/Account.Name';
import websiteField from '@salesforce/schema/Account.Website';
import industryField from '@salesforce/schema/Account.Industry';
export default class CreateAccountRecord extends LightningElement {
// Code for create the Account Record
accountObject = accountObject;
myFields = [nameField, websiteField, industryField];
handleSubmit(){
}
handleSuccess() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.