X

Developer Partner Community

Abort Long Running REST Calls in Visual Builder by Shay Shmeltzer

Juergen Kress
PaaS Partner Adoption

image

Sometime a REST call to the backend in your application could take too long, and you want to allow the user to cancel this operation mid-run. This is possible using an AbortController - a new interface that allows you to abort a web request (This interface is supported by most modern browsers). In the blog below I'll show how to use this technique in a Visual Builder application.

The process is quite straightforward and the artifacts are shown in the video below. The steps to achieve this consist of:

1. Adding an application variable that will track the AbortController - this will be a variable of type Any

2. Add two JS functions at the application's level: Read the complete article here.

 

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.