J
jts-law
Guest
Hi Maura, I'm using the popup on the grid to make the changes. For testing, I have both a REST service as well as my WebHandler. I did some more debugging sending my update (PUT) message through both services. I found that the REST service was sending back the before-image and all other information including the error info. The WebHandler service was not including the extra information. I changed: DATASET dsLookup:WRITE-JSON ("LONGCHAR", lcBody, TRUE). to: DATASET dsLookup:WRITE-JSON ("LONGCHAR", lcBody, TRUE, ?, FALSE, FALSE, TRUE). Now I at least get the standard error popup with "Error while saving changes.". The following is now being returned in the response. How do I get the "prods:error" value to display? "prods:errors": { "ttLookup": [ { "prods:id": "ttLookup22784", "prods:error": "Unable to update, record already exists for X." } ] } Louis
Continue reading...
Continue reading...