How to hide Price, Quantity, Delivery Time from Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 05:25 AM
Hi Team,
How to hide Price, Quantity, Delivery Time from Service Portal.
I am trying to hide from cart layouts, but it is not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 05:38 AM
Hi @sriram7 . go to the cart layout in filter navigation and select record for your portal and remove the checkboxes which are not required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 05:39 AM
Hi @sriram7 ,
Service Catalog > Maintain Cart Layouts > Item Ordering Widget
Simply uncheck the 'Delivery time' field on the 'Components' tab.
OR
If you press ctrl+right-click, that is where you can get to instance options and all that. That's what you'd see in the options schema.
So then you'd see this:
And then this:
Check the box for Hide Delivery Time and save. It's gone!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2023 05:41 AM
Hi @sriram7 ,
Another way is by cloning the widget itself.
1. Navigate to the widget list
2. Search for "Request Fields" widget
3. Clone the widget by clicking the "Clone Widget" button
4. Remove "price" and what you don't want to see on line 13 of the server script for the cloned "Request Fields" widget:
var fields = $sp.getFields(gr, 'number,state,priority,sys_created_on,price');
5. Click Update
6. Navigate to Service Portal Edit Page:
<your instance>/sp_config?id=page_edit&p=sc_request&table=sp_instance&sys_id=cc316d33d7230200a9addd1...
7. Remove "Request Fields" widget from the page
8. Add the cloned "Request fields" widget to the page
9. Click Save
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2023 11:28 AM
Hi sandeep,
I am not sure why instance option is grey out. i have all roles
Thanks,
Mathew