- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 06:45 PM
Hi Guys,
I can't seem to show a message under a reference field in the portal. I have tried the following
- g_form.showFieldMsg
- g_form.showErrorbox
- Macro
It works in the core UI :
but not in the portal:
Here is the code:
Thank you in advance.
Regards,
Jocelyn
Solved! Go to Solution.
- Labels:
-
Service Portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 07:00 PM
Hi,
Is the UI Type" set to "All" on the client script? If not, the script won't get executed on Service Portal.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 07:00 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 07:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 07:24 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2022 07:28 PM
Hi,
Please check the Client scripts UI type as suggested by
Also I see you have posted a callback function script. Can you please put an alert in your callback function at the beginning to check whether it is going inside callback function or not.
Please share complete script so that we can suggest what is wrong with your script. Are you using GlideAjax with getXMLWait()?
Thanks,
Anil Lande
Thanks
Anil Lande