[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: JSDO 6.0 is now available

  • Thread starter Thread starter braun_h
  • Start date Start date
Status
Not open for further replies.
B

braun_h

Guest
Is it possible to read nested data out of the jsdo? I use the jsdo directly and my dataset looks like this: define dataset dsVS_CallLine for ttVS_CallLine, ttDM_RecordMetaData data-relation drRecord for ttVS_CallLine,ttDM_RecordMetaData relation-fields (vst_callposition_obj,Owning_Obj) nested. Unforrtunately the jsdo["ttVS_CallLine"].getData().record doesn't contain the nested data. And even worse, jsdo["ttDM_RecordMetaData"].record is undefined, although the read request went through and shows the data in the network tab of my browser. { "dsVS_CallLine": { "prods:hasChanges": true, "ttVS_CallLine": [ { "linenumber": 1.0, "part": "1300010", "part_info": "", "quantity": 3.0, "unitofmeasure": 0, "unitofmeasure_info": "", "viewid": "110", "vst_call_obj": "PA2036:pA:8acea1a7002696acdc111bb9f297822a", "vst_callposition_obj": "PA2037:pA:8acea1a7002696acdc111bb9f397822a", "adoptedquantity": 0.0, "refdoc_origin_obj": "", "origin_obj": "" } ], "ttDM_RecordMetaData": [ { "Owning_Obj": "PA2037:pA:8acea1a7002696acdc111bb9f397822a", "Table_ID": "ttVS_CallLine", "Field_ID": "quantity ", "AttributeName": "HolleBolle", "AttributeValue": "testValue" } ], "prods:before": { } }} Is this expected behavior?

Continue reading...
 
Status
Not open for further replies.
Back
Top