BUI Analytics Extensions and Async
Summary
Analytics extensions apparently do not work at all with async. What am I doing wrong?Content
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
Tagged:
0