Use Lightning Data Service to Work with Data:闪电Web组件和Salesforce数据 源码
Lightning Web组件和Salesforce数据:使用Lightning Data Service处理数据 contactCreator.html: contactCreator.js: 从“ lwc”导入{LightningElement}; 从“ lightning / platformShowToastEvent”导入{ShowToastEvent}; 从'@ salesforce / schema / Contact'导入CONTACT_OBJECT; 从'@ salesforce / schema / contact.LastName'导入LASTNAME_FIELD; 从'@ salesforce / schema / Contact.FirstName'导入FIRSTNAME_FIELD; 从'@ salesforce / schema / Contact.Ema
用户评论