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.