Hello,
I came across this article while I was searching how to create custom themes in my app and while everything about it is great, I can't get the default properties to override. I figured the different controls I have already added in my app already would have to be manually changed, but when I add new items, the properties are still on the PowerApps defaults. I could be misunderstanding the article, but it made it seem like when you set defaults of a specific control (button and combo box were the examples) in the "OnStart" function, any new control added would have the values I specified.
I guess my question is this: How can I override the default properties of a newly added item to my app without having to manually change every single property?
Hi @espenjor,
I've also come across that article and it can be quite deceiving. It references Portals (or Websites) and not Canvas Apps, these can simply be found under the "Apps" tab in the PowerApps Maker portal.
I would like to amend my statement above, however, as Microsoft has introduced Modern controls. With these modern controls come Modern themes. These are much simpler to apply but sadly don't offer too much customization. They are however easy to use. See the following article for more information: Modern theming - Power Apps | Microsoft Learn.
Make sure to read the section about prerequisites as well: Modern theming (prerequisites) - Power Apps | Microsoft Learn.
There are also options when it comes to Model Driven Apps for theming:
Hope this helps,
//Clue
I see in this article (https://learn.microsoft.com/en-us/power-apps/maker/portals/theme-overview) that it should be possible to add a new theme from the portal, but I do not have this option. Is this a region or preview thing ?
Thanks for any comments and reply!
Hi,
There is currently no real option to create Themes within Canvas Apps. At least not integrated. What the person you referenced is doing is creating objects that contain information about colors that they themselves picked. They then use these variables and objects to retrieve the colors within items.
Basically, they are creating "global variables" which they then use across the app.
Hopefully, there will be a more integrated way to create themes soon.
I'm not sure this actually works for Canvas Apps but you can create themes that can be used on a more general level. See this: Change the color scheme or add a logo to match your brand (contains video) - Power Apps | Microsoft Learn
WarrenBelz
48
Most Valuable Professional
mmbr1606
41
Super User 2025 Season 1
MS.Ragavendar
36