Hide Approval and Manual Activities under "My Work"?
Is there a way that I can hide the tabs for Approval and Manual Activities under "My Work"?
Maybe in custom.js or any other config file?
Best Answer
-
Stefan_Allansson Customer IT Monkey ✭
Thanks Justin Workman for the solution I got from you.
Just add this code to custom.js:
$(document).ready(function () {
app.events.subscribe("gridBound", function () {
$('[data-subtype="myapprovals"]').parent().hide();
$('[data-subtype="myactivities"]').parent().hide();
$('[data-subtype="mymanualactivities"]').parent().hide();
});
});
0
Answers
Thanks Justin Workman for the solution I got from you.
Just add this code to custom.js:
$(document).ready(function () {
app.events.subscribe("gridBound", function () {
$('[data-subtype="myapprovals"]').parent().hide();
$('[data-subtype="myactivities"]').parent().hide();
$('[data-subtype="mymanualactivities"]').parent().hide();
});
});