Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2024 12:50 AM
I want to hide Create New, Save as Template, Add Item for the specific role(abc role) from the checklist.
Solved! Go to Solution.
1 ACCEPTED SOLUTION
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 10:14 PM
Hi All,
I got the answer for the above question. I written onLoad Client Script and below code.
function onLoad() {
//Type appropriate comment here, and begin script below
if (!g_user.hasRole('wm_admin')) {
//alert('before executing JQuery');
jQuery('.dropdown.icon-contain-menu').hide();
setTimer = setTimeout(setTimerDelay, 500); /*to set the timer for 2 sec*/
function setTimerDelay() {
jQuery('.checklist-item.add-item').hide();
}
}
}
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2024 10:14 PM
Hi All,
I got the answer for the above question. I written onLoad Client Script and below code.
function onLoad() {
//Type appropriate comment here, and begin script below
if (!g_user.hasRole('wm_admin')) {
//alert('before executing JQuery');
jQuery('.dropdown.icon-contain-menu').hide();
setTimer = setTimeout(setTimerDelay, 500); /*to set the timer for 2 sec*/
function setTimerDelay() {
jQuery('.checklist-item.add-item').hide();
}
}
}