function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Mike Lee PCLMike Lee PCL 

Lightning component documentation - finding more information on server side controller response

Hello,

I was going through the Trailhead for Lightning Components and saw a couple of methods that deal with the response from a Callback. There were response.isValid() and response.getReturnValue().

Can anyone point me in the right direction as to where I can find more not only about these two methods but any others that are applicable to service side responses? I've looked around and I haven't seen much.

Thanks,

Mike
Jayanth ThathapudiJayanth Thathapudi
Hi Mike,

Please find the few other methods on response below.

1. response.getState()
2.response.getError()
3.response.isValid()
4.response.getReturnValue()

Thanks,
Jay