AnsweredAssumed Answered

EvaluationKIT integration: Global JavaScript and CSS

Question asked by Joe Ziskovsky on Aug 5, 2016
Latest reply on Aug 9, 2016 by Danny Wahl

I am attempting to follow the below steps for EvaluationKIT integration. Where do I file the Global JavaScript and CSS Includes?

 

Installation

 

Step 1 : Customize the CSS in Your Canvas

You can either use our hosted .css or copy the below code and add it to your own custom .css. If you use our hosted .css, add the below URL to your Canvas, in Settings > Settings tab > Global JavaScript and CSS Includes > Global CSS URL.

Hosted CSS
https://unmc.evaluationkit.com/CanvasScripts/unmc.css?v=1
-or-
CSS Code
@import 'https://unmc.evaluationkit.com/CanvasScripts/unmc.css?v=1';

NOTE: @imports must come before all other content and comments in your CSS.

Step 2 : Customize the JavaScript in Your Canvas

You can either use our hosted .js, or copy the below code and add it to your own custom .js. If you use our hosted .js, add the below URL to your Canvas, in Settings > Settings tab > Global JavaScript and CSS Includes > Global JavaScript URL

Hosted Javascript
https://unmc.evaluationkit.com/CanvasScripts/unmc.js?v=1
-or-
Javascript Code
/*EvaluationKIT START*/var evalkit_jshosted = document.createElement('script');evalkit_jshosted.setAttribute('type', 'text/javascript');evalkit_jshosted.setAttribute('src', 'https://unmc.evaluationkit.com/CanvasScripts/unmc.js?v=1');document.getElementsByTagName('head')[0].appendChild(evalkit_jshosted);/*EvaluationKIT END*/

Outcomes