Im new in Power Apps so i don know if its posible to add an item to a SQL Table from power apps, please help!
Solved! Go to Solution.
@Danielamgzz
To add a little more to @Pstork1 's comments - it looks like you might not have a primary key on your table as all of the fields you have in your form are showing as View only. This is PowerApps' way of telling you it cannot write to the table...must have a primary key defined for it!
Yes you can Insert or Update records in a SQL table using Power Apps. It does require a premium license and there are some prerequisites to the way the table is created that apply. But it is normally possible. Here's documentation.
Connect to SQL Server from Power Apps - Power Apps | Microsoft Docs
Hi @Pstork1
I already have the connection with SQL, but I do not know how to add the fields of the SQL table to be able to add records
Do you want to add new records of update existing records?
To do that you can submit a Form (New or Edit) or use Patch().
Take a look at this walkthrough. Creating a Basic PowerApp Against a SQL Server Table (pragmaticworks.com)
@Danielamgzz
To add a little more to @Pstork1 's comments - it looks like you might not have a primary key on your table as all of the fields you have in your form are showing as View only. This is PowerApps' way of telling you it cannot write to the table...must have a primary key defined for it!
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
User | Count |
---|---|
166 | |
94 | |
69 | |
64 | |
63 |
User | Count |
---|---|
222 | |
160 | |
94 | |
86 | |
80 |