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

 

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

 

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 277 members 3,907 guests
Please welcome our newest community members: