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.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 706 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions