Skip to content

Instantly share code, notes, and snippets.

@simpluslabs
Created February 8, 2019 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simpluslabs/148a20167b0e9c72c750e790ab79014e to your computer and use it in GitHub Desktop.
Save simpluslabs/148a20167b0e9c72c750e790ab79014e to your computer and use it in GitHub Desktop.
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