Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Document Subgrid (files) on the main form

Posted on by 147

Hi All,

I want to show the SharePoint document subgrid on the main form of custom entities. 

I found that OOB entities have files tab on the main form from where users can directly upload the document like leads, opportunity.

5287.pastedimage1582799114532v1.png

How we can achieve this? Is there any alternative approach for the same. 

  • Pragati Madke Profile Picture
    Pragati Madke 5 on at
    RE: Document Subgrid (files) on the main form

    Hey!

    I have followed the same steps but in my files tab that new and upload button is missing. I tries to add with the ribbon workbench but it didn't work. Can you please help me?

  • Suggested answer
    Frank Lee Profile Picture
    Frank Lee 4,616 on at
    RE: Document Subgrid (files) on the main form

    Power apps form designer not able to change the default view at this time.  Here is a write up on how to default the view of the grid using customization.xml.  

    How to Add SharePoint Document Files Tab to a Dynamics 365 Custom or Out of the Box Table (Entity) Main Form

  • samnunn92 Profile Picture
    samnunn92 70 on at
    RE: Document Subgrid (files) on the main form

    Hi,

    Thanks so much for your detailed instructions Lu Hao on how to add a documents grid. I was wondering if it was possible to change the default view for the grid? We have multiple document locations and it would be fantastic if we could set the view per page so that only relevant documents were to show depending on which page our users were currently viewing. I don't seem to be able to change the view in the Powerapps form designer.

    Thanks very much
    Sam

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Document Subgrid (files) on the main form

    Hi Subhash,

    The folder is indeed not accessible in the Document subgrid, which is by design.

    There is no Folder in "+New" in the subgrid, but "+New" in the Related Document tab has Folder.

    pastedimage1582872203361v1.png    pastedimage1582872239950v2.png

    To see the folder in the subgrid, the user needs to click on "See associated records", which will also jump to the Related Document tab.

    pastedimage1582872454933v4.png

  • Subhash_Mahato Profile Picture
    Subhash_Mahato 147 on at
    RE: Document Subgrid (files) on the main form

    I can see files in that grid but I am not able to see any folder in that sub grid.

    LuHao

    I have created folder in SharePoint and uploaded file in that folder I am not able to see that Folders in subgrid

    image-1.png

    subgrid on the main form:

    not able to see those "Document" and "Document 1" folder in SharePoint

    4426.image-2.png

  • Subhash_Mahato Profile Picture
    Subhash_Mahato 147 on at
    RE: Document Subgrid (files) on the main form

    thank you  for the quick response. it worked perfectly. LuHao

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Document Subgrid (files) on the main form

    Hi Subhash,

    Sorry for the incompleteness of the previous answers.

    We need to add Document sub-grid in the Power Apps, not in the classic interface.

    Go to https://make.powerapps.com/, click Data > Entities, switch to Custom, open the entity.

    pastedimage1582865748035v1.png

    Open the main form, add a subgrid, check "Show related records", select Document(Regarding). Save and publish.

    pastedimage1582865938296v2.png    pastedimage1582866031428v3.png

  • Subhash_Mahato Profile Picture
    Subhash_Mahato 147 on at
    RE: Document Subgrid (files) on the main form

    LuHao

    I got your point but adding document location on the sub grid does not give the capability of uploading documents in SharePoint from main form itself.

    like we have for leads and opportunity. 

    1016.Screenshot_5F00_2.png

  • LuHao Profile Picture
    LuHao 40,872 on at
    RE: Document Subgrid (files) on the main form
    [deleted]
  • Subhash_Mahato Profile Picture
    Subhash_Mahato 147 on at
    RE: Document Subgrid (files) on the main form

    LuHao Miguel Lourenco

    We have enabled document management for our custom entity.

    But client don't want to navigate to "Related -> Document" they want SharePoint document tab on the main form itself. 

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

Product updates

Dynamics 365 release plans