Hi cdtj,
I am testing this solution on both 14.1 and 12.9 Service Desk installations, the customer.organisation and customer.location values are getting updated in the form after saving the ticket, is there some thing needs to be reviewed to dynamically update the values on edit page itself.
I have the following observations.
I could see the below initialization in both 14.1 and 12.9 std_head.htmpl
var jq = jQuery.noConflict();
Service Desk 12.9
var cfgContext = '<PDM_FMT ESC_STYLE=C PAD=NO>${Context:}</PDM_FMT>';
var jq = jQuery.noConflict();
Service Desk 14.1
var cfgContext = '<PDM_FMT ESC_STYLE=C PAD=NO>${Context:}</PDM_FMT>';
var jq = jQuery.noConflict();
I also checked the Affected End User html form element using developer tools (F2) the lookup form values have below class, but in
class="ui-autocomplete-input"
z_backfill.htmpl we are looking for "aria-autocomplete=list" as below, how this selector "aria-autocomplete" relate to all the looksups?
"zjq("[aria-autocomplete=list]").each(function(index)"
SD 14.1
<input id="df_0_1" pdmqa="customer" tabindex="100" onfocus="return detailFocus(this);" onblur="return detailBlur(this);" onchange="detailAutofill(this,'cnt',true,'combo_name',false,'QBE.EQ.delete_flag=0');" type="text" value="ServiceDesk" size="20" name="customer_combo_name" class="ui-autocomplete-input" autocomplete="off">
SD 12.9
<input id="df_0_1" pdmqa="customer" tabindex="100" onfocus="return detailFocus(this);" onblur="return detailBlur(this);" onchange="detailAutofill(this,'cnt',true,'combo_name',false,'');" type="text" value="Ebonding, RSA " size="20" name="customer_combo_name" class="ui-autocomplete-input" autocomplete="off">
Thanks,
Venkat