New version of Chrome doesn’t showModalDialog method.
As an alternate we can use Xrm.Internal.openDialog method
- And in the HTML Web Resource page
We need to refer ClientGlobalContext.js.aspx
To return value to the parent window and close the current window
Helpful links
https://debajitcrm.wordpress.com/2014/04/29/exploring-the-xrm-internal-namespace-in-crm-2013/
https://dynamicsofdynamicscrm.wordpress.com/2014/04/28/call-crm-2013-modal-window-for-webresources/
https://mscrmmindfire.wordpress.com/2014/04/23/open-dialog-box-like-crm-2013/
MOST IMP – It is unsupported
Hope it helps!!
After exploring a number of the articles on your blog, I really like your technique of blogging. I book marked it to my bookmark site list and will be checking back in the near future. Please check out my web site too and let me know what you think.
LikeLike
You really should mention that methods like these are unsupported for use and could change at any time. Other than that, this was a helpful hack to get modal dialogs working
LikeLiked by 1 person