Restrict new project button in Project workspace

PetarK
Tera Expert

Is there a way to restrict this button visibility in project workspace so that only admin can see it ?

PetarK_0-1733165789328.png

 

8 REPLIES 8

The pm_project tables create acl(s).  You will need to disable the existing ones and add a new one that has only the admin role.

 

But that still may not get rid of the button because of how ServiceNow added it.  You may also have to update the workspace using UI Builder.

 

No, I am looking for another solution. Hopefully without UI Builder change.

swapnils
Tera Contributor

hello @PetarK  are you able to hide that button? i am also searching the solution for that button. still didnt get anything yet. if you can just help me to hide it. it would be really appreciated. Thanks

VARUN37
Tera Expert

We can hide or restrict the buttons from the respective page

 

  • Go to application navigator -> UI PAGE -> Select project workspace -> click home default
  • This will take you to the home page of the project workspace. 
  • Now click the "New project" button. 
  • On the right side, you should see "component visibility," which is responsible for restricting it. 

 

Modify the script as per your requirement and test it (See the snapshot attached below)

 

VARUN37_0-1743073895304.png

 

Once you save the changes, it should look like this.

 

VARUN37_1-1743074011464.png

 

Note: Change the scope to "Project Workspace" before you make the changes.