World Clock Widget - How do add other locations to be displayed in a dashboard?

jesusemelendezm
Mega Guru

How do add other locations to be displayed in a dashboard?

2 REPLIES 2

jesusemelendezm
Mega Guru

-


ChrisBurks
Mega Sage

If you just want to add more clocks to the out-of-box widget displaying other locations then you can simply modify the UI Page labeled example_cool_clock.


System UI > UI pages > example_cool_clock



Once open, just copy one of the table td lines and replace the canvas id with the corresponding sequenced number. Then add the CoolClock class with the corresponding clock type and timezone differential. If you need help with what type of clock and options then you would need to look in the UI Script named "CoolClock".


System UI > UI Scripts > CoolClock



If you want to make a whole new widget with different locations then I would make a copy of the example_cool_clock UI page and name it something different. Then change all of the locations by supplying the correct timezone differential and of course supply the correct location names found directly after the canvas element.


Then you'll need to make a copy of the widget named "World Clocks" and give it a new name. Within that widget point it to the UI page you just made by replacing the line containing "example_cool_clock".


System UI > Widgets > World Clocks



Let me know if you have more questions or if that answered your question.


Thanks