Notifications
Announcements
Is it possible:
to
export data from sharepoint to sql server in PowerApps.
Without using Flow/Automate ?
Just guessing:
SharePoint to a Collection to sql server ?
Thanks
David
Yes, you would use Collect() to pull data from SharePoint, then Collect() again to post it to SQL.
---If this answered your question, please click "Accept Solution". If this helped, please Thumbs Up.
example links maybe please ?
Here is some sample code that loops through a SharePoint list and inserts into a SQL table:
ForAll(MySharePointList,Collect('[dbo].[MySqlTable]',{SqlColumn1:SharePointColumn1,SqlColumn2:SharePointColumn2,SqlColumn3:SharePointColumn3}))
Here is the documentation on the Collect function
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-clear-collect-clearcollect
If you only want to insert select SharePoint list values, you can use the Filter() function. Here is the docs for that
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/function-filter-lookup
That code would look like this
ForAll(Filter(MySharePointList,MyFilteredColumn=MyFilterCondition),Collect('[dbo].[MySqlTable]',{SqlColumn1:SharePointColumn1,SqlColumn2:SharePointColumn2,SqlColumn3:SharePointColumn3}))
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 721 Most Valuable Professional
Michael E. Gernaey 320 Super User 2025 Season 2
Power Platform 1919 268