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 / Set property of compon...
Power Apps
Answered

Set property of component on screen

(0) ShareShare
ReportReport
Posted on by 45

Hello,

 

I have built a component with the help of PowerApps Horizontal Progress Bar - YouTube

I am trying to set "ActiveStep" property using "OnSelect" function of a Icon as shown in picture below but its not working as expected. Can someone assist me with this pls?

 

nileshvk_0-1642698679779.png

 

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @nileshvk 

    What is the property on the component and what is the formula on it?

  • nileshvk Profile Picture
    45 on at

    Hello @RandyHayes ,

    Items property of the component is:

    Table({Id: 1, Label: "Asset", Visible: true},{Id: 2, Label: "Asset BreakDown1", Visible: true},
    {Id: 3, Label: "Asset BreakDown2", Visible: true},{Id: 4, Label: "Asset Role", Visible: true},{Id: 5, Label: "Asset Budget", Visible: true})

     

    I am using this component on screen to divide large input form.  I am trying to play another property "ActiveStep" of the component to change the input form. e.g. in screen shot provided earlier I want to move to a next screen i.e. "Asset Breakdown1" and so on.

  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @nileshvk 

    My question was more about what property on the component is it that you are trying to change?

    You cannot set a property of any control in PowerApps.  Your properties all have to derive their value from some place.

    So if you have a ActiveStep property on the Component, then you need to set a variable and have the Component ActiveStep property derive from it.

    So - Set(varActiveStep, 2)

    And then your ActiveStep property on the component would be: varActiveStep

  • nileshvk Profile Picture
    45 on at

    @RandyHayes , Got it. Thank you for assistance.

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

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 150 Super User 2026 Season 2

Last 30 days Overall leaderboard