locked
CRM 2011: Can I change the contact address1_addressid? RRS feed

  • Question

  • Hi,
    I'm developing an address management system for my company's CRM 2011 On-Premise. I am trying to change the address record that a contact record is pointing to for its address1 values. In JavaScript I used
    Xrm.Page.getAttribute('address1_addressid').setValue(newValue);
    

    The code runs without errors, but when I try to save the contact form, it then gives me a SQL Error (ever so helpful 'Generic Error'!). The form isn't saved.
    Like I said, the code ran fine, so I'm wondering if this is something I'm not allowed to do and SQL is stopping me??
    Kirsten
    Monday, June 13, 2011 3:41 PM

Answers

All replies