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

Create Collection using Patch



I'm building a phone app.  It uses galleries as dropdowns for selecting values that populate a form on the final page for submission.  In the past, I've been successful by just using variables, and having each screen populate a variable.  This time, I've tried using a collection, and it all works perfectly in the editor and iOS, Web.


THE PROBLEM IS:  Even though everything behaves as expected, I get the red error message "An error occurred on the server."  I'm patching directly into a collection when this error occurs.  The data is still patched into the collection.  As far as I can tell, no error has occurred.  I believe this is a bug.  I can't even tell what kind of error it thinks has occurred.  Can I supress this message?


My planned workaround is:  I'll just have to use 20 variables instead of 1 collection with 20 columns.  That's lame, but working code is better than false error messages.

Level 8

Re: Create Collection using Patch

Hi, I do not know if you have watched this video but I found it helpful for Patch, Forall etc.


Helpful resources


Watch Sessions On Demand!

Continue your learning in our online communities.


PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

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


Join PowerApps User Group!!

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


Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!


Power Summit Australia 2019

August 20-23rd 2019

Users Online
Currently online: 37 members 4,049 guests
Please welcome our newest community members: