> For the complete documentation index, see [llms.txt](https://docs.flightwatching.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flightwatching.com/user-manual/designer-user-manual/edit-ifts/ift-v2/fw.uplink.md).

# FW\.uplink

FW\.uplink(layoutId, delayInSec, opts)

Uplinks a message to the current FWOT.

{% hint style="info" %}
The uplink is actually done if the `doUplink` appConfig is set to `true`

If not, the uplink will not fail but the command has no effect.
{% endhint %}

* `LayoutId` is the ID of the layout that you want to uplink. The layout is uplinkable if it specifies a uplink-template in the admin area. The uplink-template may support some options that can be passed as third argument
* `delayInSec` is the number of seconds WILCO have to wait before actually sending the message
* `opts` is an array of strings. each string has the format `key:value`. there are some predefined keys
  * `tieback`: is often used in the templates to use the tieback feature of the ACMS
  * `recipient`: you can force the network that will send the message to the A/C (like `DDLXCXA`, `QXSXMXS`...)

![The uplink is actually performed if the doUplink is set to true and the uplinkTemplate is set as shown here](https://4203901285-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LucrvGdSn3RONbIcfqh%2F-Ly-fjgugqLvKH2N2k4G%2F-Ly-hcjI6uu4OB_BxPJx%2Fimage.png?alt=media\&token=92a807c3-b0da-40c3-8323-c120dfdd3882)

```javascript
//uplink the layout 686787 in 20 seconds with the option tieback set to HKG5MN
FW.uplink(686787, 20, ['tieback:HKG5MN']);
```
