how to hide display message on service portal which is applicable to view only in native UI?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 02:17 AM
Hello Experts,
I have a display business rule written on policy table which is showing display message on native UI as well as service portal, Is there any way i can hide this info message on service portal
Thank you in advance,
Ujjwala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 02:27 AM
Hi @ujjwala_678,
Have you tried by creating onload Client scripts/ onload Catalog client scripts with g_form.clearMessages(); for portal only?
Type: Service Portal
g_form.clearMessages(); // it will clear the info messages
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 03:01 AM
Hello @Sagar Pagar ,
Thank you so much, It's working for service catalog but not for policy form which is present on widget
Any code we can add there to hide the message?
Thanks,
Ujjwala
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2023 03:09 AM
Hi @ujjwala_678,
If it is widgets level may be you can remove it form widgets scripts.
If my response helps to solve your issue. Kindly mark it as helpful & correct. It will be helpful for future readers.
Thanks,
Sagar Pagar