There could be different scenarios where client may want to view, access, or pass data to external pages from within Dynamics CRM.

External pages refer to the pages that are not part of Dynamics CRM. It can be defined as pages that you can access via an internet (with an extension like .aspx, .html, etc).

In Dynamics CRM, we always have an option to create and use HTML pages through webresource but sometimes there is requirement to have an external page for a user to work with it. Users can have different requirements for it;

They may only require to only see the pages.

They may require to see and also may want to interact with page.

They may require to pass the CRM data to external page.

In this blog we have consolidated all the different areas in Dynamics CRM where we can actually add external pages. This may help you to choose right area to display your page in order to access external pages from Dynamics CRM.

There are 5 different areas mentioned below;

1. IFRAME on entity forms:

The form of entity is one of the areas where we can add/show an external page. You can add an Iframe control on the form and you can pass the URL for that Iframe. So when you open a record of that entity the external page gets loaded into that Iframe.

In some situations, you might want to pass some data from Dynamics CRM to external page.

You can check the below option to pass this information to page and on the external page you will get that information from the querystring (Record GUID and Object type code).

Here is how the page looks like on Dynamics CRM form:2. IFRAME on Dashboard:

In similar fashion, using IFRAME control you can add/show page on dashboard. We will need to insert an IFRAME control on dashboard and specify the URL for that IFRAME.

In same way, you can pass the information to page. But in this case you will get only organization language, user language, and organization unique name. You won’t get record GUID and entity type code in this case since we are opening through a dashboard.

Similar to Sitemap, to pass parameters to URL we have to add “PassParams” attribute with value as true.

Data passed to querystring: We have so much parameters that we can pass to URL through querystring. We can pass CRM data using CrmParameter, we can even pass BoolParameter, StringParameter, DecimalParameter. For more information you can refer following link https://msdn.microsoft.com/en-us/library/gg328363.aspx .

With this option we can open page either in new window or in current window.

Conclusion:

This blog discusses about the different areas to use external pages from Dynamics CRM. Whenever you want to add an external page into Dynamics CRM consider all these areas and decide appropriate area to use your page.