What can iFrames "listen" for?

Question: I know that Evolve can listen for iFrame completion status. Can iFrames listen for specific data points from the Evolve parent - specifically the registration ID?

Context: I’m embedding Storyline as iFrames in my Evolve course. We have custom xAPI statements written in the Storyline project that send specific interaction data to our LRS (SCORM Cloud) end point. However, those xAPI statements are missing a registration ID that would allow us to map those statements to specific client invitations/registrations.

Based on Evolve’s documentation, I’m guessing the answer is no, but is it possible for an iFrame to call / listen for the registration ID from the Evolve wrapper via the postmessage API, or have the registration ID appended to the URL that the iFrame sees (regID_…)?

Hi @sophia.stone - to answer your question at a high level… in both versions of Evolve, the iframe component/element only supports triggering completion.

In new Evolve, I’d certainly like to add to the functionality over time so that it can do more, I’m specifically thinking it could be very powerful to integrate it with the (upcoming) Logic functionality - but something like that is likely to be quite far down the roadmap.

Specifically for your requirement around ‘registration ID’ - it’s not something I’ve heard of before. There doesn’t seem to be a lot of information about it, the only documentation I can find is in the xAPI spec here and on xapi[dot]com here - both of which are quite vague - so at this time I can’t really speak to this specific requirement.

Thanks for the reply @Matt_Leathes ! That’s what I guessed but I appreciate you confirming, and we’ll follow the new Evolve updates closely.

As for registration ID, we’re using SCORM Cloud’s Registrations Service (v2 API): V2 API Reference | SCORM Cloud Documentation

The registration ID gives a unique ID for each unique attempt by every learner. We were hoping Evolve could pass the registration ID to Storyline so we could add the registration ID to the xAPI statement (and thereby connect the interaction data to specific learners/clients).