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

  • Thread starter Thread starter egarcia
  • Start date Start date
Status
Not open for further replies.
E

egarcia

Guest
Hello, Yes, it is possible. There are two ways that you can work with the nested data: 1) When there is a current working record select for the parent table, you can use getData() on the child table to get the related records. No records are returned for the child table if there is no selected working record on the parent table. 2) You can also turn off the usage of the relationship by setting jsdo.useRelationships to false. In this case, a call to getData() on the child table returns all the records. Related link: * documentation.progress.com/.../ Note: The JSDO perform this behavior regardless of the usage of the "nested" keyword. The "nested" keyword determines the JSON format, however, the relation is always handled. > 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. Please notice that getData().record is not valid - you should do something like jsdo["ttVS_CallLine"].getData() or jsdo["ttDM_RecordMetaData"].getData(). Please check and see if it is an issue with the way the API is being called. I hope this helps.

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