listEditField function is not showing date field as lookup

Document ID : KB000006651
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

How to enable 'Call Back Date' field to show as a lookup under Edit in List funcitonality

Environment:
CA Service Desk Manager R14.1CA Service Desk Manager R12.9
Cause:

Missing additional code in HTMPL pages for this to function correctly i.e. missing in Search filter list and list parameters 

Resolution:

To add the Call Back Date field as part of customization's under CR object please follow below steps to achieve the lookup for listEditField.

Note: Adding the code just to listEditField section will not get us the desired results as this requires additional supporting code for this to work appropriately. Need some expertise for some level of customization to understand this code.

For example if you are referring to CR object(Request), add the below code in list_cr.htmpl

1. <PDM_MACRO name=sfDate hdr="DDR" attr=call_back_date qbe_condition=GE> 

--> This code has to be added for the search filter list 

2. <PDM_MACRO name=lsCol hdr="DDR" attr=call_back_date>

--> This code has to be added to show you the parameter list 

3. listEditField("call_back_date", "DDR");

--> This code has to be added to show you the lookup field under EditinList parameters