# Control widget from external ui\_template

**URL:** <https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171>\
**Category:** General\
**Created:** [23 November 2021 18:15 UTC](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171 "2021-11-23T18:15:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xjust](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/xjust/32/39096_2.png) [@xjust](https://discourse.nodered.org/u/xjust)\
**Post date:** [23 November 2021 18:15 UTC](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171/1 "2021-11-23T18:15:34Z")

</div>

sorry if this has already been posted,  
is it possible to control widget from ui\_template javascript?  
im just trying to select trigger a dropdown selection of the ui\_timescheduler widget

this area here:

```auto
<md-select class="nr-dashboard-dropdown ng-pristine ng-valid md-auto-horizontal-margin ng-empty ng-touched" ng-model="myDeviceSelect" ng-change="showStandardView()" aria-label="Select device" ng-disabled="isEditMode" tabindex="0" role="button" aria-haspopup="listbox" id="select_65" aria-invalid="false" aria-labelledby="select_65 select_value_label_61" aria-disabled="false" aria-owns="select_listbox_67" style=""><md-select-value class="md-select-value" id="select_value_label_61"><span><div class="md-text"> Overview </div></span><span class="md-select-icon" aria-hidden="true"></span></md-select-value></md-select>

```

thanks for any guidance

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [22 January 2022 18:16 UTC](https://discourse.nodered.org/t/control-widget-from-external-ui-template/54171/2 "2022-01-22T18:16:28Z")

</div>

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