removing the ability to add a picture to my profile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2023 05:02 AM
We have had an issue in which our users are uploading high resolutions picture to the profile section of the portal that then causes performance issues in our instance. We would like to remove the ability to upload photos completely (although knowing how to restrict the resolution would be helpful) the screenshot shows where in the portal we mean (my profile, top right)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2023 07:21 AM
Hello,
Check this out
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2023 09:46 AM
Hi @Jack62
You can achieve it by small changes.
You need to first clone OOTB Widget 'User Profile' and can name it something like 'User Profile No Upload Picture' or anything you wise or require.
In the HTML Template part of new Widget, remove or comment out from Line 25 to 27 as below:
This will remove the 'Upload Picture' button.
Now replace 'User Profile' widget with your new Widget in the Page 'User Profile (id=user_profile)' and see the result as below:
NOTE: I have show for SP portal only. If you have to remove it from different portals also, you have to replace this widget on those respective portal Profile pages also.
Thanks
Anubhav Ritolia
ServiceNow Rising Star 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2023 01:08 PM
Hey
Thanks for the response
I have created the cloned widget as suggested (which makes sense) but I am getting two issues, one is an error regarding glide properties and the other is within the widget (showing below) which is not finding the logged in user. The out of the box widget loads as expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2023 02:31 PM
Hi @Jack62
You can use a trick here for that even you don't need to clone the widget.
In the widget instance of user profile widget, in css just put below line of code.
.send-message {
display: none;
}
Upload button will become invisible.
Thanks and Regards,
Saurabh Gupta