Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to Open Dynamics CRM into Static HTML Iframe

(0) ShareShare
ReportReport
Posted on by 675

How to Open Dynamics CRM into Static HTML Iframe.

Please check the sample.

<html>
<head>
<title>HTML Iframes</title>
</head>
<body>
<p>Document content goes here...</p>
<iframe src="crmserver/dynamicscrm" style="width:100%;height:100%" >
Sorry your browser does not support inline frames.
</iframe>
<p>Document content also go here...</p>
</body>
</html>

*This post is locked for comments

  • RE: How to Open Dynamics CRM into Static HTML Iframe

    Rahul,

    I tried it but it is not working as it gives error:

    Refused to display 'login.microsoftonline.com/&; in a frame because it set 'X-Frame-Options' to 'deny'.

    What we are working on is an application and we need to show dynamics within our app is there any way to achieve it?

    Thanks

    Aamir

  • Suggested answer
    Rahul-Waghmare Profile Picture
    Rahul-Waghmare 990 on at
    RE: How to Open Dynamics CRM into Static HTML Iframe

    If you want to show the Dashboard in the IFrame then give the dashboard url in your code.

    <html>

    <head>

    <title>HTML Iframes</title>

    <style>

    iframe:focus {

       outline: none;

    }

    iframe[seamless] {

       display: block;

    }

    </style>

    </head>

    <body>

    <p>Document content goes here...</p>

    <iframe src="http[s]://orgname.domain.com/workplace/home_dashboards.aspx?DashboardID={GUID}" style="width:100%;height:100%">

    </iframe>

    </body>

    </html>

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

    Rahul

  • rrizwann Profile Picture
    rrizwann 675 on at
    RE: How to Open Dynamics CRM into Static HTML Iframe

    I have mobile app running separately and I want to show some dashboard in my app through Iframe.

  • rrizwann Profile Picture
    rrizwann 675 on at
    RE: How to Open Dynamics CRM into Static HTML Iframe

    What setting do we need to enable this features, web browser (IE)?

  • Suggested answer
    Rahul-Waghmare Profile Picture
    Rahul-Waghmare 990 on at
    RE: How to Open Dynamics CRM into Static HTML Iframe

    Hi Rizwan,

    What exactly is your requirement, why do you need to open CRM in into static HTML Iframe.

    Problem here is, Microsoft Dynamics CRM has some security concern for accessing the CRM url from IFrame. If you can use Developer tool (F12), in the console tab you can see the error message as "Access Denied" and if you check in the DOM Explorer you can actually check the rendered code where it gives the clear warning instructions for accessing the CRM. To enable this features, change your browser settings to allow the Microsoft Dynamics CRM site to run JavaScript.

    Hope this helps! I'd appreciate if you'd mark this as Answering your question.

    Thanks,

    Rahul

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans