web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard