Sorry for blank error submission, here is my question ,
Hi , can i get some advice on how to get my response as string and convert to TJSArray ?
Thanks for the info ,can i find out whether there is document available for learning how to manipulate TJSArray ?
You can see this class definition in JS.PAS and it actually maps directly onto the JSArray JavaScript object.
if my AResonse string is something like this
Your response is not an array, only data is an array. So, please parse this as JSONObject and then get the different object property values (in pretty much the same way as you would directly do in Delphi)
oh i see , thanks, got an idea , pass the AResonse into ASM block and use JS to do the conversion ,this can be done , only in TMS Webcore way !
You can of course handle it in an ASM block but we strive here to handle as much as possible using Pascal code since the purpose of TMS WEB Core is to bring Object Pascal to the web :)
Hi Bruno , i tested with a simple load of the following code following what you advice but the dataset will not open , anything i missed ?
Was retested with a TwebClientDataSet on the form and the code:
i faced very weird behavior , i am now stuck here and cannot proceed ,need to find a solutions ,
I solved the no 3 item by clicking on the Pause on exceptions option and i think now the 2 Error stop at the point of exception,
You can download the test project with which we do not see any issue here via:
Hi downloaded and compiled , execute without making any changes but
I can only suspect you still have older version files around on your system.
Make sure you have a clean install of only the latest version.
do u have any advice for me to try to look for and files and make sure i have a clean installation of the TMS Webcore ?
Hi , quite desperate, i uninstalled TMS Webcore , redownload it , clean up all folders , delete it from whatever location that i can find on my pc , but after reinstall , compile the project , still face the same issue ! it is very important for me to be able to do