Get Active User's Selected Theme?

Kyle Ketterer1
Giga Contributor

Hello all,

I was just wondering if there is a way to programmatically retrieve a user's current theme?

Long story short, I have implemented a UI script which extends the current capabilities of the UI14 CSS functionality. I would like to make specific changes to the *selected* theme.

I apologize if I missed this anywhere - I have searched the wiki, etc and I haven't been anything to find any useful info. I also looked through some DB tables related to user sessions and theme and didn't see anything in there relating to the end user.

Any ideas? Thanks

1 ACCEPTED SOLUTION

Nick105
Kilo Expert

Hi Kyle,



You can find this under User Preferences > glide.css.theme


The value will show the Sys_ID so you will then need to run a separate match against it.


View solution in original post

3 REPLIES 3

Nick105
Kilo Expert

Hi Kyle,



You can find this under User Preferences > glide.css.theme


The value will show the Sys_ID so you will then need to run a separate match against it.


Kyle Ketterer1
Giga Contributor

Thanks for the heads up, Nick. That's perfect


shvmp00
Tera Contributor

If like me you were looking for an answer but on 'Next Experience', here's the name of the property in the very same table: glide.ui.polaris.theme.variant