Forum Discussion

CDavidOrr's avatar
CDavidOrr
Cloud Apps
03-09-2023
Solved

Accessing Color Palette from Script

Does anyone know if you can access the color pallet that a dashboard is using from a widget's script?

I am adding some color to some of the cells in a pivot.  I'd like to use the first color in the current color palette so that if the color palette changes, this pivot will change also.  I currently have the color hard coded but would like to make it dynamic.

Thanks.