cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jamesfisher
Frequent Visitor

Select Gallery item from SharePoint List and create a new record in a different SharePoint List

Hello!

 

How do I go about taking a selected item from Gallery (1) that displays a preview in Form (2) into a totally different SharePoint List as a new item when clicking the 'Next' button? 

 

 

jamesfisher_0-1663072918430.png

 

1 REPLY 1
Drrickryp
Super User
Super User

@jamesfisher 

For the Next button OnSelect:

With({sel:Gallery1.Selected},
  Patch(splist2,Defaults(splist2),{col1:sel.col1, col2:sel.col2, etc.})

replace col1 etc with the appropriate column names in list 1 and 2

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,240)