Skip to main content
kstvs
Participant
October 14, 2016
Question

Javascript and REST from Captivate

  • October 14, 2016
  • 1 reply
  • 403 views

Hi

Could somebody with technical background let me know if this is possible? It seems so, as I understand that you can add JavaScript code to a Captivate 9 project.

I would like to make a call to third party APIs (e.g. google speech to text) from Captivate 9 using JavaScript and REST and return the result as student data.

Obviously I don't need the exact coding to achieve this, only to know if it is broadly possibly.

Thanks for any advice

    This topic has been closed for replies.

    1 reply

    BDuckWorks
    Inspiring
    October 14, 2016

    In general, your JavaScript will function in the users browser as if it was any other website.

    If you are able to build a working test of the site with the functionality that your users need, you can transfer data in and out of Captivate by modifying that code and including it within your Cp project using the Common JS Interface.

    kstvs
    kstvsAuthor
    Participant
    October 15, 2016

    Thanks for the answer. That's what I was hoping / expecting.

    If Captivate can  function like any page within a browser, we should be fine as you say.