web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Copy existing items an...
Power Apps
Unanswered

Copy existing items and submit as a new item in power apps gallery and forms

(1) ShareShare
ReportReport
Posted on by

Hello all Power Apps experts,

 

Here I have a new problem.

My homepage in Power Apps is a gallery data table with items information and there's a bottom called copy this item.

Yiqian_0-1719810562317.png

 

Yiqian_2-1719810602515.png

 

With clicking this bottom, I hope the user could skip to a new screen with the item he chose. In this new screen, he can change any information he wants to change and by clicking the submit bottom, he will skip to successful screen and a new item will be created in the gallery data table.

 

Yiqian_3-1719810759875.png

 

So for the "copy this item" bottom in p2, I just use the function navigate in on select session.
For the "submit" bottom in p3, I use the function in on select

Patch(Sharepoint data source, Defaults(Sharepoint data source),FormCopy.Updates);
SubmitForm(FormCopy);
Navigate(ScreenSuccess));
 
However, it could not jump to the success screen and could not submit at all.
 
Anything wrong with my function or is there any advice?
 
Thanks!
 
Regards,
Yiqian

 

 

Categories:
I have the same question (0)
  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @Yiqian ,

     

    The formula looks fine , is there any error message?

    In addition, if you just want to copy an item , there is no need to submit the form , you could try:

     

    Patch(Sharepoint data source, Defaults(Sharepoint data source),FormCopy.Updates);
    ResetForm(FormCopy);
    Navigate(ScreenSuccess);

     

     

    Best Regards,
    Bof

  • YC-24070300-0 Profile Picture
    on at

    Hi Bof,

     

    Thanks for your advice. I have amended my function and it works quite well now. Amazing!

    For my question, I also found the problem is that I also used the if function in "submit" bottom's on select part to remind the user fill in all fields but the last bracket is in the wrong place. 

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard