- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 09:16 AM
I want to disable the red box below. globally for formats in the same department.
But I want users to still be able to attach documents to TASKS via the backend:
I looked online and read a few things but I am not sure how to do this when I want to disable on the user side only. Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 09:23 AM
Add CSS to the portal:
Per widget Instance, or if you want to remove the Attachment button from the portal completely add to the CSS theme you are using:
I am using the OOTB Style La Jolla, which uses the CSS "sp-theme-la-jolla.css".
I added:
sp-attachment-button,
sp-attachment-button ~ span {
display: none;
}
Result:
Before:
After:
Refer to:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 11:49 AM
I have 109 forms belonging to the same Configuration item category I need to do this for. I played around but I'm having trouble selecting all 109. Is there a way to apply this to all of the forms at once?
For instance, the widget I want to get rid of is on a global "Ticket Form" portal page.
This ticket form page is shared by every form in my instance. I want o to disable the "attachment" widget on the "ticket form" page in some but not all ticket forms (just the 109).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 12:29 PM
The options I provided is for the complete portal or for the widget, so not conditional.
If you want it dynamically you have to clone/customize the widget. Göran has a nice video about that:
