[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
IFRAMEs, or windowless inline floating frames, can be embedded within a Microsoft Dynamics CRM form using the form editor in the client. IFRAMEs can be used for a variety of customizations such as:
- Incorporating a page from a Microsoft Office SharePoint Server site.
- Adding HTML code to the page, for example, to define a button.
- Showing a commercial Web site, for example, MSN.com.
- Embedding a custom application.
When you configure an IFRAME, you can restrict cross-frame scripting for security purposes and set options such as formatting and scrolling.
The default cross-site scripting setting is restricted to ensure the safety of the system. Make sure that you can trust sites you are using in the target of IFRAMEs. For more information, see "About Cross-Frame Scripting and Security" in the MSDN library at msdn.microsoft.com/en-us/library/ms533028(VS.85).aspx.
Factors to consider when using IFRAMES
- IFrames load asynchronously. This means that the entity form may load and be interactive before the IFRAME finishes loading.
- Forms are shared across all clients. When a form is loaded while a user is offline using Microsoft Dynamics CRM for Microsoft Office Outlook, the target of the IFrame may not be available. Make sure you understand your requirements and determine whether IFRAMES are appropriate for your solution. If they are, write code to handle situations where you do not want to load the URL or want to load a different URL. For more information, see Creating a Dynamic IFRAME, and Global Scripting Reference.
For more information, see "Using IFRAME Elements" in the MSDN library at http://msdn2.microsoft.com/en-us/library/ms537627.aspx.
In This Section
Describes the attributes defined for the IFrame in the Microsoft Dynamics CRM form.
Describes how to manipulate the URL property of the IFRAME to change the target of the IFRAME as well as ways to interact with from the Microsoft Dynamics CRM form from script in the target of the IFRAME.
Describes the parameters that can be passed to the target of the IFRAME.
© 2010 Microsoft Corporation. All rights reserved.