I have a question: The Apex controller is returning a List of Contact Object from the query, but how it can be stored in the "cnt" attribute in the component? It's type is just a Contact object not List of Contact. Please explain.
In this case, we are filtering the soql query by a single contact id, so assuming that id exists in salesforce, the query will return a single contact instead of a list of contacts
coz he has use same name again. Better give something else like or soemthing. If you change like this, remember to make follow up controller and helper
Can you please provide the links that are mentioned in the video? For the Trailhead and for the blog
I have a question: The Apex controller is returning a List of Contact Object from the query, but how it can be stored in the "cnt" attribute in the component? It's type is just a Contact object not List of Contact. Please explain.
In this case, we are filtering the soql query by a single contact id, so assuming that id exists in salesforce, the query will return a single contact instead of a list of contacts
@@confetti21 That is correct.
Can u give some idea about creating a datatable with dynamic values of field label ???
Like a stock price table that changes prices every five seconds or something, without loading the whole page? Ajax works best. Use inline Ajax.
You used this
coz he has use same name again. Better give something else like or soemthing. If you change like this, remember to make follow up controller and helper