omit new condition script by roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 05:32 AM
Hello everyone,
I'm trying to hide any new buttons in the related list of a demand so I'm working with the "omit new condition" script. I have builded the next statement but it doesn't work.
I need to hide the "new" button in related lists if the state is '9' and role is 'it_demand_manager'.
Can you help me? It is work for states but it does not work by roles.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 05:56 AM
Hi, The script you have seems to be correct, I cannot see any obvious logic issue there.
Other things to check:
1. I presume on the List Control you have Omit new button ticked on the List Control record ?
2. When testing double check the user you are using or impersonating has the 'it_demand_manager' role
If helpful please mark as Correct/Helpful
Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2023 07:00 AM - edited 06-16-2023 07:01 AM
Yes, I impersonated with it_demand_manager and it's the same situation, it does not work. I've even tried checking and uncheking 'omit new button' and reversing 'true' by 'false'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2023 03:47 AM
I am also facing a similar issue on the related list of catalog tasks on RITM form , however for me it used to work before UTAH upgrade and new UI , it used to work on San Diego without new UI but not the condition doesnt seems to be executed for particular users . Let me know if you find the solution.