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:
  • 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard