Where does Dynamics 365 Portals/ PowerApps portals store theme information when you change portal theme using PowerApps portal editor?

For training and consulting, write to us at info@xrmforyou.com

Recently I published a blog on the new preview feature for PowerApps portals where it allows you to change the portal theme from PowerApps portal editor. Check this here.

While I received quite a few queries on the same, one of the interesting questions I got is – “Where does Portals store the current theme that is selected? Can I change it without PowerApps portal editor?”

That left me puzzled a bit. Honestly I never thought on those lines.

question mark.jpg

Initially my hunch was Portals must be storing this internally. But somehow I kept the belief that like many other settings, this must also be a site setting which is maintained by the portal.

And finally it was there! The site setting name is “ThemeFeature”

image

To test it, I went ahead and changed the portal theme using PowerApps portal editor, the record is updated with the new “selectedThemeId”.

To me not a very useful information honestly but certainly better to know than not knowing it.

Hope this one helps!

Debajit Dutta

(Microsoft MVP)