Udostępnij za pośrednictwem


Setting the URL for a dynamic IFrame (URL vs. SRC)

Dynamics CRM lets us use IFrames on the entity forms to load any pages as the part of the form. There are plenty of tutorials showing how to add an IFrame, including CRM SDK. However, they are sometimes insonsistent or (like SDK in section "Creating a Dynamic IFRAME") describe procedures that may not work.

There are two properties in Iframe object - URL and SRC. SDK says in one of examples that url property should be used. In fact, the src is the one that will guarantee our Iframe to load appropriate page. The src property is a valid DOM property and the only one that works.

Remember about this!

Comments

  • Anonymous
    December 02, 2007
    Hello, nice site :)