cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

When opening NEW form, sometimes some fields are already populated with OLD data?

This is an odd issue. I have a Sharepoint PowerApps form.

 

Sometimes when I click "NEW" the form will have old data and attachments from a previous entry, like it's ghosting? Sometimes it clears itself after a second, sometimes it doesn't. How to fix this ghosting.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

Hi @cchan000 ,

Usually, the order will not lead to this problem.

Maybe your form's other settings lead to must using this order.

I think the most important thing is using NewForm fucntion, not EditForm function.

I've very glad that you've solved your problem.

If you do not have other problems, could you mark my solution as answer?

Thanks!

 

 

Best regards,

Community Support Team _ Phoebe Liu
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

6 REPLIES 6
Highlighted
Dual Super User
Dual Super User

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

Hi @cchan000 

 

In the sharepoint integration connection, for onedit, onnew and onview - try reset(formcontol)

 

Regards,

Reza Dorrani

 

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

Highlighted
Helper V
Helper V

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

i actually have it as the below because it wasn't refreshing. can i combine what you gave me with the below?

 

Refresh('DATASOURCENAME');EditForm(SharePointForm1)

Highlighted
Helper V
Helper V

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

hi. i get formula errors when using it. see below.

 

a.png

Highlighted
Community Support
Community Support

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

Hi @cchan000 ,

What formula that you use lead to this error?

What's more, I've noticed that you want to use newform, why did you use edit form?

If you want to open a new form, you should use this formula:

NewForm(Formname)

 

If you want to combine them you could try to set the app's OnNew:

Refresh('DATASOURCENAME');NewForm(SharePointForm1);Reset(control1);Reset(control2);.....

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper V
Helper V

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

hi! thanks for the reply.

 

i ended up using this and it seemed to work. does it matter in what ORDER i list the refresh and newform?

 

it seems to work if i put newform first before refresh.

 

NewForm(SharePointForm1);Refresh('X1 InGrid Request Form')

Highlighted
Community Support
Community Support

Re: When opening NEW form, sometimes some fields are already populated with OLD data?

Hi @cchan000 ,

Usually, the order will not lead to this problem.

Maybe your form's other settings lead to must using this order.

I think the most important thing is using NewForm fucntion, not EditForm function.

I've very glad that you've solved your problem.

If you do not have other problems, could you mark my solution as answer?

Thanks!

 

 

Best regards,

Community Support Team _ Phoebe Liu
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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (8,090)