Removed "Add Unassigned tasks to time sheet" option in time sheet portal

maneesh3
Tera Contributor

Hi Team,

We have an requirement to disable the Option "Add Unassigned tasks to time sheet"  which is in time sheet portal. and put an alert message on the page: saying "Request Manager for Project Task Allocation" 

maneesh3_0-1669366616848.png

Much Thanks for the help.

 

 

1 ACCEPTED SOLUTION

Mitsua
Tera Guru
Tera Guru

Hello @maneesh3 

 

-The option "Add Unassigned tasks to time sheet" is present in widget : "Time Card Grid".  

-Navigate to widgets , search for widget "Time Card Grid".

-Around line no. 6/7 you can see code where  "Add Unassigned tasks to time sheet" is present.

-You can simply comment that line and see the results.

 

Please refer attached screenshot of script:

Just comment down below highlighted line.

 

MayuriSawant_0-1669370195077.png

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

 

Thanks!

Mayuri Sawant.

View solution in original post

4 REPLIES 4

Community Alums
Not applicable

Hi, You'll have to make changes on the widget. To find out the widget, on the link (Add unnassigned tasks to timesheet) do CTRL + Rightclick > Widget in Editor.

 

Find out where that link is defined and then make the changes in the widget itself.

Mitsua
Tera Guru
Tera Guru

Hello @maneesh3 

 

-The option "Add Unassigned tasks to time sheet" is present in widget : "Time Card Grid".  

-Navigate to widgets , search for widget "Time Card Grid".

-Around line no. 6/7 you can see code where  "Add Unassigned tasks to time sheet" is present.

-You can simply comment that line and see the results.

 

Please refer attached screenshot of script:

Just comment down below highlighted line.

 

MayuriSawant_0-1669370195077.png

 

 

Please mark this as correct answer and helpful if it resolved, or mark this helpful if this help you to reach towards solution.

 

Thanks!

Mayuri Sawant.

maneesh3
Tera Contributor

Thankyou Mayuri, it worked great.

Hey @maneesh3 

Its my pleasure.

Can you please mark my answer as helpful .

 

Thanks!

Mayuri Sawant!