CA Service Management

Expand all | Collapse all

Add changer order properties to detail.wf.htmpl

  • 1.  Add changer order properties to detail.wf.htmpl

    Posted Mar 29, 2016 05:26 AM

    Hi Comunity,

     

    I have a problem. In my old Service Desk R12.5 I had to add the change order properties tab in the  detail.wf.htmpl form and worked ok. The code was:

     

    <PDM_NOTEBOOK name=wf_nb>

      <PDM_TAB name="Properties Change Order">

      <hr align="LEFT" size="2" width=100% color="black">

      <PDM_LIST PREFIX=list WHERE="object_id = $args.chg.id " FACTORY=prp>

      <br>

      <b><DIV ALIGN=left>$list.label <font color="green">$list.value <br></font></DIV></b>

      </PDM_LIST>

      <br>

      </PDM_TAB>

      <PDM_TAB name="Service_Type" file="xx_stype_tab.htmpl">

    </PDM_NOTEBOOK>

     

    Now in new version CA SDM R14.1 this code doesn't work. Can someone help me?

     

    Regards.



  • 2.  Re: Add changer order properties to detail.wf.htmpl

    Posted Mar 31, 2016 04:15 AM

    anybody?



  • 3.  Re: Add changer order properties to detail.wf.htmpl

    Posted Apr 01, 2016 08:30 AM
      |   view attached

    Try to change code to:

    <PDM_MACRO name=startNotebook hdr=wf_nb>
    <PDM_MACRO name=tab title="Service Type" file="xx_stype_tab.htmpl">

    <PDM_MACRO name=tab title="Properties" file="xx_prpwf_tab.htmpl">

    <PDM_MACRO name=endNotebook>

     

    And place the attached htmpl in sitemods

    Attachment(s)

    zip
    xx_prpwf_tab.htmpl.zip   977 B 1 version


  • 4.  Re: Add changer order properties to detail.wf.htmpl

    Posted Apr 04, 2016 02:36 AM

    Hi Gutis,

     

    I've tested your solution and don't show the properties change order in wf form.

     

    any idea?

     

    Regards.



  • 5.  Re: Add changer order properties to detail.wf.htmpl

    Posted Apr 05, 2016 02:59 AM

    Hi,

    Maybe wrong questions but did you also put the htmpl file provided by Gutis in your site/mods?

    /J



  • 6.  Re: Add changer order properties to detail.wf.htmpl
    Best Answer

    Posted Apr 05, 2016 03:25 AM
      |   view attached

    Sorry there is an mistake in xx_prpwf_tab.htmpl

    please change

    <PDM_LIST SOURCE=args.property_list>

    to

    <PDM_LIST SOURCE=args.chg.property_list>

     

    Corrected file attached

    Attachment(s)

    zip
    xx_prpwf_tab.htmpl.zip   976 B 1 version


  • 7.  Re: Add changer order properties to detail.wf.htmpl

    Posted Apr 05, 2016 04:23 AM

    Hi Gutis,

     

    Now works nice. Great Job!!!.

     

    Thanks very much.

     

    Regards.