Restrict access to UI macro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2016 11:50 PM
Hi All,
Is there any way to hide/show UI macro( managment attachment macro on incident form) based on the condition?( like it should be visible if the logged in user is part of the assignment group otherwise hide the macro)
Thanks and regards,
swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 02:34 AM
Yes deepa, it worked like a charm. but, onload if i click on one of the attachments then it is not hiding. that' why i want to hide before giving control to user.
Thanks and regard,
Swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 02:37 AM
Can you provide the screenshot of what you can see after load... and also the code screenshot.
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 02:38 AM
To increase the performance i have even placed my condition in an g_scratchpad variable and used in onload script. but no luck. even tried with getXmlWait() as per mark stranger's suggestion.
Thanks and regards,
swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2016 02:35 AM
I think this is the only way to achieve with conditions.