Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

How to store partially data entered by users

(0) ShareShare
ReportReport
Posted on by 59

Hi, I need to automate a excel form that has about 35 questions using PowerApps, users don't answer all the questions at once, they could answer 5 today, 5 tomorrow and so on,

 

I created a SharePoint list (SP list) to store the data entered by users through PowerApps, when they start the process (submitForm in PowerApps), a new item is created a SP list, but I don't need to create new items when tomorrow they continue and answer another 5 questions, I just need to take the same item in my SP list and fill it with those additional answers.

 

When I submit a form in PowerApps, they create a new item in SP every time but this is not the desired behavior,

 

How can I enable users to continue filling the form they already started until they have it completed without creating new items in SP?

 

Any ideas would be highly appreciated,

 

Thanks and regards

 

 

  • PowerRanger Profile Picture
    PowerRanger 3,458 on at
    Re: How to store partially data entered by users

    @JohanSmith-07 you would do the same on every screen. Use the lookup() function to retrieve the item from sharepoint.

     

     

  • JohanSmith-07 Profile Picture
    JohanSmith-07 59 on at
    Re: How to store partially data entered by users

    Thank you @PowerRanger I will try it, it sounds about the right approach, any suggestion related to the fact that I will have my questions in about 6-8 screens, so I will need to retrieve data from SP list to 6-8 forms to show only some questions per screen?

  • Verified answer
    PowerRanger Profile Picture
    PowerRanger 3,458 on at
    Re: How to store partially data entered by users

    @JohanSmith-07 so basically you want to edit an existing item. To do so you need to get the item from SharePoint. Use the Lookup() function in the items property of your Form.

     

    E.g. Lookup(datasource,columnEmail = User().Email)

     

    This Formular would receive the item from SharePoint where the value of the column columnEmail equals the email of the current logged in user.

     

    In addition you have to put your Form in Edit Mode

     

    EditForm(formName)

     

    Your Form will display the item and you can edit it. SubmitForm() will now update your item in Sharepoint and does not create a new one.

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard