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

 

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

 

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

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (18,959)