AnsweredAssumed Answered

pdm_macro where clause not updating results on lookup upon tab

Question asked by alblu01 Employee on Mar 27, 2015
Latest reply on Apr 7, 2015 by Juan Cancino



  I have a quick question on a customized form. Here is a bit of background:


In Service Desk "on Tab" on a Lookup field is not working as expected when we use where clause.

We have a field called zProduct which is a SREL to NR object.

We would like the lookup field to show the list of CIs with family.zSupportCat=1 and is_ci=0


if we type some text and then it tab, the results show ) records. when we hit search button again, it gives results. In other words, first search on TAB is not rendering results.


below is line of code from cmdb_detail.htmpl


<PDM_MACRO name=dtlLookup hdr="Product" attr="zProduct" extraURL="ADDITIONAL_WHERE=family.zSupportCat=1 and is_ci=0">


Any help on why it is not loading the info when bringing the form would be greatly appreciated.


Thanks in advance!