You need to sign in to do that
Don't have an account?
vander
javascript ajax toolkit sControl - populate lookup field
hello -
i've developed an sControl to automatically populate information on a custom object (calle CAR) from information on the the CASE object. everything is working well, except one of the fields i'm trying to populate is a lookup to another custom object (called CAR owners).
i am passing the proper ID to the lookup but it still won't take. my question is - is it even possible to update lookups from an sControl? if so, any tricks to doing so?
thanks!
i've developed an sControl to automatically populate information on a custom object (calle CAR) from information on the the CASE object. everything is working well, except one of the fields i'm trying to populate is a lookup to another custom object (called CAR owners).
i am passing the proper ID to the lookup but it still won't take. my question is - is it even possible to update lookups from an sControl? if so, any tricks to doing so?
thanks!
So, what kind of behavior is the toolkit exhibiting when trying to update the lookup field? The lookup, or more properly reference, field should take a 15 or 18 character id string. Are you getting an error?
thanks for the quick response. i was not using the correct Id field. Once I updated my code to the proper Id, everything works great.