In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Download - Compose Query String/Body

Dr_Dust
5 - Atom

I'm having trouble using the 'Compose Query String/Body' in the Download tool. If I type the string into the Download tool - it works:

 

Download.PNG

 

If I reference the same values from a field - it doesn't work:

Formula.png

  

Dr_Dust_0-1668007270437.png

Dr_Dust_1-1668007354016.png

 

Eventually I will include the fields "pageSize" and "pageNumber" so the tool can download several pages. 

 

Any help would be appreciated.

 

4 REPLIES 4
TimN
13 - Pulsar

Hi,

you have to construct the whole string including {}.  You can add dynamic elements with concatenation.

TimN_0-1668034197380.png

 

 

 

TimN
13 - Pulsar

Here is a better example:

TimN_0-1668043133250.png

And I put this here:

TimN_1-1668043179576.png

 

Dr_Dust
5 - Atom

I have a separate API download which functions using the Compose Query String/Body - it does not require {} in the field or field values, only that they be formatted as string.

Dr_Dust_1-1668089239315.png

 

Dr_Dust_0-1668089182115.png

 

I just can't figure out why it works for one API and not another.

TimN
13 - Pulsar

Check the documentation for each API.  It should give you the details on how to use it.  That might be why.  Please mark this as the solution if it answered your question.

 

Thanks,

Tim

Labels
Top Solution Authors