CA Service Management

  • 1.  Restrict who can see a field in Service Desk

    Posted Jun 06, 2016 03:34 PM

    In Service Desk 14.1, I have a request to restrict a field on a form so it is only visible to members of a specific Service Desk group.  I would appreciate any ideas on how to do this.   Thanks, Victor



  • 2.  Re: Restrict who can see a field in Service Desk
    Best Answer

    Posted Jun 06, 2016 04:52 PM

    <PDM_LIST FACTORY=grpmem WHERE="member=U'$cst.id' and (group.last_name = 'SpecialPeople' or group.last_name = 'VerySpecialPeople')" PREFIX=special>

    // $special.id

    <PDM_SET args.CanSeeIT="Yes">

    </PDM_LIST>

     

    <PDM_IF "$args.CanSeeIT" == "Yes">

    <PDM_MACRO name=dtlTextbox hdr="Secret Stuff" attr="zsecretstuff">

    </PDM_IF>



  • 3.  Re: Restrict who can see a field in Service Desk

    Posted Jun 07, 2016 08:08 AM

    Thanks Lindsay, for the quick and useful response!  I have tried this on the field in question and it works exactly as intended!

     

    I will definitely use this now and save it for future reference.

     

    It's great to see the communities working so well!!!

    Victor