Passing parameters to variables in Dialogs using the function window.showModalDialog RRS feed

  • Question

  • Hi,

    I have created a dialog in CRM 2011. And I'm launching it from a button that i created in a Form. The method I used is the following : "window.showModalDialog( .... 

    My question is how can i pass parameter to a variable created in the dialog ?

    thanks in advance

    • Edited by samichebbi Friday, March 22, 2013 10:05 AM
    Friday, March 22, 2013 9:42 AM

All replies

  • If you open a window via showModalDialog, then the only way to pass information is via the query string, or the parameters that you pass in showModalDialog. In each case, this is only useful if the window will read information passed this way. As far as I know, the only information that a CRM dialog will accept in this way is the id of the record the dialog is to be applied to

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Friday, March 22, 2013 10:50 PM