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 / Displaying current for...
Power Apps
Unanswered

Displaying current form name

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I am currently building out a power app that consists of a single screen that has multiple forms on it. The user is able to change from one form to another via buttons. I am trying to format a Current Step field that returns the name of the form the user is currently on. I am familiar with the App.ActiveScreen.Name function, but I am wondering if there is a similar function to display the name of a form that is on the screen. 

 

If not, if there is a workaround or a variable I can create that would be helpful as well. 

 

Thank you in advance!

Categories:
I have the same question (0)
  • SoPatt Profile Picture
    Microsoft Employee on at

    I would just set a variable in the submit of each form, specifying the text of the next step.

  • NuePowerPlat01 Profile Picture
    2 on at

    Thank you @sopatte  for your reply, could you be a little more specific or provide an example? 

  • SoPatt Profile Picture
    Microsoft Employee on at

    It's hard to get specific when you haven't been very specific about your scenario. However, perhaps you have a ButtonA.Select like below at the completion of Step A:

    Set(CurrentStep,"Step B");
    Patch(DataStore,CurrentStepRecord,{Title="CurrentStep",Data=CurrentStep});

    Perhaps in your OnStart you set up CurrentStepRecord like so:

    Set(CurrentStepRecord,
     Coalesce(
     Lookup(DataStore,
     Title="CurrentStep",
     'Created By'.Email = User().Email
     ),
     Patch(DataStore,
     Defaults(DataStore),
     {Title:"CurrentStep",Value="Step A"} // first step as a default
     )
     )
    )
     

    Something like that anyway.

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 759 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard