# Dashboard Input Controls show AttribueTags as default values

**URL:** <https://forums.losant.com/t/dashboard-input-controls-show-attribuetags-as-default-values/3364>\
**Category:** Help\
**Tags:** dashboard, workflow\
**Created:** [October 28, 2020, 2:17pm UTC](https://forums.losant.com/t/dashboard-input-controls-show-attribuetags-as-default-values/3364 "2020-10-28T14:17:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Aidan\_Zebertavage](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/aidan_zebertavage/32/2719_2.png) [@Aidan\_Zebertavage](https://forums.losant.com/u/Aidan_Zebertavage)\
**Post date:** [October 28, 2020, 4:19pm UTC](https://forums.losant.com/t/dashboard-input-controls-show-attribuetags-as-default-values/3364/6 "2020-10-28T16:19:22Z")

</div>

Hi @Kyle_Stokes2,

Great question, in order to update attribute tags via an input control block, you will need to use the button trigger to trigger a workflow to run that will update your device attributes based on the text input in the input control block.

You will need to provide a payload to send to the workflow via your input control block:

 ![Screen Shot 2020-10-28 at 11.49.13 AM](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/3/34ad54cf08d3bb6b20f632e3e9811b8c35f80bfa.png)

The payload I’m sending is as follows:

```auto
{
    "updatedAttributeTags": {
    "attributes": [
      {
        "name": "vibration_xaxis",
        "dataType": "number",
        "attributeTags": {
          "static_warning_threshold": "{{text-0}}",
          "static_alert_enabled": "true",
          "static_warning_num": "3"
        }
      }
    ]
  }
}

```

Where {{text-0}} is the updated threshold value provided by your users.

The workflow associated with this input control block can be found here:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/2X/4/42d88fa96e560670f16a46200bcdc631676699d8.png)  
[set-attribute-tags-develop(1).flow](https://forums.losant.com/uploads/short-url/5GPL2Oi8Wbz8YZu7hVU2BDJHv8n.flow) (1.8 KB)

We are using the virtual button trigger, associated with your input control block, to send a payload with updated attribute levels, and using the Device: Update node to modify the warning threshold level.

It’s important to note that when using this process, you’ll need to provide _all of the attributes_ in the payload along with the updated values, otherwise if you only sent an updated value for your threshold, it would remove the alert\_enabled and warning\_number attributes.

That was a great call to search through the forums for older threads, you just didn’t happen to hit on ones that were as relevant:

> [@Add device attribute tag through workflow](https://forums.losant.com/t/add-device-attribute-tag-through-workflow/3080/5):
>
> All tags on the entire device, or just the attribute?

[https://forums.losant.com/t/add-attribute-to-device-programmatically-with-attribute-tags/3039/8](https://forums.losant.com/t/add-attribute-to-device-programmatically-with-attribute-tags/3039/8)

I’ll follow up here shortly with some more information on how to access attribute tags in context.

Thanks,  
@Aidan_Zebertavage

---

_[View the full topic](https://forums.losant.com/t/dashboard-input-controls-show-attribuetags-as-default-values/3364)._
