locked
CRM 2011: automatic open a contact form after a account was saved RRS feed

  • Question

  • Hi,

    our users often generate accounts without any contact. So we want our CRM to automatic open a Contact form after the account was saved.

    In 4.0 we used a JS, but in 2011 it does not work. The code is in an external htlm Page, which is called onsave and should do this. But it tells me that i have no access on the opener object.

    function Wait(){
    if (opener.crmForm.ObjectId != null) {
        opener.locAddRelatedToNonForm(2, 1, opener.crmForm.ObjectId, '');
        return;
        }
    setTimeout("Wait()",100);
    }
    

    If i run the same code in the onload event it works fine. Can anyone help me?

    Thx

    Monday, October 24, 2011 12:02 PM

Answers

All replies