NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: jari@softmade.fi on August 28, 2017, 04:30:11 AM
-
Hello
If I uncheck "Include field prefixes" then for example " json.GetPropertyValue('Customer_Action',1) " command does not work properly.
Therefore NetWebserviceMetrhod always tries to add a record even if the value of the "Customer_Action" is update.
This is because Customer_Action is filled in code:
If json.GetPropertyValue('Customer_Action',1) <> '' ! if the Action is not passed, then fall back on the REST http method.
Customer_Action = json.GetPropertyValue('Customer_Action',1)
ElsIf json.GetPropertyValue('action',1) <> '' ! if the Action is not passed, then fall back on the REST http method.
Customer_Action = json.GetPropertyValue('action',1)
End
I also noticed that almoust all fields with a "_" character cause problems when "Include field prefixes" is not true.
Only arrays works fine
Regards
Jari
-
Hi Jari,
I've solved this problem (mostly) in xFiles (2.93) and jFiles (1.51).
Grab both of those and the problem will (mostly) go away.
(mostly) - it not expects the prefix (by default) to be 3 or fewer chars.
I'll be updating NetTalk to set this explicitly to 0 for json/xml which is know to not have a prefix.
Cheers
Bruce