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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Add a tab for SharePoint Documents in the main form case

(0) ShareShare
ReportReport
Posted on by

Followed the instructions of this MS Official Documentation Article Add the Documents tab to the main form for a table - Power Apps | Microsoft Docs, I can see the Documents Tab and the Grid however cannot see the files and folders uploaded there, however I can upload or create documents on this tab that will be uploaded to SharePoint without issues

Am I missing something here?

  • Suggested answer
    Community Member Profile Picture
    on at

    Sorted the issue, basically was me with bad indentation and mispelled the <RelationshipName> for the incident 1:N relation

    Ref: https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/add-documents-tab-entity-main-form#xml-sample-for-adding-the-documents-tab-to-a-form

    -------

    <control id="DocumentSubGrid" classid="{E7A81278-8635-4d9e-8D4D-59480B391C5B}" indicationOfSubgrid="true" uniqueid="{Make an unique GUID}">

       <parameters>

         <ViewId>{0016F9F3-41CC-4276-9D11-04308D15858D}</ViewId>

         <IsUserView>false</IsUserView>        

         <RelationshipName>Incident_SharepointDocuments</RelationshipName>

         <TargetEntityType>sharepointdocument</TargetEntityType>

         <AutoExpand>Fixed</AutoExpand>

         <EnableQuickFind>false</EnableQuickFind>

         <EnableViewPicker>true</EnableViewPicker>

         <ViewIds />

         <EnableJumpBar>false</EnableJumpBar>

         <ChartGridMode>Grid</ChartGridMode>

         <VisualizationId />

         <IsUserChart>false</IsUserChart>

         <EnableChartPicker>false</EnableChartPicker>

         <RecordsPerPage>10</RecordsPerPage>

         <HeaderColorCode>#F3F3F3</HeaderColorCode>

       </parameters>

     </control>

  • Community Member Profile Picture
    on at

    Hi dynamicstechy,

    Thanks for sharing your solution.

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!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 54

#2
Syed Aqib Raza Profile Picture

Syed Aqib Raza 42

#3
ParthPatel249 Profile Picture

ParthPatel249 33

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans