web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SharePoint id is not s...
Power Apps
Unanswered

SharePoint id is not showing on Power app form after the successful form submission.

(0) ShareShare
ReportReport
Posted on by 76

I am building the Power App forms, and on the success page i want to display the SharePoint created ID for the tool users. but SharePoint id is not showing on Power app form after the form submission. I am using the formula (Formname.lastsubmit.id) function see below screenshot. Could you please suggest any way around to achieve this please?

 

Kuma0002_0-1715782989072.png

 

Categories:
I have the same question (0)
  • Kuma0002 Profile Picture
    76 on at

    place the below syntax in the default property

    Last(Sort('User Information',ID)).ID

    user information is name of the list in sharepoint.

    Query: Should i create a field in sharepoint and name it "User Information"? or this is automatically a field in SP list.

  • UshaJyothiKasibhotla Profile Picture
    204 Moderator on at

    Hi @Kuma0002 

    Try the above solution and let me know if that works for you.

  • UshaJyothiKasibhotla Profile Picture
    204 Moderator on at

    1.Take a text input in the same screen which you want to display Id

    place the below syntax in the default property

    Last(Sort('User Information',ID)).ID

    user information is name of the list in sharepoint.

    after go to visible property of textinput and make it false.

     

    Write the text whatever is required 

    for example,

    "Your Generic email account creation request has been submitted successfully to the IT Support Team. Thank you! Reference No. " &TextInput2_1.Text

     

    here TextInput2_1 is the text input's name you have made invisible

     

    Please try it and let me know 

    It worked for me.

    Thanks,

    Usha.

     

  • Kuma0002 Profile Picture
    76 on at

     

    Hi Usha,

    take an input text box and put the below syntax in default >> Mention the Syntax here.

    then make visible property of the text box false >> Same above input text box?

    then add the textinput as shown below  with the sentence >> Should I add one more text input field?

    for example

    "Your Generic email account creation request has been submitted successfully Thank you!

    Reference No. " &TextInput2_1.Text >> i have used the formula ""Supplier add request form has been successfully submittedwith ID:" &MainForm.LastSubmit.ID"

  • UshaJyothiKasibhotla Profile Picture
    204 Moderator on at

    Hi @Kuma0002 

    Have you tried ? 

    It worked for me 

  • Kuma0002 Profile Picture
    76 on at

    @mmbr1606 Sorry but when i enter the timer start property to StartTimer , It shows an error message, it only accepts the True/False. can you advise please

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    so for the start try another thing

     

    set the start property of the timer to StartTimer

    in the onselect of the Button put this:

    UpdateContext({StartTimer: true});Navigate(SuccessScreen)
    

     

    ontimerend property set:

    UpdateContext({StartTimer: false}); Navigate(NextScreen, ScreenTransition.None)
    

    please be aware that you might modify the names of the screens to your needs

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Kuma0002 Profile Picture
    76 on at

    StartTimer function is showing incorrect, when I use Timer2 it seems correct. can you please send the correct formula?

    Also how much time do you prefer to have to retrieve the ID from the SharePoint list? 60000 okay?

    Kuma0002_0-1715856744345.png

     

  • UshaJyothiKasibhotla Profile Picture
    204 Moderator on at

    Hi @Kuma0002 

    Try this 

    take an input text box and put the below syntax in default

    then make visible property of the text box false

     

    then add the textinput as shown below  with the sentence

    for example

    "Your Generic email account creation request has been submitted successfully Thank you!

    Reference No. " &TextInput2_1.Text

     

    it worked for me and please let me know if any questions from your side

    Hope this helps

    Usha

  • mmbr1606 Profile Picture
    14,605 Super User 2025 Season 2 on at

    hey

     

    you do not really need the Ontimerstart property.

    And yes the code would be:

    SubmitForm(MainForm);StartTimer(Timer2)
    

     

    if your timer has another name just exchange it with the Timer2 name

     

    and yes you can set the visible property to false, so the endusers wont see the timer

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 403

#2
WarrenBelz Profile Picture

WarrenBelz 338 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 320 Super User 2025 Season 2

Last 30 days Overall leaderboard