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

Create Collection using Patch

Hello,

 

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.

1 REPLY 1
AndySid
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.

https://www.youtube.com/watch?v=MclJ_O9HvJQ

 

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

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

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

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

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