Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

IFrame component in Model driven App id giving "refused to connect error"

Posted on by 1,654

Hello everyone,

I have a requirement to display SharePoint's word document in Model Driven App.

For achieving the same I have added IFrame component on my CRM form and have configured that as per the attached image "IframeConfiguration.png" then I have save and publish the form.

When I am trying to access it in my Model Driven App then I am getting an attached error "Result.png".

Can anyone help me to resolve this issue and guide where I am getting wrong.

I was following the below link to configure IFrame properties:

docs.microsoft.com/.../iframe-properties-legacy

Thanks in advance!IframeConfiguration.png8875.Result.png

  • Suggested answer
    Inogic Profile Picture
    Inogic 24,094 on at
    RE: IFrame component in Model driven App id giving "refused to connect error"

    Hi,

    It looks like you are passing different SharePoint URL in the Iframe as the cross domain iframe requests are blocked in SharePoint Online as per the below blog:

    docs.microsoft.com/.../cross-domain-iframe-requests-are-blocked

    Make sure you add the correct SharePoint URL in IFRAME and uncheck the option as shown in the below screenshot:

    3771.30th-11-2020.png

    Hope this helps!

  • Suggested answer
    MikeC282 Profile Picture
    MikeC282 2,095 on at
    RE: IFrame component in Model driven App id giving "refused to connect error"

    If you're after a Sharepoint integration where you can upload and view documents linked to entities in Dynamics why don't you use the Sharepoint integration instead of an iFrame. You can see in the URL you've given that this feature is a legacy feature meaning it will eventually become deprecated.

    docs.microsoft.com/.../set-up-sharepoint-integration

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans