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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,522)