Sending Downlink Port Number From Button in Dashboard

I successfully am sending downlink payloads using the default port number specified in the ‘Environment Variables’ of the Analysis.

What I cannot figure out is how to get a button to send both the payload AND the port number to the Analysis.

The example only shows how to do this using an Input Form. Can it be done with a Push Button?

David - Most of the input widgets allow for triggering an analysis script. If you have it trigger a script then you can send about anything you want. I am not a JavaScript person so that seemed harder, but now I have become somewhat familiar with the API so this isn’t hard. I always print the scope and context variables so I know what to work with. You will also need to get used to the access setup button on the admin screen and the Resources library in the SDK is very useful.