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 / Create Ticket Number b...
Power Apps
Unanswered

Create Ticket Number based on Data on SharePoint

(0) ShareShare
ReportReport
Posted on by 6

Hi there.. I'm a total newbie when it comes to using Power Apps. I attempt to develop a ticketing system using SharePoint and Power Apps. After that, Power Automate generates the ticket number. However, the issue is that the Ticket Number has just started to appear on my Power Apps UI when I enter new data from my Power Apps form. What happens if you want it to show up alongside objects in Power Apps at the same time? 

review formreview formpopup if the ticket sucessfully submittedpopup if the ticket sucessfully submittedcode in submit buttoncode in submit buttonmy sharepointmy sharepointmy power automatemy power automate

Categories:
I have the same question (0)
  • Verified answer
    Cat Schneider Profile Picture
    488 Most Valuable Professional on at

    You should be able to capture the values generated in SharePoint within a context variable and then output the ticket value in the success screen you are showing in your app, without the need to use a Power Automate Flow.

    If the field is auto-generating, you can use the LastSubmit() property of the Form to capture that autogenerated value. This post (Solved: Quick question - LastSubmit() - Power Platform Community (microsoft.com)) from a while ago, talks about it some.

    Basically, in the OnSuccess property of the form control, you can use the following:

    UpdateContext({varTicketNumber: Self.LastSubmit.'Nomor Tiket'})

     

    Then use the varTicketNumber value to display in the Ticket Number field here:

    CatSchneider_0-1716350806796.png


    If you need the flow to run in order to generate the ticket number, then you can store the ID of the record in your context variable, then use a LookUp() function on your list to lookup the ticket number field from SharePoint using the ID value to attempt to capture the value dynamically.

    Let me know if that helps! 

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
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard