CA Service Management

  • 1.  Restrict User to View Service Type on Ticket

    Posted Apr 03, 2017 01:32 AM

    Hi Team,

     

    Is it possible to restrict user to view the Service Type that is currently in progress on ticket?

     

    If yes, kindly suggest the solution for this.

     

    Thanks & Regards,

    Balram Singh Deswal



  • 2.  Re: Restrict User to View Service Type on Ticket

    Posted Apr 03, 2017 04:12 AM

    HI,

    You can just use a pdm_if statement around the tab in the corresponding form

    may you want to do for everyone use <PDM_IF 0></PMD_IF> around it

    may you want to do for specific like a  role use something like <PDM_IF "$SESSION.ROLE_ID" =="40001"></PDM_IF> //Where id is corresponding to the role for  who you would like to hide.

    e.g. for analyst

     

    <PDM_IF "$SESSION.ROLE_ID" == "400350">

    <PDM_MACRO name=tab title="Service Type" file="xx_stype_tab.htmpl" id=stype>

    </PDM_IF>

     

    Hope this help.

    /J



  • 3.  Re: Restrict User to View Service Type on Ticket

    Posted Apr 03, 2017 08:06 AM

    Hi jmayer ,

     

    What if when i have to hide service type records view upon any custom attribute value created on  sdsc object (correction slatpl object).

     

    Regards,

    Pradeep 



  • 4.  Re: Restrict User to View Service Type on Ticket

    Posted Apr 04, 2017 12:52 AM

    Hi Jerome,

     

    Thanks for your response. It is working but requirement is little different (small correction as to what Pradeep mentioned in his comment).

     

    There is a custom attribute in slatpl object. We need to show the information to the user if the value of this custom attribute matches with the organization field of the assignee. So the Service Type tab will be visible always, only the records present in this tab will be visible based on the condition mentioned.

     

    Regards,

    Balram



  • 5.  Re: Restrict User to View Service Type on Ticket

    Posted Apr 04, 2017 05:13 AM

    HI,

     

    can you explain a little more your example?

    what values will need to be hidden or not?

    if this  static row at the top of the service type tab you can use the same technics to show/hide those

    something like below in the xx_stype_tab.htmpl form:

     

    <PDM_IF "assignee.organization" ==  "mycustomattributes"></PDM_IF>

    if you want to hide some specific rows  displayed in the dynamic list like the service target and service type events. you will need to modify the respective PDM_LIST and add your where clause there.

     

    the  

    <PDM_LIST SOURCE=args.sla_events ESC_STYLE=C>

    tag an example will need to be modified to meet your requirements.

    Hope that help

     

    \J



  • 6.  Re: Restrict User to View Service Type on Ticket

    Posted Apr 04, 2017 08:34 AM

    Hi Jerome,

     

    I need to show only those attached events for which the value of custom attribute (let's say zorganisation in slatpl object) has the same value of the organization value of assignee.

    What will be the corresponding PDM_LIST tag for the same (with where clause syntax)?

     

    Kindly suggest.

     

    Regards,

    Balram



  • 7.  Re: Restrict User to View Service Type on Ticket

    Broadcom Employee
    Posted Apr 18, 2017 04:55 AM

    HI Balram,

    Probably you can share the screenshot for clarity on your requirement .

    ~Vinod.