cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
powerapps890
Post Prodigy
Post Prodigy

Keep data card information upon saving

Is there a way to pull submitted attachments and comments? I have a flow that submits a form called formData to a list called ListData that has columns Title, Description and Attachments. I have a gallery and when you click in each item it takes you into that items respective form. Is there a way I could use a lookup value so the attachment and description will stick and not clear once I hit the save button which sends the form to the list ListData.

1 ACCEPTED SOLUTION

Accepted Solutions
v-qiaqi-msft
Community Support
Community Support

Hi@powerapps890

Based on the issue that you mentioned, do you want to keep the form populated with the previously submitted data?

Could you please share a bit more about your scenario, how you set the DefaultMode property of the form?

Actually, whether the form keeps the submitted data or not depends on the DefaultMode property of the form.

The DefaultMode property of your form is set to FormMode.Edit by default. If you do not change your form mode to New Form (FormMode.New), the form would be used to update a record rather than create a new record. 

If you set the DefaultMode property of your form as FormMode.Edit, you can try the following workaround.

Set the OnSuccess property of your form to the following:

 

Set(SubmittedData, Form1.LastSubmit);
NewForm(Form1)  

 

Set the Items property of your form  to the following:

 

SubmittedData

 

Best Regards,

Qi

 

Best Regards,
Qi

View solution in original post

1 REPLY 1
v-qiaqi-msft
Community Support
Community Support

Hi@powerapps890

Based on the issue that you mentioned, do you want to keep the form populated with the previously submitted data?

Could you please share a bit more about your scenario, how you set the DefaultMode property of the form?

Actually, whether the form keeps the submitted data or not depends on the DefaultMode property of the form.

The DefaultMode property of your form is set to FormMode.Edit by default. If you do not change your form mode to New Form (FormMode.New), the form would be used to update a record rather than create a new record. 

If you set the DefaultMode property of your form as FormMode.Edit, you can try the following workaround.

Set the OnSuccess property of your form to the following:

 

Set(SubmittedData, Form1.LastSubmit);
NewForm(Form1)  

 

Set the Items property of your form  to the following:

 

SubmittedData

 

Best Regards,

Qi

 

Best Regards,
Qi

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,886)