Hide "New Request" Buttons via Custom Page Scripts
Purpose
To hide specific "New" request buttons from the user interface using custom scripts to streamline the layout or control how users initiate requests.
Implementation Options
These scripts can be used independently or combined, depending on which UI element you wish to remove.
Option 1: Hide Top Header Quick-Add Icon
To remove the "New Request" icon from the top header bar (the puzzle/plus icon in the top right), use:
$CS.hideElement("#new-request-hi");
Option 2: Hide "+ New" Button in Requests Module
To remove the "+ New" button located directly within the Requests module list view (as shown in your screenshot), use:
$CS.hideElement("#addNewRequest");
Procedure
Click the Settings (Gear Icon) and navigate to Developer Space.
Select Page Scripts from the left-hand menu.
Click on Create New Rule.
Under the Action section:
Click Save.
Verification & Impact
You must perform a browser Refresh (F5) for the script to take effect.
Testing: Navigate to the Requests tab and confirm the "+ New" button is hidden. Check the Header to confirm the quick-add icon is gone if that script was applied.
Impact: This only affects the visual interface (UI). Users can still create requests via email or other enabled channels.
Related Articles
Unable to hide default login box
Unable to hide default login box Option A: update globalconfig set paramvalue=‘false’ where globalconfigid=6; Option B: update globalconfig set paramvalue='false' where category='LoginInfo' and parameter='Show_LoginInfo_In_LoginScreen';
Change Lock Screen Image
Purpose This solution explains how to change the Windows lock screen image on managed devices using EPC custom script deployment. The process includes: Preparing the lock screen image Uploading the required script Configuring the deployment settings ...
Restricting Browser Screenshots: Edge Web Capture Configuration
Purpose To disable the built-in Web Capture (Screenshot) feature in Microsoft Edge via Registry configuration, ensuring users cannot capture screen content through the browser UI. Prerequisites Administrative Privileges: Required to modify ...
Instant Task Deployment Fails with “Invalid Authentication Passcode” - OS Deployment
Problem Description: A client encountered a deployment failure when using an Instant Task to deploy an OS image over the network. The error displayed: Invalid authentication passcode. Observations: The authentication passcode has been verified as ...
Unable to restore data after changing DBserver to SQL
After changing the DB server to MSSQL, We tried to restore the data from the backup file, but the restore didn't take place successfully so we followed those steps and everything worked perfectly. Please follow the below steps and re-initiate the ...