# Custom javascript in dashboard wisgets

**URL:** <https://discourse.openondemand.org/t/custom-javascript-in-dashboard-wisgets/3376>\
**Category:** Get Help\
**Created:** [March 25, 2024, 4:40pm UTC](https://discourse.openondemand.org/t/custom-javascript-in-dashboard-wisgets/3376 "2024-03-25T16:40:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GKlouse](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gklouse/32/1046_2.png) [@GKlouse](https://discourse.openondemand.org/u/GKlouse)\
**Post date:** [March 25, 2024, 4:40pm UTC](https://discourse.openondemand.org/t/custom-javascript-in-dashboard-wisgets/3376/1 "2024-03-25T16:40:07Z")

</div>

I’d like to add some custom javascript for dynamic content in my dashboard widgets.

Is there a way to include js file for my custom widgets located in /etc/ood/config/apps/dashboard/views ?

---

<div class="post-metadata">

**Author:** ![hrandquist](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/hrandquist/32/2536_2.png) [@hrandquist](https://discourse.openondemand.org/u/hrandquist)\
**Post date:** [March 25, 2024, 5:32pm UTC](https://discourse.openondemand.org/t/custom-javascript-in-dashboard-wisgets/3376/2 "2024-03-25T17:32:23Z")

</div>

There is an entry point you can use to include your own files: [ondemand.d/\*.yml files — Open OnDemand 3.1.0 documentation](https://osc.github.io/ood-documentation/latest/reference/files/ondemand-d-ymls.html) - Search for `custom_javascript_files`. You can include those in your dashboard.

---

<div class="post-metadata">

**Author:** ![GKlouse](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/gklouse/32/1046_2.png) [@GKlouse](https://discourse.openondemand.org/u/GKlouse)\
**Post date:** [March 25, 2024, 7:06pm UTC](https://discourse.openondemand.org/t/custom-javascript-in-dashboard-wisgets/3376/3 "2024-03-25T19:06:48Z")

</div>

On nice! Looks like it’s time to update =)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [September 21, 2024, 7:06pm UTC](https://discourse.openondemand.org/t/custom-javascript-in-dashboard-wisgets/3376/4 "2024-09-21T19:06:54Z")

</div>

Closed on September 21, 2024, 7:06pm UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
