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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (68,289)