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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Make component dynamic
Power Apps
Unanswered

Make component dynamic

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a component and this is what's in the active step: Table({Id:1, Label:"Submitted",Visible:true}, {Id:2, Label:"M Review",Visible:true}, {Id:3, Label:"BReview",Visible:true}, {Id:4, Label:"Entry",Visible:true}, {Id:5, Label:"Voted",Visible:true}, {Id:6, Label:"Release",Visible:true}, {Id:7, Label:"Blocked/On Hold",Visible:true}, {Id:8, Label:"Cancelled",Visible:true}). Each new screen has active step 1-7. My question is is there a way to change the active step based on a button. So I would want specifically a form screen to change based on what step its on. The way it would get the information is either from a combobox or a button being pushed. Is this possible.

Categories:
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    I have some ideas for you, but could you expand on your scenario a little bit further?  I want to make sure I understand you completely. 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Yes, so I have a form and inside the form there is a dropdown called M&S review and BRM review. So if the dropwdown chosen is M&S review I want the bar at the top to jump to M&S Review. The way it works is when the form is submitted it immediately goes into M&S review so when they click that specific item from the gallery I want the bar to have the check next to M&S Review. Then when BRM is chosen I want the forms bar to bump up to BRM Review. Then when an input is put in another datacard called HPQC I want the bar to bump up again. So that is how I want it to work logically. The trouble I am having is that you can only have one active step on the form unless there is a way to do an if statement using if the datacard values are empty or not. @RandyHayes 

    Capture.PNG
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    That is actually a bit different than I was imagining.  So, thanks for clarifying. 

     

    What I would do is to set an Input property on the Component called Step (numeric)

    Set that property in your screen to be the step that you are on.

    Then in your component, for the circles change their color based on the input property value.

    ex.  If(yourComponent.Step >= ThisItem.Id, yourCurrentFillColor, yourNotCurrentFillColor)

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 395 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 260 Most Valuable Professional

Last 30 days Overall leaderboard