cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
JHS2020 Resolver I
Resolver I

Display submitted item in "thanks for submission"

Hey!

So I have this form, where my employees can order new hardware - When they have submitted the form, I have a screen saying think you for your submission, and then I would like to display the item they just submitted.

I have tried the display form, but it does not work? 
screen.JPGscreen2.JPG

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: Display submitted item in "thanks for submission"

Hi @JHS2020 ,

 

@mdevaney's workaround does work for the standalone canvas app.

In order to make it also work for the PowerApps custom form for SharePoint, please remove the 'ResetForm(SharePointForm1); RequestHide()' code in OnSuccess property of SharePointForm1.

The ResetForm function resets the LastSubmit property of form, so the 'SharePointForm1.LastSubmit.ID' returns blank, which leads to the issue you are facing.

Hope this helps.

Sik

View solution in original post

7 REPLIES 7
Anonymous
Not applicable

Re: Display submitted item in "thanks for submission"

Hi @JHS2020 ,

 

You can use a display form to display the last submitted item of your other form by using LastSubmit in the Item property of the display form ie:

 

 

SharePointForm1.LastSubmit

 

 

 

Super User
Super User

Re: Display submitted item in "thanks for submission"

@JHS2020 

Do you want to display the last item submitted inside of a different form?

 

Set the datasource of your new form to

your_datasource_name

 

Then make the Item proerty this

LookUp(your_datasource_name, ID=SharePointForm1.LastSubmit.ID)

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

eka24 Community Champion
Community Champion

Re: Display submitted item in "thanks for submission"

kindly show the formula for the message. I also is it one field that you want to add to the message?

JHS2020 Resolver I
Resolver I

Re: Display submitted item in "thanks for submission"

It does not really work. It just say getting data? :S 

eka24 Community Champion
Community Champion

Re: Display submitted item in "thanks for submission"

Please I said give a screenshot of the formula that gives the message so that further work can be done to include the field you want

JHS2020 Resolver I
Resolver I

Re: Display submitted item in "thanks for submission"

screen.JPG

Community Support
Community Support

Re: Display submitted item in "thanks for submission"

Hi @JHS2020 ,

 

@mdevaney's workaround does work for the standalone canvas app.

In order to make it also work for the PowerApps custom form for SharePoint, please remove the 'ResetForm(SharePointForm1); RequestHide()' code in OnSuccess property of SharePointForm1.

The ResetForm function resets the LastSubmit property of form, so the 'SharePointForm1.LastSubmit.ID' returns blank, which leads to the issue you are facing.

Hope this helps.

Sik

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Top Solution Authors
Top Kudoed Authors
Users online (8,185)