cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StevenZhang
Resolver I
Resolver I

Can not edit record to the app connected to SQL server database

Hi,

 

I am using a gateway to connect to Microsoft SQL database, using username and password which has permission to insert/update to the database. but there is no add or update button after I created app automatically. 

I am also created app connected to sharepoint list and it is working good.

 

Regards

Steven

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @StevenZhang ,

Have you solved your problem?

 

Yeah, you are right. Currently, when you are working with SQL Server table within canvas app, there are some known limits you need to know:

https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations

 

The Primary Key is required in your SQL Table when you want to add a new record or update existing record from your canvas app. If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
StevenZhang
Resolver I
Resolver I

This article solved my problem.

https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-with-SQL-server-connection/m-p/929...

SQL table must include a primary key field.

I used wizzard to create an app, it is working good. thank you.

 

Regards

Steven

v-xida-msft
Community Support
Community Support

Hi @StevenZhang ,

Have you solved your problem?

 

Yeah, you are right. Currently, when you are working with SQL Server table within canvas app, there are some known limits you need to know:

https://docs.microsoft.com/en-us/connectors/sql/#known-issues-and-limitations

 

The Primary Key is required in your SQL Table when you want to add a new record or update existing record from your canvas app. If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,971)