Unable to pass the return value from server script to client controller in widget

String
Kilo Sage

Hi Team ,

we are trying to pas the return value from the server script to client controller as below ,to check the return value we have hardcodes return value to 200 and expecting to print the alert in the client controller 

 

Screenshot 2023-03-09 at 2.51.02 PM.png

 

alert output :

 

Screenshot 2023-03-09 at 2.52.52 PM.png

 

 

Please guid me with wright return syntax !

1 ACCEPTED SOLUTION

Prince Arora
Tera Sage
Tera Sage

@String ,

 

Please check the response in this thread: HERE 
I have already given the answer there!


If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact!

View solution in original post

1 REPLY 1

Prince Arora
Tera Sage
Tera Sage

@String ,

 

Please check the response in this thread: HERE 
I have already given the answer there!


If my answer solved your issue, please mark my answer as Correct & 👍Helpful based on the Impact!