While doing client work, I came across a problem with setting an IFrame URL dynamically. The underlying issue was that the sandbox instance is on v8 of Dynamics 365 and production is on v9 of Dynamics 365. The reason for this was because this client was setup around the time that Microsoft rolled out v9. Anyways, JavaScript that I wrote to dynamically set the URL of the IFrame wasn't working in the v9 instance. This was because of changes that Microsoft made to how IFrames are loaded on the form and also changes to JavaScript. Here is my v8 setup: JavaScript runs OnLoad of contact form. This works because of how IFrames are loaded in v8. You can also run it on either a tab change (hide / show) or OnReadyStateComplete event of the IFrame. Depending on your setup you will need to choose which is best for you. For me in this case it was the OnLoad event. Here is the JavaScript: function OnLoad() { //Get memberid var...
This is my blog about my experiences working as a software developer, consultant and systems integrator. I primarily focus on Microsoft Dynamics 365, Microsoft Azure, and Scribe Online.