web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Displaying multiple do...
Power Pages
Answered

Displaying multiple documents in Related Documents subgrid

(0) ShareShare
ReportReport
Posted on by 95

I am trying to display Sharepoint documents on a portal page using the "Document Locations (Regarding)" subgrid. When I upload multiple documents to the record, they all show up in the portal.... but they show up listed one document per page of the subgrid.

 

Screenshot_1.png

 

In the model-driven app I created to have better administrative control, I'm using the "Documents (Regarding)" subgrid, and all of the documents show up on one page there:

 

Screenshot_2.png

 

If I put the "Documents (Regarding)" subgrid on the Portal, it displays the error: "We're sorry, but something went wrong. Please try again, and if this persists, contact the website administrator."

 

How can I have the "Document Locations (Regarding)" subgrid show multiple documents on the same page? We will be having external users upload several documents per record, and they will likely not be doing it all at once. Having to flip through documents one at a time to see what you've already uploaded is a pretty bad experience.

Categories:
  • Liquid error: Exception has been thrown by the target of an invocation. v-siky-msft Profile Picture
    Microsoft Employee on at

    @dpana 

    I followed the steps and made a test, but don't have the issue you mentioned.

    Could you share more details with your issue? 

    Reference: https://docs.microsoft.com/en-us/powerapps/maker/portals/manage-sharepoint-documents 

    Sik

  • Sandeep Dhanrajani Profile Picture
    Microsoft Employee on at

    @dpana - Document Locations is the correct entity to be configuring the subgrid for

    Can you check that this is not just an intermittent issue by clearing the cache from the portal /_services/about page?  

    If this is happening consistently and there are no additional specifics that you think can be causing this, then please do log a ticket for the issue.

  • dpana Profile Picture
    95 on at

    @sandeepd I've cleared the portal cache multiple times, and tried on different browsers, in different computers. Every time, I see exactly one document in the subgrid, with pagination to get to the other documents, each of which shows on its own page.

     

    @v-siky-msft What other details would you suggest I provide? I followed the guide you linked in order to set this all up in the first place, and everything else works correctly. All the permissions are configured, the documents are getting uploaded to the expected folder in Sharepoint, and I can see them all in the portal - just one at a time.

  • Verified answer
    dpana Profile Picture
    95 on at

    The solution ended up being: I had created the form using the newer Powerapps form creator. I went in to the classic Powerapps form creator, deleted the subgrid, and created a new one to display the same entity. The form as created in the classic experience was formatted correctly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 18

#2
11manish Profile Picture

11manish 16 Super User 2026 Season 2

#3
Harshit Chaubisa Profile Picture

Harshit Chaubisa 4

Last 30 days Overall leaderboard