Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Dynamics 365 Online adding SharePoint Documents

Posted on by Microsoft Employee

I've added a web resource to an account form to display a list of documents for an account. It will display a list of documents an allows me to add or delete documents.  It works fine except after the form loads I get the generic error message in a pop-up and after I get an entry in the console log that states:

XML Parsing Error: no root element found
Location: my-organization.crm.dynamics.com/.../areas.aspx;oId=E7CCB6FB-AB5A-E711-8106-E0071B66CFB1&oType=1&pagemode=iframe&rof=true&security=852023&tabSet=account_SharepointDocument
Line Number 1, Column 1:

I can't find the XML document that is missing the root element.  The generic messages refers to a ClientApiWrapper.aspx?ver=363723081 line 157 > eval:1:1, but that seems to be a handler for any error message.  I'm not sure how to capture or handle this error which isn't really causing a problem. 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Online adding SharePoint Documents

    Hope the below tool helps to achieve what you are looking for.

    http://www.xrmforyou.com/sharepoint-integrator.html

  • Inogic Profile Picture
    Inogic 24,094 on at
    RE: Dynamics 365 Online adding SharePoint Documents

    Hi,

     

    Using the below product you can achieve what you need in a supported way.

     

    https://www.inogic.com/product/productivity-pack/drag-drop-dynamics-365-crm-multiple-attachments-sharepoint-cloud-storages 

     

    Hope this helps.

     

    Thanks!

  • ScottDurow Profile Picture
    ScottDurow 50,177 on at
    RE: Dynamics 365 Online adding SharePoint Documents

    Hi Robert - at this time there is no way to show documents on the form for performance reasons - in the new Unified Interace the documents will appear as a related record tab and I find that this gives a more consisten behaviour.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Online adding SharePoint Documents

    Thank you for such a quick response.  I think I may have inadvertently hijacked a thread.

    We are also getting this same error message when looking at the standard Document Associated Grid for an Incident.  We see the Documents in SharePoint and the Folder Name matches the location in Dynamics 365.  It's just that since the upgrade overnight, the document records are no longer listed.

  • ScottDurow Profile Picture
    ScottDurow 50,177 on at
    RE: Dynamics 365 Online adding SharePoint Documents

    This technique is not supported - the SharePoint grid is not designed to be embedded in this way.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dynamics 365 Online adding SharePoint Documents

    We just upgraded an instance to Dynamics 365 version 9.0 and are now seeing this error message.  Were you able to find a resolution?

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans