1 Reply Latest reply on Aug 29, 2018 8:22 AM by DTurner

    Request: Define Editable on a drop down by Expression

    mbath61 Apprentice

      I would like to to be able to specify whether the Pencil icon is available to edit a dropdown list directly from the form by a full expression i.e. that the Admin or Problem Manager could edit a dropdown direct from the page but not an analyst


      (can't find where this should go to be voted up as a suggested Feature Request)

        • 1. Re: Request: Define Editable on a drop down by Expression
          DTurner Expert

          Hi mbath,


          Sounds like a useful feature - you can add it as a feature request here: https://ivantiitsm.uservoice.com/forums/904372-service-manager

          Feel free to comment with the link here so people can upvote it


          As a workaround, you could duplicate the field, have one editable and one not editable, then apply visibility expressions to show the relevant control to certain roles.


          Drop Down (Editable) -> Visible: $(CurrentUserRole() in ("Admin", "ProblemManager"))

          Drop Down (Non-Editable) -> Visible: $(CurrentUserRole() not in ("Admin", "ProblemManager"))


          I would probably show both for Admins, but give it a try and see if it works for your use case