cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vshah804
Level: Powered On

Azure SQL (SaaS) as data source in PowerApps

Hello Team,

 

I have created Azure SQL SaaS database and connected to PowerApps.

 

I have data table control on my app which display the data and then I have form on the same screen. when I add field to the form as data card, It(data card) containts key and value cards as labels. I need Key as Lable and value as Input text box so when I submit the form I can write those values to Azure SQL DB. 

 

What I have noticed is, When I add a field to the form, I see "EDIT" control type for the field is missing. Can you please help? Appreciate your response.

 

ControlType.png 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Azure SQL (SaaS) as data source in PowerApps

Hi @vshah804 

In addition to the other comments above, can you confirm that your table in Azure SQL has a primary key defined?

Here is a related post on the same issue.

https://powerusers.microsoft.com/t5/Connectors/Issue-with-SQL-not-allowing-EDIT/m-p/96092#M35756

5 REPLIES 5
Super User
Super User

Re: Azure SQL (SaaS) as data source in PowerApps

Did you make sure that it was an 'Edit' form that you added to the Screen?  The form itself is specific to either edit or display.  Edit forms can be set to View mode, but Display forms don't have an Edit mode. If you add the wrong one then the fields will default to that mode. If the form doesn't have a Default Mode property then its not an Edit form its a Display form.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Community Support Team
Community Support Team

Re: Azure SQL (SaaS) as data source in PowerApps

Hi @vshah804 ,

Do you mean that only ActivityID filed can't be edited or all the fields can't be edited?

Could you tell me the data type of ActivityID?

Is this a system field?

If so, the system field is read-only in PowerApps. You could only view it without editing it.

What's more, make sure that you insert an Edit form and its mode is edit or new, not view.

 

 

Best regards,

Community Support Team _ Phoebe Liu

 

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

Re: Azure SQL (SaaS) as data source in PowerApps

Hi @vshah804 

In addition to the other comments above, can you confirm that your table in Azure SQL has a primary key defined?

Here is a related post on the same issue.

https://powerusers.microsoft.com/t5/Connectors/Issue-with-SQL-not-allowing-EDIT/m-p/96092#M35756

Administrator
Administrator

Re: Azure SQL (SaaS) as data source in PowerApps

Thank you for posting in the community @vshah804 - can you review the above replies and update the thread if they were helpful? 

 

Thank you,

 

@TopShelf-MSFT 

Highlighted
vshah804
Level: Powered On

Re: Azure SQL (SaaS) as data source in PowerApps

Hello, You are correct. I was missing the primary Key in the table. Thank you for your help.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 387 members 5,926 guests
Please welcome our newest community members: