Skip to main content
Community site session details

Community site session details

Session Id : 4kB3hVVmn4xJOqDfvIxB7m
Power Apps - Building Power Apps
Unanswered

Create canvas app buttons on specific screen using excel data dynamically

Like (0) ShareShare
ReportReport
Posted on 17 Feb 2022 09:23:40 by 80

Hi Everyone,

 

I have one question that can we create a canvas app in which create buttons automatically by taking data from an excel file(like the data present in the column and rows) which makes the app dynamic. So that when we want to change or add more buttons, labels, or any other action on the screen, we can change/add on the excel and it will automatically be generated on power apps?

 

  • PowerRanger Profile Picture
    3,458 Super User 2024 Season 1 on 17 Feb 2022 at 09:34:05
    Re: Create canvas app buttons on specific screen using excel data dynamically

    @lisha Yes and no... 🙂

     

    No, you can't dynamically add a button to the canvas. You can hide or show existing buttons depending on conditions.

     

    Yes, you could add a Gallery to dynamically "create" buttons (actually rows in your Gallery). But in such a scenario you still have to pre-define what a button should do. As each button will follow the same logic you have to add the Logic to the OnSelect property and have a formular something like that

     

    Switch(
     ThisItem.method,
     "Method 1",
     Set(
     varBlaBla,
     "123"
     ),
     "Method 2",
     ClearCollect(
     colWhatEver,
     SampleList
     )
    )

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473