Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Sharepoint new document popup is blocked, but only Chrome

Posted on by Microsoft Employee

Hello,

I have CRM 2016 onprem, with SharePoint integration for document management.  It works great, unless the user is using Chrome and then I get the following alert when they click on anything on the sharepoint element:

3733.Screenshot_5F00_1.png 

what the element looks like: arrow is pointing at what I actually clicked to caused the error above. 

1185.Screenshot_5F00_2.png

I have tried adding the sharepoint page to my safesites, turned off popup  blockers, turned on popup blockers and allowed the sites. 

0537.Screenshot_5F00_3.png

I am kind of at a loss on what to do next with this one.

Any help would be greatly appreciated. 

This is effecting all users, everyone is having this issue, 50+ people. 

Thank you,

William 

*This post is locked for comments

  • syscon Profile Picture
    syscon 25 on at
    RE: Sharepoint new document popup is blocked, but only Chrome

    Got the same error in crm2015.

    Digging into it, the sp list component is opened via window.showmodeldialog... which has now been depreciated (and removed) from modern chrome...
    https://developer.mozilla.org/en-US/docs/Web/API/Window/showModalDialog

    "This method was removed in Chrome 43 and Firefox 56."

    pastedimage1638247516713v1.png

  • Suggested answer
    Joe Woltering Profile Picture
    Joe Woltering 12,159 on at
    RE: Sharepoint new document popup is blocked, but only Chrome

    Turns out it is the latest version of Chrome that breaks the Sharepoint List Component. So it looks like it's back to Edge!

  • Joe Woltering Profile Picture
    Joe Woltering 12,159 on at
    RE: Sharepoint new document popup is blocked, but only Chrome

    I am having a similiar issue where I cam not geting the popup in Chrome that says "A folder will be created in the location: https://sharepoint...."

    pastedimage1627914813690v1.png

    Instaed I just get a meesage that states "This record does not have a Sharepoint location associtae with it. Add a SharePoint location." And when I click on Add a Shorepoint location, it gives me the option to create the folder, but when I click 'Create a folder', nothing happens, even thogh it says that the folder will be created.

    pastedimage1627915366160v2.png

    pastedimage1627915387637v3.png

    Thia is also only happening in Chrome or Edge. It still works fine in Internet Explorer but this is not a solution since we are decreating teh use of IE in our environment. 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sharepoint new document popup is blocked, but only Chrome

    In my scenario, this issue was due to an older version of the SharePoint list component being installed on the SharePoint site.  If you don't have the latest version it may still be using showModalDialog which is deprecated by Chrome and not longer allowed.  You need to use the CRM 2016 version of the SharePoint list component in order to avoid the blocked popup dialog.  The error is actually a bit misleading as Chrome is not actually blocking the popup, this is the list component capturing the error and issuing a popup that indicates the popup is not allowed.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Sharepoint new document popup is blocked, but only Chrome

    Hello, and thank you for your reply.

    I am accessing it via the navigation, it's the document associated view for any entity:

    87871.Untitled.png

    It works in IE : 

    87871.Untitled.png

    but not in chrome:

    2330.Untitled2.png

    Which makes me very sad indeed....

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Sharepoint new document popup is blocked, but only Chrome

    Hi William,

    Have you embedded the SharePoint document list within the entity page or you are opening it through record Navigation >> Documents?  If you have emedded then please share some more details on how you have added it on the page?

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans