cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KimberlyM
Level 8

Re: Patching to 2nd SharePoint List

What I am finding is it is just replacing the first item it finds with the ID number that is loaded so in this case ID number 54. It is not creating a row item.

Highlighted
cds
Level 8

Re: Patching to 2nd SharePoint List

Patch(Datasource, Defaults(Datasource), {updates})

 

Defaults() will create a new item in list

View solution in original post

KimberlyM
Level 8

Re: Patching to 2nd SharePoint List

@cds Thank you for working through this with me. With everything we discussed and your amazing help and patience (Thank you is not enough!), I have it working! 

Patch(Lead_History, Defaults(Lead_History), {Title: "", Note: txt_HistoryDetail.Text, HistoryDate: Text( Now(), "[$-en-US]mm/dd/yyyy hh:mm:ss"), LeadID: Gallery_Dashboard.Selected.ID});

The key I was missing was to have the {updates} area also post the LeadID. 
So thank you again!

cds
Level 8

Re: Patching to 2nd SharePoint List

vera nice 👌 glad I could help

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,050)