- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 06:45 AM
Hi , How we can hide Form context menu (hamburger icon ie located at beside of incident number) for end users in incident form ?
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Architect
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 08:05 AM
Hi @kurella swamy,
This can be achieved with 2 steps as outlined below, however, I would like to ask what you're trying to achieve by removing this? Is this for all users or specific users? Is this a specific business requirement as it is a little unusual to hide this.
I would consider only hiding this in certain circumstances and try to limit this if possible.
However, to answer your question directly:
- Create below onLoad client script
- Make sure the 'isolate script' checkbox and column for this script is set to false (Default is set to true to prevent DOM manipulation)
function onLoad() {
// This hides the menu hamburger button
document.getElementsByClassName("btn btn-icon icon-menu navbar-btn additional-actions-context-menu-button")[0].style.display="none";
}
To help others (or for me to help you more directly), please mark this response correct by clicking on Accept as Solution and/or Helpful.
Thanks, Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2024 09:35 AM
Hi @Robbie Yes, It is for one of our business requirement. We want hide hamburger icon for end users and rest of all users should able to see.
The above script will work for end user perspective?
Any way thanks for quick help.