Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 9244

CRM 2011 load external page instead of CRM page.

$
0
0

Hi

We have this code below, that open up/launch when a CRM page loaded.  It replace the CRM page to let user use the page instead of the CRM 2011 page (add/edit).

function Form_onload()
{
window.open('Custom.aspx?clear-session=true&applicationid=' + crmForm.ObjectId + '&orgname=' + ORG_UNIQUE_NAME, null, 'status=yes,toolbar=no,menubar=no,location=no,resizable=yes,scrollbars=yes,fullscreen=yes');

// Close the current window
//self.close();
Xrm.Page.ui.close();

}


On CRM 4.0, the page closes as self.close() was called.  But now, when we call Xrm.Page.ui.close(), the CRM page loads it up first then it closes.

What we want is when when a row was double click, on grid, it will open up the our custom page not the CRM page (default).

Let me know you thoughts.

Thanks in advance..


Viewing all articles
Browse latest Browse all 9244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>