- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 01:44 PM - edited 10-17-2023 01:45 PM
I need to add a message in the instance that should be shown in all the pages.
i did find a instance where that is shown but i am unable to replicate it,
any ideas on how to solve this is appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 02:15 PM
Hello @kaustubh_pachhihow are you?
What would be your goal in adding a message on every page?
A message on all pages can draw a lot of attention to something that is not of interest to all users of the instance, and it seems that we are talking about something that only admins would have the power to do.
I recommend two alternatives
- Create a data policy to leave the read-only field.
- Create a Client Script to leave this field read-only and display the alert with the message
It is worth mentioning that this way the popup will not appear on the record listing pages, neither on the portal nor on dashboards,
Furthermore, it is not considered a good practice as it is a script that will always be executed, which can cause unnecessary slowness.If my answer helped you, please mark my answer as helpful.
Vanderlei Catione Junior | LinkedIn
Senior ServicePortal Developer / TechLead at The Cloud People
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 02:15 PM
Hello @kaustubh_pachhihow are you?
What would be your goal in adding a message on every page?
A message on all pages can draw a lot of attention to something that is not of interest to all users of the instance, and it seems that we are talking about something that only admins would have the power to do.
I recommend two alternatives
- Create a data policy to leave the read-only field.
- Create a Client Script to leave this field read-only and display the alert with the message
It is worth mentioning that this way the popup will not appear on the record listing pages, neither on the portal nor on dashboards,
Furthermore, it is not considered a good practice as it is a script that will always be executed, which can cause unnecessary slowness.If my answer helped you, please mark my answer as helpful.
Vanderlei Catione Junior | LinkedIn
Senior ServicePortal Developer / TechLead at The Cloud People
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 10:41 AM
Hi Vandeli, Thank you for your response.
I need the message to be displayed on a few pages and not on every page and this is very helpful.
Thanks