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.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

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 (3,032)