title: How to embed an iframe correctly in Microsoft Dynamics CRM 2013
body: <p>What is the best/simplest way to embed an iframe on a form in Dynamics CRM 2013 for a system that is deployed in four environments? We have a developer crm version, test, user acceptance version and also the live version of the site. </p>
  
  <p>An ASP.NET MVC website is being embedded in the frame and the url for this is different depending on which CRM site it relates to.</p>
  
  <p>I am doing this by embedding a frame and selecting "pass record object-type code and unique identifiers as parameters" and allowing cross-site scripting for the MVC website.</p>
  
  <p>The issue is that each crm site needs to have a different URL for the iframe because there are different versions for dev/test/uat/live of the MVC websites. </p>
  
  <p>What is the simplest way to achieve this?</p>