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

Update SharePointlist (Patching not working)

Hey Guys,

 

I'm playing with the "Service desk template" and I changed the data source to SharePoint. I created SP list by using the app from SharePoint and the excel data source template from the PowerApps template "Service Desk". So my SP list look the same like the excel tables from the template.

 

But right now I have the a problem with the page "Creatingnewticketpage". My button is not working :/

First they used the collect function but I`ve read that for updating a SharePoint data source you need to use the Patch function.

 

This is how my OnSelect code looks like:

If(Value13.Text="",
    UpdateContext({msg_visible:false});UpdateContext({msg_visible:true}),
   Patch(Tickets, Defaults(Tickets), {Owner:Value13,AccountNameSmiley Very Happyropdown5.Selected.Title,PrioritySmiley Very Happyropdown4.Selected.Title,SubjectSmiley Frustratedubject.Text,DescriptionSmiley Very Happyescription.Text,Status:"New", DateCreated:Text(Today())}); 

Navigate(DashboardPage, ScreenTransition.None))

And PowerApps give me this Issue:

bug1.PNG

 

I am totally frustrated because I've tried it a lot with collect and it drove me crazy and then I thought patch is working but apparently it is not. Would you please enlighten me? I assume that I am just missing a minor aspect. I would highly appreciate it.

 

BR

Pitfrog

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Pitfrog1
Level: Powered On

Re: Update SharePointlist (Patching not working)

i am so stupid. solved it by myself Smiley Very Happy

pls close

1 REPLY 1
Highlighted
Pitfrog1
Level: Powered On

Re: Update SharePointlist (Patching not working)

i am so stupid. solved it by myself Smiley Very Happy

pls close

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

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

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 237 members 5,038 guests
Please welcome our newest community members: