iFrame Assessment Latest (BETA)

The openAssessmentIframe JavaScript function returns HTML that can be rendered in an iFrame to allow users to perform assessments.

  <!DOCTYPE html>
  <html>
    <head>
      <script src="https://[api-sandbox|api].vbmappapp.com/javascripts/iframe_support.js"></script>
      <script type="text/javascript">
        window.onload = function() {
          openLatestAssessmentIframe(
              '<your user agent key>', // User-Agent
              'en', // Accept-Language
              '<a sign in token>', // Sign in token
              18116, // Learner ID
              document.getElementById('mount-point') // The mount point for the iFrame in this
  document
          )
        }
      </script>
    </head>
    <body>
      <h1>VB-MAPP Assessment View</h1>
      <div id="mount-point">
      </div>
    </body>
  </html>

Did this page help you?