Help with SPSurveyAPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-15-2017 09:04 AM
When I tried to edit the My surveys widget, I received the following message: "This widget is in the Service Portal Surveys application, but Global is your current application. You can clone this widget by clicking the button in the top right corner of the editor".
I went and cloned the widget so I could edit the same, but now I'm receiving the message: "Server JavaScript error "SPSurveyAPI" is not defined."
I believe this is happening because I'm now on Global Application.
Is ther a way for me to properly define the API so I can continue with the modifications?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2017 05:58 AM
Hi,
The information in these two links might help:
How do I change Take Survey Widget to display short description in title
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-04-2017 05:00 AM
Hello,
I had the same problem with this error, its because you cloned the Widget while having Global set as your Application.
These Steps are in Jakarta
Steps:
1: Delete the Cloned Widget you made
2: Go to your homepage in ServiceNow
3: Click on the Gear icon in the Top Right-hand Corner:
4: Go to the Developer Tab:
5.Change the Application from Global to Service Portal Surveys, up to you if you want to save the changes in the Default Update Set or create a new Update set in the Service Portal Surveys Application.
6. Go back to the Widget and Clone over it again.
Will have the freedom to edit it now and the error will be gone.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2019 06:45 AM
Awesome. I had the same issue. Thanks.