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 / Autofill previously su...
Power Apps
Unanswered

Autofill previously submitted data

(0) ShareShare
ReportReport
Posted on by 16
Categories:
I have the same question (0)
  • Silvester. Akakpo Profile Picture
    783 on at

    Hello @charliekg ,
    Kindly put the information in a collection and you can use them again.

    ClearCollect(VisitorCol,{Full name: Fullname.text Sponsor:Sponsor.Text , Citizenshipstatus: CitizenshipStatus, company: Company})

    Then you can use your collection to reference the fields in your next screen.
    Please accept as a solution if it works for you

  • charliekg Profile Picture
    16 on at

    That doesn't exactly help as the data needs to be submitted to the sharepoint list. 

  • Silvester. Akakpo Profile Picture
    783 on at

    You are still submitting to the sharepoint list, but you add this code to it the "submit" code. There is still another way of doing it but this look simple.
    The idea is that, after the data is saved to Sharepoint, the data is still available in a collection to be used in another screen until you submit another record. Hope you get me now?
    You can drop your submit code here, let me rewrite it for you.

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @charliekg 

    In the OnSuccess, before your navigation, Set(varRecord, Self.LastSubmit) 

    Then in your next screen you can refer to VarRecord.Company, varRecord.Sponsor, etc to get the data.

  • charliekg Profile Picture
    16 on at

    On the next screen, should it be a view form? or a label 

  • charliekg Profile Picture
    16 on at

    Where do I put the VarRecord.?

  • charliekg Profile Picture
    16 on at

    charliekg_0-1656430365915.pngcharliekg_1-1656430391658.png

    charliekg_0-1656430469316.png

     

  • Silvester. Akakpo Profile Picture
    783 on at

    The VarRecord should be in the Item property of the ViewForm

  • charliekg Profile Picture
    16 on at

    @Silvester Nothing happens..

  • Silvester. Akakpo Profile Picture
    783 on at

    Then you need to reference each field in the ViewForm individually;
    FullName: VarRecord.FullName
    CitizenShip:VarRecord.CitizenShip.value, etc...
     This should work

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard