The CreatorCon Call for Content is officially open! Get started here.

Hide Add Task Button on Project Workspace

nowitsvashu
Tera Guru

Hi There,

 

is there any way we can hide Add Task button on project workspace. I tried to hide it but its not present in declarative action/ui action or anywhere else.

1 ACCEPTED SOLUTION

@nowitsvashu

Please open the SN Task Planner 1 config pane. and In Can create project task field click on the 

MIftikhar_0-1759917213580.png

In Can create project task field select the Use static Input option.

MIftikhar_1-1759917365364.png

Uncheck the option and save the page

MIftikhar_2-1759917439151.png

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

View solution in original post

10 REPLIES 10

M Iftikhar
Giga Sage

Hi @nowitsvashu , 
Please open the Project Workspace experience in UI Builder.

MIftikhar_0-1759915700801.png


You can open the Planning tab

MIftikhar_1-1759915723076.png

 

— on this screen, you’ll see the “Add Task” button.

MIftikhar_3-1759915762936.png


Kindly locate this button component in the UI Builder and set its visibility to hidden so it doesn’t appear on the Project Workspace page.

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Thanks for your reply @M Iftikhar but Add Task is not visible in any config of ui builder. 

@nowitsvashu

Please open the SN Task Planner 1 config pane. and In Can create project task field click on the 

MIftikhar_0-1759917213580.png

In Can create project task field select the Use static Input option.

MIftikhar_1-1759917365364.png

Uncheck the option and save the page

MIftikhar_2-1759917439151.png

Thanks & Regards,
Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.

 

Thanks & Regards,
Muhammad Iftikhar

If my response helped, please mark it as the accepted solution so others can benefit as well.

Kieran Anson
Kilo Patron

Hi @nowitsvashu to confirm, are you wanting to prevent the creation of tasks only within workspace for these users? These same users should be allowed to create tasks via core UI?

Ankur Bawiskar
Tera Patron
Tera Patron

@nowitsvashu 

If you don't want users to create Task from workspace and from core UI then ensure that user doesn't pass Table.None CREATE ACL on project task table

If you want only to hide in workspace then do this

1) go to Planning default page variant

2) Click on Body -> Main -> SN Task Planner 1

3) then in right side Configure and Scroll to bottom

4) Ensure "Can create project task" is unchecked by giving Static input

AnkurBawiskar_0-1759918224345.png

Output: Add task is gone

AnkurBawiskar_1-1759918282481.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader