listEditField function is not showing date field as lookup
search cancel

listEditField function is not showing date field as lookup


Article ID: 6651


Updated On:


SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager


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


CA Service Desk Manager R14.1CA Service Desk Manager R12.9


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


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