CA Service Management

 View Only
  • 1.  Add export and edit in list options to Employee access type

    Posted Sep 05, 2014 01:49 AM

    Can export and edit in list be added to employee access type.

    Export will help users fetch the list of tickets raised by them.

    I have made a few attempts to add these 2 functionalities but the controls won't appear on employee pages.

     




  • 2.  Re: Add export and edit in list options to Employee access type

    Broadcom Employee
    Posted Sep 05, 2014 01:26 PM

    ChiragM...........

     

    What is the end result here - for employess to be able to export tickets that they have currently opened?



  • 3.  Re: Add export and edit in list options to Employee access type

    Posted Sep 06, 2014 12:52 AM

    End users, sometimes, are asked by the IT team for the list of tickets raised by them for various purposes such as audits.

    In such cases, the end users are unable to simply export the list and provide it.




  • 4.  Re: Add export and edit in list options to Employee access type

    Posted Sep 08, 2014 02:39 AM

    To add export functionality for the employee, you have to customize list_in/cr/chg.htmpl and add some search filters or just declare the filters section.

    For example, in list_in.htmpl just add the next lines after "<PDM_INCLUDE FILE=std_body.htmpl>":

     

    <SCRIPT LANGUAGE="JavaScript">

    <PDM_MACRO name=sfStart create=false factory=cr>

    <PDM_MACRO name=sfEnd>

    </SCRIPT>


    This will enable the filters and also show the Export button. You can also add some fileds for filters in this section.



  • 5.  Re: Add export and edit in list options to Employee access type

    Broadcom Employee
    Posted Sep 08, 2014 05:57 PM

    This works great!

    Or to make it simpler, add two lines:

    <PDM_MACRO name=sfStart create=false factory=cr>

    <PDM_MACRO name=sfEnd>

    before this line:

    <PDM_MACRO name=lsStart>

    And refresh the webengine htmpl caches and delete end user browser cached files.



  • 6.  Re: Add export and edit in list options to Employee access type

    Posted Sep 19, 2014 05:33 AM

    Hello ChiragM,

     

    Can you flag above as Correct Answer if this was right?

     

    Otherwise, please unflag and add extra detail.

     

    Thanks, Kyle_R.

     

    Admin: Flagging post as "Assumed Answered" based on text above. This may be reversed by author if needed.