# Add arguments to Callback

**URL:** <https://forums.fusetools.com/t/add-arguments-to-callback/5623>\
**Category:** Feature Suggestions\
**Created:** [November 21, 2016, 10:30pm UTC](https://forums.fusetools.com/t/add-arguments-to-callback/5623 "2016-11-21T22:30:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ted.ekeroth](https://avatars.discourse-cdn.com/v4/letter/t/a5b964/32.png) [@ted.ekeroth](https://forums.fusetools.com/u/ted.ekeroth)\
**Post date:** [November 21, 2016, 10:30pm UTC](https://forums.fusetools.com/t/add-arguments-to-callback/5623/1 "2016-11-21T22:30:46Z")

</div>

As asked here:  
[https://www.fusetools.com/community/forums/howto\_discussions/callback\_node\_with\_arguments](https://www.fusetools.com/community/forums/howto_discussions/callback_node_with_arguments)

 ![file](https://s3.us-east-2.amazonaws.com/fuse-legacy-forum-assets/sg9zf36khwxW-image-1479767120637.png)

the answer is “no” and that the function “gets an argument where .data is the data context from the node the callback sits on”.

However, the object/value passed into the function of the callback isnt useful for much as I see it; I would need an argument.

Is it possible to add an argument, like:

```auto
<Callback Handler="{test}" Argument="SomeValue">

```

or even better:

```auto
<Callback Handler="{test}">
    <Argument Name="myArg1" Value="someValue" />
    <Argument Name="myArg2" Value="someOtherValue" />
</Callback>

```

And that in the funcion test:

```auto
function test(myObject)
{
    var v1 = myObject.get("myArg1");
    console.log(v1); // would print "someValue"
}

```

---

<div class="post-metadata">

**Author:** ![Vegard\_Strand\_Lende](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/vegard_strand_lende/32/349_2.png) [@Vegard\_Strand\_Lende](https://forums.fusetools.com/u/Vegard_Strand_Lende)\
**Post date:** [November 29, 2016, 3:05pm UTC](https://forums.fusetools.com/t/add-arguments-to-callback/5623/2 "2016-11-29T15:05:37Z")

</div>

Hi!

Without knowing your usecase I would say that you should use `Observable` for whatever data you want to get into JS.

Do you have an example of a usecase for this?
