We've created an ASP.Net Address Finder page that searches our independent address database.
The plan was to place a button on the CRM ribbon (when on forms with addresses) that would popup the window, allow a fuzzy search and address selection, and then return the selected address to CRM to populate the form.
We had this working fine in CRM2011 via a java-script enabled ribbon button command, but are having difficulties adapting the code for CRM2016.
The problem is that the original code relied on "window.showModalDialog" to control popping up the form and accepting the returning parameters. Although that method still works with IE it doesn't with Chrome, and we really could do with a method that's supported by both browsers.
I've experimented with Xrm.Internal.openDialog, and although I like the light-box effect, I cannot get my asp.net buttons to close the page and fully return to CRM, and when called via chrome I just get a loading page animation and no asp.net page content.
This must be a common request to add value added functions to CRM, so what's the best method for calling out to an ASPX (not simple html) page and returning data to CRM whilst locking the CRM form until the operation is complete? Any suggestions gratefully received.
Regards
Steve
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156