AnsweredAssumed Answered

Quick profile impose conditional search on configuration item field

Question asked by subbaraomahendrakar.1 on Sep 18, 2018
Latest reply on Sep 24, 2018 by Michael Mueller

Hi All,

 

I want to impose condition(class.zcr_flag=1) on configuration item search field in quick profile (scratchpad.htmpl) page.

 

so that when user click/search on lookup field of configuration item they only see the CI whose class.zcr_flag=1.

 

can any one help how to impose this condition in scratchpad.htmpl

 

below is the configuration item field code from scratchpad.htmpl.

can any one help how to impose the condition (class.zcr_flag=1) on configuraiton item field of quick profile (scratchpad.htmpl) page

 

 <!-- configuration item field -->
                    <TD>
                        <INPUT ID=pbfld107 NAME=KEY.affected_resource SIZE=20
                               ="document.scrpadForm['SET.affected_resource'].value='';pb_select_asset();"
                               ="this.className='focusField'" ="this.className=''">
                        <INPUT TYPE=hidden ID=pbfld107_persid NAME='SET.affected_resource'>
                        <SCRIPT LANGUAGE="JavaScript">
                            populate_autosuggest_array("nr", "affected_resource", "name", "", false, "QBE.IN.name", "pbfld107");
                        </SCRIPT>
                    </TD>

 

 

can any one help on this please

Outcomes