Skip to main content

Notifications

Community site session details

Community site session details

Session Id : Or1bkouaI9HsQa3V+Op25C
Power Apps - Error Handling
Unanswered

Save information in gallery to Sharepoint list with Power Apps

Like (0) ShareShare
ReportReport
Posted on 13 Feb 2025 20:55:01 by
Hello, 
 
Goal of App
I am trying to create a power app for my business to help my accountmanagers. The goal of the app is to fill in orders when they are at a customer and then sent the purchase order of the customer.
 
Power app description - See attached images
I have created a power app with a vertical gallery that includes all the items I need to have them fill out namely:
  • Verkoper (accountmanager) - dropdownmenu - I made a list in sharepoint "verkopers" with the different sales accountmanagers and connected it to this dropdownmenu.
  • Datum Bestelling (order date) - date
  • Klant (customer) - combobox - I made a customer list in sharepoint with all the clients and their corresponding clients details and connected it to this combo box.
  • Aantal (amount) - text
  • Stier (product) - combobox - I made a product list in sharepoint with all the products and their corresponding product details and connected it to this combobox.
  • sexed (type) - checkbox
  • prijs (price) - text
  • korting (discount) - text
  • kortingspercentage (discount %) - text
When they press, add row, they can enter multiple orders at the same time if they would have to. The clear button deletes all the rows so they could process a new order of a different customer. I also included a save button so when they press this, the information in the different fields is transferred to a list named "bestellingen" (orders) in sharepoint. Unfortunately I cannot get the save button to work and transfer everything I enter in my fields to the "bestellingen" list in sharepoint. The code of the save button for onselect is:
 
Patch(Bestellingen;
{
Verkoper: GalleryVerkoper.Selected.value;
'Datum Bestelling': GalleryDatum.SelectedDate;
Klant:GalleryKlant.selected.result;
'Aantal Rieten': Value(GalleryAantal.Text);
Stier: GalleryStier.Selected.result;
XX: GallerySexed.Value;
Prijs: Value(GalleryPrijs.Text);
'Rieten korting': Value(GalleryKorting.Text);
'% Korting': Value(GalleryPercentage.Text)
}
)
 
I attached various screenshots what I see in power apps and sharepoint. 
 
Your help would be much appreciated.
 
Thank you.
 
  • CA1105 Profile Picture
    367 on 14 Feb 2025 at 05:47:12
    Save information in gallery to Sharepoint list with Power Apps
     
    Are you having multiple galleris in your app? because I can see many names like GalleryVerkoper, GalleryDatum and so on..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Error Handling

#1
stampcoin Profile Picture

stampcoin 86

#2
DS-11051211-0 Profile Picture

DS-11051211-0 20

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 9

Overall leaderboard

Featured topics

Loading started