CA Service Management

  • 1.  How to create custom htmpl page and link to web interface of SD

    Posted Feb 10, 2016 10:31 AM

    Hi Team,

     

    I want to create a custom htmpl page and need to display that custom htmpl in webinterface of analyst.

     

    For ex: in Servicedesk tab we can search-->contact. when we click contact we get list_cnt.htmpl. when we give value for userid and search we will get the contact info.

    when we click on particular contact we will get detail_cnt.htmpl with full details.

     

    Like this I want to create custom htmpl page. I have created required tables.

     

    please help in displaying the custom htmpl to web interface of servicedesk.



  • 2.  Re: How to create custom htmpl page and link to web interface of SD

    Posted Feb 10, 2016 01:52 PM

    Please clarify.  You have already created new custom tables in Web Screen Painter and successfully published them?

     

    If so, then please refer to:  How to Modify the Web Interface using Web Screen Painter - CA Service Management - 14.1 - CA Technologies Documentation for how to use the detail and list templates for new custom forms.

     

    Depending on what you are tying accomplish you may need to create relationships to other tables.

     

    J.W.



  • 3.  Re: How to create custom htmpl page and link to web interface of SD

    Posted Feb 16, 2016 10:21 AM

    Thank you for all your help



  • 4.  Re: How to create custom htmpl page and link to web interface of SD

    Posted Feb 16, 2016 10:38 AM

    If you've created new reference tables, then you will need to add nodes in your administration tree.  I followed this article and it worked great for me:

     

    CA Service Desk - Create a new Menu Tree - New node - out-of-box



  • 5.  Re: How to create custom htmpl page and link to web interface of SD

    Posted Feb 23, 2016 10:18 AM

    that usefull arcticle to add nodes tothe admin tree

     

    May you want to have those form available  in your menu like create a new contact or search => contact. you will have to modify the menubar_sd .htmpl for your corresponding roles to add amnu item to call yourpages.

     

    Something like the below from CA to search for group where you will replace cnt with your own factory assuming you respect the way to create list_form.htmpl:

     

    <PDM_MACRO name=menuItem label="Groups" function="upd_specific_frame('sd','search_cnt.htmpl', 'KEEP.type.id=2308')">

     

    or directly the form itself like below:

     

    <PDM_MACRO name=menuItem label="On Call Persons" function="upd_specific_frame('sd','list_z_oncall_team.htmpl')">

     

    another example to create a new custom record in a custom factory with some attribute been preset:

     

    <PDM_MACRO name=menuItem label="New Work Instruction..." function="ahdtop.create_new('work_instruction',0,'','','PRESET=z_type:400003+HTMPL=detail_work_instruction.htmpl')">

     

    Hope this help

     

    /J