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 / Patch Sharepoint to SQ...
Power Apps
Unanswered

Patch Sharepoint to SQL Database or Run a flow (Advice)

(0) ShareShare
ReportReport
Posted on by 174

Hi,

 

I have a canvas app which patches everything into a Temporary sharepoint list, this list is used as a QAQC check. Another more experienced user looks at the data and ensures its integrity and values are correct.

 

Can i patch the Sharepoint List to the SQL database? or should i use a flow? what are the advantages of each for say a poor internet connection?

 

ForAll(
 TempSharepointList,
 Patch( 
 SQLDATATABLE,
 Defaults(SQLDATATABLE),
 {
 Date: Date,
 SpecialID: SpecialID,
 RandomTXT: RandomTXT,

Etc etc

Currently i have errors saying incompatible column types (all my values in SQL are nvarchar(50) because it doesnt matter what format for my purposes) - Error is does not match expected type text found type error?

 

If i can patch am i able to group the sharepoint list by a unique ID in a drop down? ie i only want to patch ZZ001 this time but next time i may want to patch ZZ001 and ZZ002 but not ZZ003 etc?

 

For example my data

DateSpecialIDRandomTextRandomDropdown

1/1/2022

ZZ001Loko1698321RR
1/1/2022ZZ001Loko12223ddff
1/1/2022ZZ001Loko12414698321RR
1/2/2022ZZ002Loko1241dsad
1/2/2022ZZ002Loko1698321RR

 

 

Categories:
I have the same question (0)

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard