I'm trying to get all record fields and create oData query and got some responseTxt
"d" : {
"results": [
"statuscode": {
"__metadata": {
"type": "Microsoft.Crm.Sdk.Data.Services.OptionSetValue"
}, "Value": 1
}
etc
I checked that all fields with their values present in responseText and then I got array
var GetVal = JSON.parse(this.responseText).d;
Now I need to take all fields names in
GetVal.results[0]
Because I can get value of some field, for example
GetVal.results[0]["new_name"]
How can I do it?