web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Not able to show DashBoard while using the dasboard link as Iframe in application.

(0) ShareShare
ReportReport
Posted on by

Hi,

I have created one dashboard the link are as per below.

http://xxxxx:portnumber/dashboards/dashboard.aspx?dashboardId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.

Using this link as Iframe in one of application is giving me the below error and by that no charts are dispalyed.

It is continueosly loading and loading yet not dislay any data.I have set the security permissions to the deployed folder also for everybody and network service and iis also.Still this issue occurs.

Please Guide on the same.

Thanks.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    look like your other application runs as a different user , error says permission denied

    who is the user id for application pool for other user

  • Suggested answer
    Bruno Lucas Profile Picture
    5,421 on at

    try un-tick restrict cross site scripting tick box.

    can you browse your external application on the same machine where you get the error?

    Try fiddler to see if that is trying to access the external url in an unexpected way

    social.microsoft.com/.../crm-2013-access-external-websites-within-an-iframe-on-dashboard

  • Community Member Profile Picture
    on at

    Hi Lucas,

    I have used dashboard link as an iframe and not set the iframe in dashboard.So, have no tick box here to check/uncheck cross site restricting.

    I have used it link below.

      <form id="form1" runat="server">

       <div>

         <iframe id="FRAMENAME" src="http://xxxxx:portnumber/dashboards/dashboard.aspx?dashboardId=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

           width="100%" height="100%" frameborder="0" scrolling="no"

                   marginheight="100%" marginwidth="100%" style='position: absolute; top: 0; left: 0;

                   height: 100%; width: 100%;"></iframe>

               <asp:HiddenField ID="hdnValue" runat="server" Value="Page1" />

       </div>

       </form>

    Can you suggest to solve in this?

    Thanks Lucas.

  • Verified answer
    Community Member Profile Picture
    on at

    If we have used the iframe for displaying the dasboard it will gives the same issue because of the security reason. because iframe can't fetch the dashboard.

    for this we need to use the windows.open() solves the problem.

    call different dashboard  url on a set interval of time.i.e. setInterval(function () { refreshDashboard(); }, 15000);

    and change the url of the dashboard in to the  refreshDashboard() function.

    Thanks,

    Kandarp

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans