- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 12:11 PM
I found a Workaround at https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0689536 and was able to get one of two onChange scripts to work. The second onChange script is not fired when rendered in the Service Portal but it does work from the Record Producer catalog item.
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2022 10:58 AM
The client scripts need to have UI Type set to All (or Mobile / Service Portal) to work with Service Portal. If set to Desktop they aren't loaded or not fired if loaded manually.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 12:25 PM
Record Producer Client Scripts should work in the Service Portal. Please verify that the UI Type is correct and that you are using only functions which have been documented as supported in Service Portal.
See this page for additional tips: Service Portal and client scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-14-2022 10:58 AM
The client scripts need to have UI Type set to All (or Mobile / Service Portal) to work with Service Portal. If set to Desktop they aren't loaded or not fired if loaded manually.