Hiding "acknowledge" option from tasks
Hi All,
I was wondering if anyone has hidden the "Acknowledge" option that appears in the task menu on analyst portal.
I know it sets the "first response date" but we have changed our SLA's that when a ticket is assigned to the analyst the first response has been met.
the "Acknowlegde" option is redundant for us. I would like to hide the option from appearing in the "task" menu, is there a way to do this? I believe if I set the 'First response" within the templates themselves it removes it but it also causes some issues for us for our reporting due to the time/date stamp.
is there an easier way of hiding it?
Thank you
Best Answers
-
Donson_Pham Partner Advanced IT Monkey ✭✭✭Hi Mina,
There is a couple of ways, but I will share you what we have in our KB.
You can follow this link to our KB "How to: Hide Form Tasks" https://support.cireson.com/KnowledgeBase/View/1166#/ it shows how you could do this in your custom.js
app.custom.formTasks.add('Incident', null, function (formObj, viewModel) { formObj.boundReady(function () { $( ".taskmenu li:contains('Acknowledge')" ).hide() }); });
7 -
Geoff_Ross Cireson Consultant O.G.@Mina_Saidi
Almost, no Space in ServiceRequest.app.custom.formTasks.add('ServiceRequest', null, function (formObj, viewModel) { formObj.boundReady(function () { $( ".taskmenu li:contains('Acknowledge')" ).hide() }); });
Geoff5 -
Donson_Pham Partner Advanced IT Monkey ✭✭✭Hi Mina,
No, shouldn't have to restart IIS. anything in the CustomSpace should take action instantly. Sometimes you do have to clear your browser cache.5 -
Jeff_Lang Customer Ninja IT Monkey ✭✭✭✭@Mina_Saidi you should not need to restart IIS for these, if they do not show the changes straight away then it is probably a browser local cache issue, clearing the browser cache should help
5
Answers
There is a couple of ways, but I will share you what we have in our KB.
You can follow this link to our KB "How to: Hide Form Tasks" https://support.cireson.com/KnowledgeBase/View/1166#/ it shows how you could do this in your custom.js
app.custom.formTasks.add('Incident', null, function (formObj, viewModel) { formObj.boundReady(function () { $( ".taskmenu li:contains('Acknowledge')" ).hide() }); });
Thanks, that worked for incidents. If I want to the same for Service Request will the below code work?
app.custom.formTasks.add('Service Request', null, function (formObj, viewModel) { formObj.boundReady(function () { $( ".taskmenu li:contains('Acknowledge')" ).hide() }); });
Thanks, that worked for incidents. If I want to the same for Service Request will the below code work?
app.custom.formTasks.add('Service Request', null, function (formObj, viewModel) { formObj.boundReady(function () { $( ".taskmenu li:contains('Acknowledge')" ).hide() }); });
Almost, no Space in ServiceRequest.
Geoff
Brilliant. worked like a charm.
just a quick one, when we add these codes in do we need to restart the IIS? sometimes it works without a restart while others need IIS restarted.
No, shouldn't have to restart IIS. anything in the CustomSpace should take action instantly. Sometimes you do have to clear your browser cache.