locked
Get Email of Contact RRS feed

  • Question

  • Hi, I have to get the email address of a contact on PageLoad. I can get the email from the contact lookup while onchange but how do I get in on load of the page, by accessing the contact entity in javascript and getting the value for that contact.
    Friday, June 19, 2009 7:37 PM

Answers

All replies

  • Hi Glora,
      
       I'm not sure I understand your question. Can you please explain a bit more? 

    >> I have to get the email address of a contact on PageLoad.
    OnLoad of which form? Email form? Contact form?

    Hassan.

    Hassan Hussain | http://hassanhussain.wordpress.com/
    Friday, June 19, 2009 7:45 PM
  • When I create a new opportunity, one of the contact fields is populated with a manger's name. This is a Nto1 relationship between a contact and the opportunity. I want the email address of teh contact when the page is loaded. How do I get the email address from the contact attribute. I have the GUID of teh contact.
    Friday, June 19, 2009 8:12 PM
  • Ok. Please have a read of the post at Jim Wang's blog.

    This will allow you to do exactly what you are trying to do.

    Hassan.


    Hassan Hussain | http://hassanhussain.wordpress.com/
    • Proposed as answer by Hassan Hussain Friday, June 19, 2009 8:22 PM
    • Marked as answer by IamaNovice Friday, June 19, 2009 8:34 PM
    Friday, June 19, 2009 8:21 PM
  • Awesome. Thanks a lot.
    Friday, June 19, 2009 8:34 PM