- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 07:41 AM
Is there a way to hide or remove the search option (shown in yellow) that is displayed at the top of a custom service portal page? I do not want to remove it from our main service portal, just the additional custom portal. Is there a way to do this with a script on the record producer?
Solved! Go to Solution.
- Labels:
-
Service Portal Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 11:25 AM
Hello Steph,
To answer your question yes its the same way both catalog items and record producers are rendered using Sc_Cat_item page , as record producer is a form of catalog item.
If you are okay with cloning the entire page then clone and remove the instance which is holding the search bar widget .
And the next task is to point the record producer to your custom page
to do this i need to know on what click action your record producer is opening up
Id there any icon on the homepage or a button some where? when you click on that it redirects to this record producer
please let me know how redirection is happening i can tell you how to point it out to our new cloned page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 08:39 AM
Hello,
I can see that its a catalog item .so catalog items are rendered using sc_cat_item page which is an oob widget. So in that page if search bar is a separate widget which is also an oob once so in order to remove it you need to clone page and replace it for your catalog item and remove the search bar Which is a big task Let me know if you want to proceed with this customization will be able to guide you
Please mark my answer correct if it helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 11:13 AM
Thank you Devatte. This should not be a catalog item though. I'm new to Service Now development, so hopefully I have my terms correct when I explain. We have an application built with a custom table in App Engine. I then created a record producer so I can display the form to users from a custom portal page to capture the initial data for the table. Once it's submitted, the entry is made in the table and the flow gets initiated for other users take over with their tasks and approvals on the backend of the system. My issue is that the company wants everything on that portal page locked down so that the user can only enter the requested information and then click submit. They do not want them to get out to other request types via that search box.
With that said, I did look at the sc_cat_item page and I do see the search box widget, so I understand what you are saying. Is the record producer a form of a catalog item, which maybe uses the same page for rendering? If that's the case, I understand how to clone the OOB page and remove the search box. How do you point the record producer to the cloned page instead of the OOB page?
Is there a different way to achieve what I'm trying to do that I'm not thinking of? Is there a way to create a widget that contains the record producer without using the OOB page?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 11:25 AM
Hello Steph,
To answer your question yes its the same way both catalog items and record producers are rendered using Sc_Cat_item page , as record producer is a form of catalog item.
If you are okay with cloning the entire page then clone and remove the instance which is holding the search bar widget .
And the next task is to point the record producer to your custom page
to do this i need to know on what click action your record producer is opening up
Id there any icon on the homepage or a button some where? when you click on that it redirects to this record producer
please let me know how redirection is happening i can tell you how to point it out to our new cloned page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-21-2022 11:54 AM