Hide New Button in List view

Abhishake1
Giga Contributor

Hi Developers,

We have a requirement to hide a New button in List view of incident for users with role ITIL,if anybody has achieved the requirement then please let me know how to proceed in this case as i believe we cannot create a client script in for this because it works on form level so can anybody help to achieve the requirement.

Thanks in Advance.

Regards,

Abhishek

12 REPLIES 12

Arindam Ghosh
Mega Guru

Step-1) Go To list view and click on the below highlighted icon of any of the column.



find_real_file.png


Step-2) Then open the list Control:


find_real_file.png



Step-3) Check Omit New Button:



find_real_file.png



Thanks,


Arindam


I've implemented this, but it's not quite working the way I had hoped. I want to remove the "New" button, but only when the user is on certain modules (which are list views) in my application. Is there a way to do this?



For example, when the user clicks on "My Reviews" or "My Completed" they should not see the "New" button, but when they click on "My Drafts" they should be able to create a new record.


You will have to create List control for each of them



Please mark this response as correct or helpful if it assisted you with your question.

How do I associate a List Control with a specific view? Everything I've tried has made the change for all views.


My Reviews, My completed etc, are those related list or just a Counter or query filter on Service Portal



Please mark this response as correct or helpful if it assisted you with your question.