How to Add CSS that Users Can Toggle On/Off for Their Environment?
Greetings,
I am trying to let users have some choices on how their want their Decisions environment to look. For example, I currently want users to have an action that alters the theme of their forms to be one of three options: Light, Dark, and Groovy modes.
I understand how to dynamically apply CSS to forms, and I can pass-in the appropriate CSS files for each user's choice to show the forms in their selected theme. However, I am unsure how to do this for an entire Decisions environment. How would I go about doing this?
Comments
-
Hello!
There is no way to dynamically change the Decisions portal theme. However, you can add a user action to the user's landing dashboard, which will redirect the user to an identical dashboard with a different CSS applied to the page. You would be creating three separate dashboards, all of which behave the same but have a different CSS file applied.
Documentation for creating user actions for dashbaords:
https://documentation.decisions.com/docs/adding-user-actions-with-the-action-bars-component
-Gregory
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions