Announcing the Global SNUG Board of Directors. Learn more here
‎06-21-2016 01:08 AM
I'm using the new Service Portal in Helsinki, and the user is supposed to be able to start his own survey at the click of a button within a widget.
The survey is created from the survey module, and has the address: <sn-instance>/assessment_take2.do?sysparm_assessable_type=12344312
Is there a way for me to open the survey inside a widget instead? Some kind of iFrame, maybe?
Meldingen ble redigert av: Magnus Ringkjøb Changed URL to indicate I know how to get the "plain" survey without the ServiceNow-panes
‎10-01-2016 09:38 AM
You can create a basic widget with the following HTML code:
<div>
<!-- your widget template -->
<iframe src="/assessment_take2.do?sysparm_assessable_type=6b033f564f716600b734260f0310c736" height="1600" width="100%"></iframe>
</div>
just change the sys_id and the attributes to fit your survey and you place the widget on a new page. Then link to that new page to open the survey.