How to conditionally display a Section in HR Helpdesk based on user role (through VB studio)
We would want to conditionally hide "browse popular article" section in my help page. It should be visible for only line manager and for employee it should not appear. We tried this using VB studio but it is not working as expected.
We used $application.user.roles.PER_LINE_MANAGER_ABSTRACT_CUSTOM === true as condition.
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):