cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Salhd007
Microsoft
Microsoft

Form not resetting, data from floe not clearing for new forms

I have a PowerApp to upload an image to a SharePoint library then return the full path to PowerApp field called "Image link" using flow.

 

the issue is in "Image link" I have default value as DataFromFlow.ImageLink. 

 

Uploading image is not required field so when the next person fill out the app and submit, the old value (default) still exist because it sat as default. I have tried to reset form, clear data etc... but nothing seem to work.

 

I have also tried to set condition in "default" setting If(EditForm1.Mode = FormMode.edit, DataFromFlow.ImageLink) but nothing works.

 

Any advice please?

 

1 ACCEPTED SOLUTION

Accepted Solutions
Salhd007
Microsoft
Microsoft

Well, I guess I just needed to think out of the box. I solved this by creating a collection, then set OnSuccess for form to clear the the collection. now ever time new form is used nothing in link field as it is pulling value from the cleared collection.  

View solution in original post

2 REPLIES 2
Salhd007
Microsoft
Microsoft

Well, I guess I just needed to think out of the box. I solved this by creating a collection, then set OnSuccess for form to clear the the collection. now ever time new form is used nothing in link field as it is pulling value from the cleared collection.  

View solution in original post

Hi,

 

Thanks for your follow up post! I am glad that you were able to get this working. Hopefully this will prove useful for future communities users who are having similar issues.

 

Regards,

 

Alex

 

-------

 

Community Support Team _ Alex Rezac
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (89,618)