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 Analytics Extensions and Async

Accepted answer
edited Jun 13, 2022 4:12AM in General Technical Discussions 9 comments


Analytics extensions apparently do not work at all with async. What am I doing wrong?


I have a very simple proof-of-concept analytics extension for BUI that returns one hard-coded row, containing a first and last name. The entire logic.js file is included below; there's also a schema.json file that defines two text columns. It's not included because I don't think it's relevant to my question.

The POC works fine...unless I want to populate my report with data fetched from an external service, which requires asynchronous requests. If all I do is make the sampleDataSupplier function async by writing

Howdy, Stranger!

Log In

To view full details, sign in.


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