Embed Upload Widget for Box.com | XM Community
Skip to main content
I have code for a Box.com upload widget (see code below). I would like to embed the code within the survey so that respondents can upload an item to box.com and continue the survey all within the same window. I know I can create a hyperlink that will open in a new window, but if I can allow respondents to upload an item without leaving the survey, that would be ideal. I have also tried to follow these steps (https://www.qualtrics.com/support/survey-platform/survey-module/question-options/add-javascript/) but I keep getting error messages. Any suggestions would be helpful. Thanks!



Code: <script src="https://uofi.app.box.com/upload-widget/embed.js?folderID=49293170110&title=Submit%20File%20to%20Undergraduate%20Updates%20(10.1.2018)&isDescriptionFieldShown=1&isEmailRequired=1&width=385&height=420&token=hy3pp6cg99f93akj8i1czy76kkdap5ys" type="text/javascript"></script>
Qualtrics Support was able to get the Embed Upload Widget to work for me by adjusting the code to set a height parameter for the iFrame. The beginning of the widget code provided by Box just started with:

<iframe src=



which Qualtrics appeared to have adjusted to:

<iframe allowtransparency="true" frameborder="0" id="' + iframeID + '" scrolling="no" src=



To resolve the Qualtrics Support inserted a height parameter:

<iframe allowtransparency="true" frameborder="0" height="475" id="' + iframeID + '" scrolling="no" src=
Is this still the official work around for embeding upload widget for box and Javascript?

Leave a Reply