Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
BUI: Is IExtensionPromise Promises/A+ compliant? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

BUI: Is IExtensionPromise Promises/A+ compliant?

Accepted answer
edited Jun 13, 2022 4:10AM in General Technical Discussions 1 comment



I was using IExtensionPromise interface to handle some asynchronous operations with a BUI extension. I noticed that the behavior of IExtensionPromise slightly differs from that of native JavaScript Promise.

IExtensionPromises behave more like pre-3.0 jQuery's promises. It has the same 'Error Handling' problems as described in this stackoverflow post about jQuery promises. Due to these issues, I was considering using the native Promise for my extension. I have these questions,

  1. Is IExtensionPromise Promises/A+ compliant?
  2. Would using native JavaScript Promise instead of IExtensionPromise pose any issues/risks with my program?
  3. Is there any inherent benefit or extra capability provided by the Extensibility framework's IExtensionPromise?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!