I just have create a table in SQL Azure that looks like:
CREATE TABLE [customer].[Projects](
[Id] [uniqueidentifier] NOT NULL,
[Name] [nvarchar](200) NULL)
Also, the Column Id was set as Primary key and has a Default Value (new id()).
Using the wizard to connect SQL as data source, I create a "New Form" in power Apps and try to submit it (insert a new item in the table), an error is shown
However, I followed this Post, creating a table with the following structure and when I tried to submit it, the form works well.
CREATE TABLE [dbo].[TestTable](
[Id] [int] IDENTITY(1,1) NOT NULL,
[Name] [varchar](50) NULL)
Also, the Id column was set as Primary Key.
Do you know if Power Apps have problems with SQL "unique identifier" datatype? Is there any workaround?
Thanks in advance
Solved! Go to Solution.
The form is submitted well when the Id is Integer not unique identifier.
However, for those who face the issue please, go to this post that helped me. It seems the SubmitFrom method has problems managing GUID.
@Anonymous
You said "submitting the form worked" well. I don't see any issue described in your post: only the actions you took to build a SQL table.
What issue are you having? Also, I noticed an error symbol in your screenshot. Please share the full error message.
---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."
The form is submitted well when the Id is Integer not unique identifier.
However, for those who face the issue please, go to this post that helped me. It seems the SubmitFrom method has problems managing GUID.
@Anonymous
I am super confused by your newest post. Are you now saying that you solved the problem?
If yes, mark your own post as the solution.
User | Count |
---|---|
125 | |
87 | |
86 | |
75 | |
69 |
User | Count |
---|---|
215 | |
180 | |
139 | |
97 | |
83 |