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 Apps / Code Component for Sha...
Power Apps
Unanswered

Code Component for SharePoint Associated Grid (similar to MscrmControls.SharepointAssociatedGrid.SharepointControl)

(0) ShareShare
ReportReport
Posted on by 22

Hi

 

I was wondering: does any of you know

  • if it is possible to reuse the OOTB SharePoint grid component used in Model Driven apps to navigate SharePoint documents (MscrmControls.SharepointAssociatedGrid.SharepointControl) - I guess not, as it is a managed component?
  • if there are any code components available that let you mimic the functionality and user experience of the OOTB SharePoint Associated Grid? Some kind of file explorer component?

Purpose: built a custom page in a model driven app in which users need to select one or more documents form a SharePoint folder. I got the SharePoint navigation already working with a canvas component, but look and feel (and especially resizing of columns) is not aligned with model driven app look 'n feel...

 

Thanks for your feedback! 

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    I don't know of any pre-packaged answers to this, but there is a reason for that:

     

    In order for your PCF to pull content from SharePoint's API the way the OOB MSFT control does, it will need to use MSAL to get the current user's token silently. This requires an App Id, a Tenant Id, and an App Secret or Certificate.  At least the Secret is then stored in a Key Vault and accessed through environment variables.

     

    MSFT shortcuts this by using their own fancy first-party app registration in the background that doesn't need to ask for permission. Of course, You can absolutely build a control that accomplishes the same goal, but you would need to take all those setup steps yourself manually. That isn't difficult when you know what you're doing, but it is something people are unlikely to build and put out on the PCF Gallery because it wouldn't work without all that setup and no one wants to deal with 300 GitHub issues from people who just don't know how to set up AD. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard