Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Customize SharePoint Document Entity in Dynamics CRM

Posted on by 7

Can you create custom views in the Sharepoint entity? I tried to create a new view and received the error below when I added as a sub grid on my form. 

pastedimage1633465586798v1.png

  • NewCoder Profile Picture
    NewCoder 7 on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    the FetchXML trick didn't work for me

  • NewCoder Profile Picture
    NewCoder 7 on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    when you modified the fetch XML ,

    Did you leave your settings with Documents (Regarding) My new view? Because I am getting the same error as before. did you have to use the same columns as the other Sharepoint views?

  • NewCoder Profile Picture
    NewCoder 7 on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    Did you have issues creating multiple views but having each view show different documents?

  • NewCoder Profile Picture
    NewCoder 7 on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    Did you have issues creating multiple views but having each view show different documents?

    My document view 1 - shows my documents from tab 1

    My document view 2 - shows my documents from tab 2

    my document view 3 - shows only my documents from tab 3?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    Hi NewCoder,

    Yes,I did the same with you and add the subgrid to my account entity form. Then I got the same error with yours.

    pastedimage1633598564797v2.png

    I pressed F12 and got the 400 error. I think this is caused by the fetchxml.

    So I did something like the docs(docs.microsoft.com/.../troubleshoot-set-up-sharepoint-online says:

    1. Create a solution and add SharePoint Document entity.

    2.Export it and copy the content of  <fetchxml> belonged to All SharePoint Document view and use it to replace my view's content of  <fetchxml>.

    3. Zip the folder and delete the solution created before. 

    4.Import the solution and it can work now.

    pastedimage1633598463603v1.png

  • NewCoder Profile Picture
    NewCoder 7 on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    I am unable to create new views and I am a system admin. Did you get any errors when you created a new view and add to the form as sub grid

    Documents (related) then your new view?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Customize SharePoint Document Entity in Dynamics CRM

    Hi NewCoder,

    1. Please make sure you have the permission.

    2. When you select system view, did you get this error?

    3. You can press F12 to check whether has any detail about this error?

    Here is a documentation about troubleshooting SharePoint integration:

    docs.microsoft.com/.../troubleshoot-set-up-sharepoint-online

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans