# Button Howto: Link task to other object (relation)

**URL:** <https://community.fibery.io/t/button-howto-link-task-to-other-object-relation/1411>\
**Category:** API & Programming\
**Created:** [March 1, 2021, 12:15pm UTC](https://community.fibery.io/t/button-howto-link-task-to-other-object-relation/1411 "2021-03-01T12:15:39Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Chr1sG](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/chr1sg/32/3941_2.png) [@Chr1sG](https://community.fibery.io/u/Chr1sG)\
**Post date:** [December 15, 2021, 9:08am UTC](https://community.fibery.io/t/button-howto-link-task-to-other-object-relation/1411/5 "2021-12-15T09:08:20Z")

</div>

Is this any use?

> [@Command methods for button, and/or token availability in context](https://community.fibery.io/t/command-methods-for-button-and-or-token-availability-in-context/1035/3):
>
> Nice! I can’t find executeSingleCommand anywhere in the API docs, but I assume the IntelliSense in the button editor will help and/or that it takes the entire payload that would normally go in to body? The other stuff isn’t a huge deal for me, so no worries about that. slight_smile EDIT: Indeed it shows up in the IntelliSense, and it takes the body payload—except you omit the wrapping array and leave it with 1 command (as the method name suggests). For other people’s reference, here’s an ex…

---

_[View the full topic](https://community.fibery.io/t/button-howto-link-task-to-other-object-relation/1411)._
