Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

CRM2016: Address Finder ASP.NET Page Interactions - Advice

$
0
0

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


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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