cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Daemagor
Level: Powered On

Retrieve Sharepoint list ID on Confirmation page after form submit

Hey all!

 

I am looking to retrieve the SharePoint List Item ID when I hit submit on a form in PowerApps.

 

For example: I click on create a ticket. A new screen will show and I will enter in my ticket's details. When I click on my button to submit my form, onSuccess, the page will navigate to a confirmation page. Here is where I would like to display the ticket ID to the user. 

 

Is there any way to do this? Does SharePoint have a response back stating that the form that has XYZ in the form was created and has a List ID of ____?

1 ACCEPTED SOLUTION

Accepted Solutions
Daemagor
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

I was able to get the ID by using the following:

 

 

EditForm1.LastSubmit.ID

 

View solution in original post

6 REPLIES 6
Daemagor
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

I was able to get the ID by using the following:

 

 

EditForm1.LastSubmit.ID

 

View solution in original post

azzamkaz
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

on the confirmation screen what item should i put ?? 

 

form, text input or what ???

 

 need help

 

hope response ASAP thank you 

azzamkaz
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

on the confirmation screen what item should i put ?? 

 

form, text input or what ???

 

 need help

 

hope response ASAP thank you 

Daemagor
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

@azzamkaz,

 

Depends on what you are trying to do with it. If you just displaying it to the screen, then you would use text.

azzamkaz
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

@Daemagor

 

you mean "Label" ??

what code should I put on label to show the selected data ?

Daemagor
Level: Powered On

Re: Retrieve Sharepoint list ID on Confirmation page after form submit

@azzamkaz,

 

you mean "Label" ??

Yes, I am talking about using a Label

 

what code should I put on label to show the selected data ? 

- What do you mean "what code"? If you want to show something from the selected data on a confirmation page, you will need to display it to the user when they get to that page. You need to use LastSubmit to achieve that

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 200 members 5,302 guests
Please welcome our newest community members: