web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Patch Table to Sharepoint
Power Apps
Answered

Patch Table to Sharepoint

(0) ShareShare
ReportReport
Posted on by 539

Hello, i am struggling to find a solution to this.

I have a Custom table inside my Powerapp. it is used for a Hardware Request where i want to be able to Request hardware. e.g 5 Laptops and 10 monitors.

My Table looks like this:

niklasjegg_0-1651219526286.png

the formula to add and remove items works fine: 

If(
 HardwareSelection.Selected.Value = "" || Value(HardwareCount.Text) <=0,
 Notify("Please select the type of Hardware and enter a valid Number!",Error),

Collect(Hardware,
 {
 HWID: CountRows(Hardware)+1,
 HWType: HardwareSelection.Selected.Value,
 HWCount: HardwareCount.Text
 });
Reset(HardwareCount);
Reset(HardwareSelection);
)


Now i want to Patch the Table with a mix amount of 10 items to Sharepoint.

How can i achieve this without creating a single column for each table item? is there a way?

Thank you and BR Niklas

 

Categories:
  • kylzbaba Profile Picture
    182 on at

    If I understand you correctly, you want to patch all the 10 items into one record in SharePoint. 

    So for instance request column will have

     

    Laptop standard,10; Keyboard,5; Mouse,16;

     

    Is this it ?

  • niklasjegg Profile Picture
    539 on at

    yes i would like to do that 🙂

  • Verified answer
    kylzbaba Profile Picture
    182 on at
    Spoiler (Highlight to read)
    This should helphttps://powerusers.microsoft.com/t5/Building-Power-Apps/Combine-rows-in-collection-separated-by-commas-so-that-Patch/td-p/163877
  • niklasjegg Profile Picture
    539 on at

    thanks this is also a way to do it you are right.

    i have found something on the weekend that also works for me

    If(
     IsEmpty(Hardware),
     Notify("Please select at least one item to request!",Error),
    
    Patch('IT-Request',Defaults('IT-Request'),
     {
     'Request-Type': "Hardware-Request",
     Devices: Concat(Hardware,HWCount & " " & HWType & Char(10)),
     Status: "Started"
     });
    Clear(Hardware);
    )
  • kylzbaba Profile Picture
    182 on at

    This makes sense as well. Very nice.

  • niklasjegg Profile Picture
    539 on at

    yes and in further steps i am generating a table in flow out of these inputs. works like a charm 🙂

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 393 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 278 Most Valuable Professional

Last 30 days Overall leaderboard