2 Replies Latest reply on Apr 3, 2018 7:53 AM by CraigMiddelstadt

    Unable to access related object attribute with CurrentUserRole function

    CraigMiddelstadt Master

      Unable to access related object attribute with CurrentUserRole function

       

      A boolean called “ShowAdditionalFields” has been added to the Role object and window.

      For certain roles I have  this option set to true.

      The purpose of this checkbox is to show additional fields on the Incident window for users in roles that have “ShowAdditionalFields” set to true.

      I do realize I can hardcode hidden expressions to specific role names but wanted to avoid doing this for easy of management of these roles going forward.

       

      I wanted to know if anyone out there could tell me if it is possible to traverse to a different data level using the CurrentUserRole function.

      Example expression: $([CurrentUserRole#.]ShowAdditionalFields != true)

       

      Thanks in advance!