force-app/main/default/lwc/viewRecord/viewRecord.js
@@ -4,6 +4,7 @@ import ACCOUNT_TYPE_FIELD from '@salesforce/schema/Account.Type'; import ACCOUNT_PHONE_FIELD from '@salesforce/schema/Account.Phone'; import ACCOUNT_EMPLOYEES_FIELD from '@salesforce/schema/Account.NumberOfEmployees'; import ACCOUNT_PARENT_FIELD from '@salesforce/schema/Account.ParentId'; export default class ViewRecord extends LightningElement { @api recordId; @@ -13,6 +14,7 @@ ACCOUNT_NAME_FIELD, ACCOUNT_TYPE_FIELD, ACCOUNT_PHONE_FIELD, ACCOUNT_EMPLOYEES_FIELD ACCOUNT_EMPLOYEES_FIELD, ACCOUNT_PARENT_FIELD ]; }