cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
lcrossling
Level: Powered On

Edit form control over submitting new item

Hi all,

 

I have a situation where I would like someone to be able to edit a item (KPI) normally like a usual edit form. However, I need a new item to be created when the date is editted (Or maybe another button saying submit as new?). This will enable to track how the RAG/Score changes over time.

(This is to make it easier for the user rather than typing out the whole thing again for the following month as you would have to with new form)

 

Any ideas?

 

P.S I'm not very advanced with Power Pivot yet.

1 ACCEPTED SOLUTION

Accepted Solutions
Dual Super User
Dual Super User

Re: Edit form control over submitting new item

Hi @lcrossling 

 

You would have to use the Patch function on EditForm OnSuccess property

 

You can set a variable if Datefield is changed - you can use OnChange property to set the variable

 

And then in OnSuccess of editform

use if(varchanged, then Patch - new item

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Dual Super User
Dual Super User

Re: Edit form control over submitting new item

Hi @lcrossling 

 

You would have to use the Patch function on EditForm OnSuccess property

 

You can set a variable if Datefield is changed - you can use OnChange property to set the variable

 

And then in OnSuccess of editform

use if(varchanged, then Patch - new item

 

Regards,

Reza Dorrani

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (5,338)