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.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions