7

I have a custom object "Service Timecard". One of the fields on the object is "Service Technician" which is a User Lookup field. I want to be able to prepopulate that field using URL hacking. I managed to override the "New Button" and this is what I have so far and it's not populating the User in the lookup field: /a14/e?CF00N30000007Ceht&CF00N30000007Cehz{!$User.FirstName}{!$User.LastName}&CF00N30000007Cehz_lkid={!$User.Id} Any ideas? Thanks!

5

You need forgot an '=' and also you only need to use {!user.Name}

Try

/a14/e?CF00N30000007Cehz={!User.Name}&CF00N30000007Cehz_lkid={!$User.Id}

Hope that helps

  • D'oh! For the life of me I couldn't see that. You know what, that fixed it. Thanks so much! :-) – user988 Sep 6 '13 at 23:08
  • Awesome, glad to help – Chris Duncombe Sep 6 '13 at 23:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.