pen one
01/26/2023, 4:02 PMvar redirectUrl = url.resolveTaskLink({
id: 'EDIT_TRAN_OPPRTNTY',
isEditMode: true,
params: {
'e': true,
'subsidiary': erSubsidiary,
'entity': erCustomer,
'custbody_eym_contact': erContact,
'custbody_eym_standno': erStand,
'salesrep': erSalesRep,
'custbody131': erCallRep
}
});
window.open(redirectUrl);
}
and the params part of the url is here:
&e=true&subsidiary=2&entity=86623&custbody_eym_contact=86624&custbody_eym_standno=1234&salesrep=48911&custbody131=48911
battk
01/26/2023, 4:13 PMbattk
01/26/2023, 4:16 PMbattk
01/26/2023, 4:16 PMbattk
01/26/2023, 4:17 PMpen one
01/26/2023, 4:17 PMbattk
01/26/2023, 4:18 PMcustbody_eym_contact
as the key, you can use record.custbody_eym_contact
battk
01/26/2023, 4:30 PMpen one
01/26/2023, 4:33 PMrecord.
before the id works for the text fields but not for the list/records.battk
01/26/2023, 4:42 PMpen one
01/26/2023, 4:44 PMnlapiSetFieldValue('custbody131', 48911)
the field does set. I even tried hardcoding the params for that field as a test but still did not populate.pen one
01/26/2023, 4:50 PM