How to remove the message button in OOTB User Profile Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
In portal, I have this message button under the User Profile, and if I click on it, it shows security related issue. If I click on it what should happen? Since there is restriction (security issue), what roles should be allowed to access it? And also, what are the steps to hide or remove the message button. I don't want to break the portal if I tried to deactivate or delete anything.
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi Gwyneth,
Good question — this comes up quite often with the OOTB User Profile widget in Service Portal.
1. What the “Message” button actually does
That button is tied to:
- Connect Chat / Live Messaging (Connect Support / Collaboration)
When clicked, it tries to:
- Open a chat with that user
- Use Connect roles + presence system
If you’re seeing a security error, it usually means:
- Required roles/plugins are not enabled
- Or user doesn’t have access to Connect features
2. Required roles (if you want it to work)
To enable messaging:
sn_connect.usersn_connect.support(depending on setup)
Also ensure:
- Connect Support plugin is active
- Presence is enabled
If not configured → button will throw errors (as you’re seeing)
3. Recommended approach → Hide the button (safe way)
Since you don’t need it, best option is to hide it via widget customization (not delete anything OOTB).
4. Steps to remove the Message button
Do NOT edit OOTB widget directly
Instead:
- Go to Service Portal → Widgets
- Find: User Profile widget
- Click Clone
- In cloned widget:
- Go to HTML template
- Find button code like:
- Remove or comment that section
5. Optional → Hide via condition (better approach)
Instead of removing, you can conditionally hide:
<!-- Message button -->
</div>
OR based on role:
6. Update portal to use cloned widget
- Replace original widget with your cloned version on the page
7. What NOT to do
Don’t delete OOTB widget
Don’t disable plugins just for this
Don’t modify base system directly (upgrade issues)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
will do this, thanks!
