Lightning Web Component to display JSON String is not working
I have the following lightning web component to read a JSON string and display them in Contact record Details page. Please note that I am new to lighting web components and making a considerable amount of effort to learn. MyComponent.html <template> <lightning-record-form object-api-name={contactObject} fields={myFields} onsuccess={handleContactCreated} onload={handleContactInitialized} > </lightning-record-form> </template> MyComponent.js import { LightningElement, wire, track } from 'lwc'; import findDetails from '@salesforce/apex/JSONDemoController.getContactWithRelatedDataById'; import CON
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.