Configuration File Upload Workflow
This example workflow demonstrates how to push configuration files from Designer to Alteryx Connect via the REST API.
To complete this workflow, you will need...
Connect v2 Server
Designer and the Connect v2 Tools
This workflow assumes you have created the county.xml and load-alteryx-counties.xml configuration files in the Configuration Workflow.
In Designer
Download or create this workflow by following the steps below.
Open a new workflow and drag an Input Text tool onto the canvas.
Configure the Input Text tool:
Add and connect a Blob tool.
Configure the tool:
Modify File Name By: Replacing Entire Path With Field
Using This Field: ConfigFilePath
Add and connect a Formula tool.
Configure the tool to have 7 output columns:
Output Column
Formula Expression
ConnectURL
A Connect URL, like
'https://qo.semanta.cloud'
APIBaseULR
[ConnectURL] + '/rest/1/admin/'
APIUploadURI
[APIBaseULR] + 'upload'
Content-Type
'application/octet-stream'
X-File-Name
[ConfigFileName]
xf3-login
'admin'
xf3-password
'Conn3ct!'
Add and connect a Download tool.
Configure the tool:
On the Basic tab:
Field: APIUploadURI
On the Headers tab:
Select Content-Type, X-File-Name, xf3-login, and xf3-password, then click Add.
On the Payload tab:
Take Query String/Body from Field: Blob
Add and connect a Browse tool.
Run the workflow to load the configs.zip into Connect.
In Connect
Unzip the configs.zip archive to process the files individually and register the configurations. This can take several minutes depending on the number of archived configurations.