Hi,
I have a couple of NetWebServiceMethod procedures where the table prefixes are not removed in the resultant JSON, but the settings are correct. This is a sample of the code that the template generates in the BuildResultFields routine:
...
jsonResults.RemovePrefix = true
jsonResults.TagCase = jf:CaseAsIs
jsonResults.CascadeDown()
jsonResults.ExportBlobsWithView = true
...
I thought that the labels in the dictionary would be a possible cause that the prefixes are in the response, but (see attached file) there is nothing strange about the table definition. Below is an example of the response:
{
"dbStaff_response": {
"queue": [
{
"STFF:USERID": "AB",
"STFF:INITIALS": "AB",
"STFF:SURNAME": "Botha",
"STFF:NAME": "Andrea",
"STFF:TELNOWORK": "12650",
"STFF:TELNOHOME": "(010)430 7873",
"STFF:TELNOCELL": "089 577-2539",
"STFF:ADDTELCONTACT": "(010) 312-6458",
"STFF:PARENTUSERID": "",
"STFF:EMAIL": "m@m.com",
"STFF:ALTERNATIVEID": ""
}
]
}
}
Any ideas on how to fix it, without overriding each column's label?
Thys