Using update query fields are not updating for section.

Hi Community,

 

I am trying to update the fields for my section called payment request. Please see the code below 

 

this.showInformatinDialog(result.success + "\n" + result.message); // for checking the status of update query execution

 

I am getting false for result.success. Please see the below screenshot.

 

I wrote the same code for other sections and it working fine for all other sections.

 

Please help me with this.

 

Many Thank.

 

Akshit.

 

Like 0

Like

2 comments

First, I believe that the response includes response.errorInfo which you can check for any error messages. Second, if you look in the browser dev tools in the network tab, you should see the request there and you can look at the response to see if any messages provide any insight as to what is happening (as well as any errors in the console). Start there to see if there is any indication of what is going wrong. Nothing sticks out as incorrect in the code at first glance.

Ryan

Hi Akshit, 

 

Please review Ryan's reply above and debug the code firstly. Please check if specific requests sent in the network tab return any errors and also check for the result from the debugger. 

 

Regards, 

Anastasiia

Show all comments