You need to sign in to do that
Don't have an account?
bperry8086
Challenge "using apex in components" - where to put code?
Where is the client side controller code supposed to be saved? Does it go in the Lighning component? A static resource? Somewhere else?
I've pasted in into the component so that it is between the "aura:component" tags. I'm getting a
"The client side controller does not refer to the 'getCaseFromId' method of the Apex controller class"
error. I suspect I don't have the code in the right place.
I've pasted in into the component so that it is between the "aura:component" tags. I'm getting a
"The client side controller does not refer to the 'getCaseFromId' method of the Apex controller class"
error. I suspect I don't have the code in the right place.
When you open the component in developer console, in the right hand, you will see a section, Click on controller and paste the code. See the below screen shot:
Let me know, if you need any other help.
Thanks,
Neetu
All Answers
You need to create a Apex class with the following code: Let me know, if you need any other help.
Thanks,
Neetu
When you open the component in developer console, in the right hand, you will see a section, Click on controller and paste the code. See the below screen shot:
Let me know, if you need any other help.
Thanks,
Neetu