Hi,
I have a sharepoint List (Test QCM) and I have 2 screens on my powerapps
First screen
And the second screen is EditScreen2 and EditForm2
On the submit buton, i write this syntax but i don't understand where is my mistake ?
Thank you for your help
Solved! Go to Solution.
Hi @ALP1 ,
I think there is something wrong with your formula. On your side, you should modify your formula as below:
Patch(
'Test QCM';
Defaults('Test QCM');
EditForm1.Updates;
EditForm2.Updates
);; // add ;; operator here as Formula chaining, this operator is also dependent on language
Navigate(Success)
Please check the following article for more details about the operators used in PowerApps:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/operators
Please take a try with above solution, check if the issue is solved. If the solution I provided above could solve your issue, please consider go ahead to click "Accept as Solution" to identify my reply as Solution.
Best regards,
You will have to specify what data goes through the sharepoint list.
You can review the documentation here.
Patch( Datasource, Defaults( Datasource), { ColumnName: Dropdown.Selected.Value } ... )
Also, since you're data source is a SharePoint list, you may use SubmitForm(Editform1)
Let me know if this works.
Hi @ALP1 ,
Do you want to patch multiple Edit forms data back to your SP List ('Test QCM') into a single one item once time?
Based on the formula that you mentioned, I think you are in right direction. Currently, if you want to patch multiple Edit forms data back to your SP List ('Test QCM') into a single one item once time, the Patch function is the only solution.
According to the error screenshot that you mentioned, it seems that there is something wrong with the ',' (comma) operator in your Patch function. Actually, the List separator (,) used in PowerApps formula is based on language. In some regions, it use ',' as List separator, however, in other regions, it use the ';' (semicolon) as List separator.
I think you should use ';' (semicolon) as List separator in your Patch formula, please modify your formula as below:
Patch(
'Test QCM';
Defaults('Test QCM');
EditForm1.Updates;
EditForm2.Updates
)
Please consider take a try with above solution, then check if the issue is solved.
Best regards,
Yes.
If i'm using semicolon, i have no errors
To finish the form, i add a sucess screen.
So i add to the formula, a navigate syntax but i have an another error.
However, if I refer to this video, it should work
Hi @ALP1 ,
I think there is something wrong with your formula. On your side, you should modify your formula as below:
Patch(
'Test QCM';
Defaults('Test QCM');
EditForm1.Updates;
EditForm2.Updates
);; // add ;; operator here as Formula chaining, this operator is also dependent on language
Navigate(Success)
Please check the following article for more details about the operators used in PowerApps:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/functions/operators
Please take a try with above solution, check if the issue is solved. If the solution I provided above could solve your issue, please consider go ahead to click "Accept as Solution" to identify my reply as Solution.
Best regards,
Thank you...i didn't knw this page (https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/global-apps). Very hepfull
There are great videos on the Powerpps and it's very frustrating when it doesn't work.
Thanks to you, I now know why it doesn't work now.
A huge thank you. to you but also to the whole community for the quality of your advice.
You're all amazing.
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
273 | |
245 | |
82 | |
37 | |
34 |
User | Count |
---|---|
356 | |
247 | |
128 | |
73 | |
44 |