Skip to main content

Notifications

Community site session details

Community site session details

Session Id : FRx+ET2OcbJFfYqDu7FA5P
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
    356 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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

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

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Error Handling

#1
stampcoin Profile Picture

stampcoin 4

#2
elliew Profile Picture

elliew 2

#2
Ajlan Profile Picture

Ajlan 2

Overall leaderboard

Featured topics

Loading started