cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper II
Helper II

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
Highlighted
Helper II
Helper II

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

8 REPLIES 8
Highlighted
Helper II
Helper II

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

Highlighted
Helper III
Helper III

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 

Highlighted
Helper III
Helper III

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 

Highlighted
Helper II
Helper II

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.

Highlighted
Helper III
Helper III

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 ?

Highlighted
Helper II
Helper II

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

Highlighted
Regular Visitor

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

I am trying to get the sharepoint ID after successfully patching the data from multiple forms into sharepoint list. At the moment, after I click on the submit button, the information is compiled in SP and the user navigates to a confirmation page. I want the ID to be displayed in the confirmation page for record keeping.

Can anyone help with this?

Highlighted
Community Champion
Community Champion

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

Hi @Syasini ,

Not sure why you posted on this old thread - you were lucky someone found it.

You need the LastSubmit() function.

YourFormName.LastSubmit.ID

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,052)