Hide attachment icons on Ticket Form page on a specific portal

Brian Y
Tera Contributor

I have an EMR Help portal that the customer wants restrict users from adding attachments to.  I am able to hide the attachment links in the Industry portal widgets, but once the Record Producer is submitted the portal loads the Ticket Form page that contains two attachment links (see Screenshot 2023-07-14 154755.png).  I can find that the ticket paget is called by the sc_catalog page, but I cannot edit them.  I would clone them and then edit the widgets, but I don't see where the sc_catalog widget is being loaded via the Industry portal.  How do I modify the Industry Remote Help portal to use a cloned version of the sc_catalog and ticket form so I can remove/hide the attachment icons post Record Producer submit?  I only want the removal of the attachment icons to affect the Industry Remote Help portal and not any of the other portals.  Also, if there is a different solution where I don't have to clone the sc_catalog and ticket pages/widgets that would be great.

 

Thank you,

 

Brian

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

This might help you:
- 2020-05-18 - Article - Changing Service Portal widgets look and feel without cloning widgets

 

Reading your post it sounds like a generic page used in multiple portals. In that case you could override the CSS through a stylesheet associated with your portal theme. Assuming that theme is specific for your portal, and not used on all portals.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

2 REPLIES 2

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

This might help you:
- 2020-05-18 - Article - Changing Service Portal widgets look and feel without cloning widgets

 

Reading your post it sounds like a generic page used in multiple portals. In that case you could override the CSS through a stylesheet associated with your portal theme. Assuming that theme is specific for your portal, and not used on all portals.

 

Kind regards,
Mark

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Brian Y
Tera Contributor

Mark,

Your article link is exactly how I was able to solve my issue.  I was able to do a CSS override in the portal theme CSS:

 

//Brian Y 07/17/2023 Added the code below to disable attachments
div.panel.panel-primary.b {
display:none;
}
button.panel-button.sp-attachment-add.btn.btn-link {
display:none;
}

 

Thank you,

 

Brian