[progress Communities] [progress Openedge Abl] Forum Post: Re: Jsdo Authentication

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

egarcia

Guest
Hello Martyn, > So the requirement to use a standard AJAX call is too return the WHOLE Dataset on a Get (READ Only) request. Just a quick reply. You should be able to use the JSDO API, both fill()/read() or invoke methods to read your whole dataset. With the JSDO API, you can set jsdo.useRelationships = false to be able to do a jsdo.tableRef.foreach() or a jsdo.tableRef.getData() on each of the tables in the dataset. Could you give some more details on why you are not seeing the other tables? Do you see them in the Network tab? I hope this helps. Edsel --- Note: Internally, the JSDO uses the XMLHttpRequest object. So in theory you should be able to use standard AJAX calls as long as you pass the same information in the request. The Session ID should be handled automatically since it is generally stored as an HTTP only cookie. The reason why you are getting 401 is because some parameters that the JSDOSession passes to XMLHttpRequest are not passed in your AJAX call.

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