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 / Form not retaining data
Power Apps
Unanswered

Form not retaining data

(0) ShareShare
ReportReport
Posted on by 143

I have an app that creates a form and adds pictures. Once you fill in the form, at the bottom you click a button to be taken the camera screen. Here you take pictures and when you are finished you click a button that says done. When you click done, the pictures should be saved and you should be navigated to the previous page with all the information you entered still there. The problem is that it retains the pictures taken, but not the data that was previously inputted. Is there a way to do this?

Categories:
I have the same question (0)
  • ShanP Profile Picture
    143 on at

    EDIT:
    It's only doing this when I have taken pictures, If i dont take any pictures, the form retains all the data. My code for the "done" button is:

     

    If(NewRecord, Collect(PFCROSS, CameraPhotos); Back(ScreenTransition.Cover)

     

    Where PFCROSS is my excel table's name and CameraPhotos is the collection I am saving the pictures to.

  • ShanP Profile Picture
    143 on at

    Anyone have any ideas?

  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @ShanP,

     

    What is your current situation?

     

    Could you please explain a bit for the formula you used here? Further, it would be much helpful if you could share a screenshot of the form control.

     

    I just tested with the scenario you mentioned, and the Edit form control would just keep the entered value (with or without picture taken).

     

    Adding some reference:

    Edit form and Display form controls in PowerApps

     

    Regards,

    Michael

  • ShanP Profile Picture
    143 on at

    I have moved on with this and instead did not allow the done button to take me to the previous page, but to a new page. Would you be able to share your screenshots and code for how you got it working?

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 392 Most Valuable Professional

#2
11manish Profile Picture

11manish 181 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 112 Super User 2026 Season 2

Last 30 days Overall leaderboard