CA Service Management

 View Only
  • 1.  Delimit field for change form

    Posted Jan 15, 2020 06:55 AM
    I would like to be able to delimit the search of the CIs when clicking on the projects field for the change form to limit it to the "Investment" family in its 3 variants projects, idea, other.

    something similar to what happens in the form of incidents when searching for the affected service.

    Any suggestions.



  • 2.  RE: Delimit field for change form

    Broadcom Employee
    Posted Jan 15, 2020 08:10 AM
    Hi Jonathan,

    Have you tried using a Where_Clause on the definition of the field? Perhaps have a look at how a similar functionality has been defined for the 'Affected Service' on the Incident form and mimic that.

    ------------------------------
    Kind Regards,
    Brian
    ------------------------------



  • 3.  RE: Delimit field for change form

    Broadcom Employee
    Posted Jan 16, 2020 11:53 AM
    Maybe data partition is something you may consider, if you don't really want to modify the script?


  • 4.  RE: Delimit field for change form
    Best Answer

    Posted Jan 20, 2020 05:08 PM
    in list_chg.htmpl search for "<PDM_MACRO name=sfLookup hdr="Project" attr=project>" and append an extraURL with a condition that satisfy your needs, for example:

    <PDM_MACRO name=sfLookup hdr="Project" attr=project extraURL="+ADDITIONAL_WHERE=class in ('1000101','1000102')">

    ------------------------------
    Ricardo Voelcker
    Analista de Sistemas
    Tribunal de Justiça RS
    Brazil
    ------------------------------