Notifications
Announcements
No record found.
Hi Experts,
We have requirement like , we should hide background process from case navigation based on security roles.
Real time process , I'm able to hide from security roles but BGProcess is not hiding.
Please advise how to do that ?
Hi
You can remove this from the Form Editor when you customise the form
Hello Kokulan,
Thank you for your response !!
This will help but will not fulfill my requirement as it needs to hide only for some particular roles not for everyone.
Please advise if i can do anything against security roles. It could be Js or anything .
Regards, Alok Sharma
If you want to do this in a supported way, you can control this via Security Role, please see below
The other approach would be doing this via Javascript but it's not supported.
Hi Kokulan,
Thank you so much, This helped.
Regards, Alok
This step is breaking my other functionality like , when I'm trying to create new case and when clicking on save button , getting
AsyncOperation Read privileged error :
Message: Principal user (Id=9b40ae36-7466-e911-a827-000d3a3234a1, type=8, roleCount=3, privilegeCount=747, accessMode=0, is missing prvReadAsyncOperation privilege (Id=e84acc8f-0c61-43e3-a716-20964a483bdf) on OTC=4700Detail:
Please advise other way to do this.
The error you are getting is due to the workflow being executed in the user's context. If the workflow cannot be run on Aync as another user, then yes the user will get this error.
The other approach is to write javascript to get the span element that has the process sessions navigation items and set a display: none to hide or show it
You will have to write javascript to get the element by class and attribute value.
In this case : class name : nav-groupContainer and the attribute value check is: aria-label="Process Sessions"
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to a top community star!
In our never-ending quest to help the Dynamics 365 Community members get answers faster …
Welcome to the next edition of the Community Platform Update. This is a status …
Stay up to date on forum activity by subscribing.