iFrame Assessment (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() {
openAssessmentViewIframe(
'<your user agent key>', // User-Agent
'en', // Accept-Language
'<a sign in token>', // Sign in token
18116, // Assessment 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>Updated about 1 year ago
Did this page help you?