Useful Code Snippets | XM Community
Skip to main content

Useful Code Snippets


Michael_Campbell_RedPepper
QPN Level 3 ●●●
Forum|alt.badge.img+3
I have been running into similar situations with a few of my customers and wanted to share some of my custom code solutions, with the hopes that others can share theirs as well!

3 replies

Michael_Campbell_RedPepper
QPN Level 3 ●●●
Forum|alt.badge.img+3
For Custom Dashboards, I've been using Chart.js. I've gotten fairly familiar with the API, so if you have questions please let me know! I've used them in custom End of Survey Messages, but also as mid-survey feedback. (http://www.chartjs.org/)

Michael_Campbell_RedPepper
QPN Level 3 ●●●
Forum|alt.badge.img+3
Also, I haven't found too much documentation on the Embedded Data API, so I went a long time before finding this out, but you can get and set Embedded Fields with the following code: `Qualtrics.SurveyEngine.setEmbeddedData('FIELD', value);` `Qualtrics.SurveyEngine.getEmbeddedData('FIELD');`

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5923 replies
  • March 6, 2018
We've made a few code snippets publicly available at: https://gist.github.com/marketinview

Leave a Reply