Catalog Client Scripts for Record Producers do not work in Service Portal

lcbell
Tera Expert

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.

1 ACCEPTED SOLUTION

lcbell
Tera Expert

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.

View solution in original post

2 REPLIES 2

Giles Lewis
Giga Guru

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

lcbell
Tera Expert

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.