Asynch Client Calls

Version 0.0.1 (OutSystems 11)
Published on 03 November 2018 by 
Created on 03 November 2018
Details
Parallelize your server calls efficiently. Asynchronous call high latency services from the client.
Read More

This component makes use of the asynchronous nature of XMLHttpRequest and abstracts the complexity of handling callbacks from this mechanism into low-code.

The component needs a REST URL that will process the request, and throw an event when ready.

There are two options when processing the event:

  • The service invoked either returns a JSON string the the event handler should deserialize and push back to the page (using AJAX refresh for instance)
  • The service invoked binds the results to a generated ID aggregating results that can be processed in the event handler (also using AJAX refresh, for instance)

Multiple things can be done to improve the component further:

  • Change the ID to a more anonymous GUID
  • Implementing retention mechanisms over data that is transiently stored
  • Porting back to OutSystems 10 by using Notify / GetNotifyMessage mechanism
  • Porting back to OutSystems 9 by using ARDO JSON for JSON based events
Reviews (0)
Category
UI & Widgets, Samples & How-tos, Components
Tags
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Grazina who created this component.
Dependencies
See all 2 dependencies
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
All
Component Consumers
No consumers yet.
Weekly Downloads