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 / When user pushes butto...
Power Apps
Unanswered

When user pushes button, create a line in a SHP list with values from current EditForm?

(0) ShareShare
ReportReport
Posted on by 2

Hello! I'm slowly learning how to use PowerApps and this one is a challenge for me... 

 

I created an in-house video player for my employer. When the user opens the item from a gallery, he is showed a screen with a form containing all the details from the video (duration, description, title), along with a button to get a certificate when he has watched the video. 

 

I am working with 2 SHP lists/libraries: one with the videos ("Videos"), and a list where a line is added everytime a user watches a video, stating their email address, the title of the video, its duration and today's date. This information needs to be pulled from the "Videos" library. I then use this SHP list for different PowerAutomate flows (like sending an email to the user).

 

I need help with the Collect or Patch function for the button. What would be the proper way to get the data from the video in the Form, and create a new line in another SHP list with data from the video in different fields? 

 

Thank you for the help 🙂

 

Categories:
  • turnerj3 Profile Picture
    2,039 on at

    Patch(yourlist, Defaults(yourlist),{Title:yourgallery.selected.titlecolumn,Yourlistemailcolumn:User().email,Yourlistdurationcolumn:yourgallery.selected.duration, etc,etc})

  • VDrolet Profile Picture
    2 on at

    THANK YOU SO MUCH!

     

    It worked with some tweaking (exemple: changing my Edge display language from French to English somehow got rid of errors detected in the function). 

  • turnerj3 Profile Picture
    2,039 on at

    No problem! Yeah, I've noticed that French users usually use semicolons instead of commas. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 405 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 368

#3
WarrenBelz Profile Picture

WarrenBelz 244 Most Valuable Professional

Last 30 days Overall leaderboard