Advent of Code is now back for a limited time only! Complete as many challenges as you can to earn those badges you may have missed in December. Learn more about how to participate here!

Alteryx IO Discussions

Customize and extend the power of Alteryx with SDKs, APIs, custom tools, and more.

[Platform SDK] - How to retrieve UI values in the backend of the tool ?

Jean-Balteryx
16 - Nebula
16 - Nebula

Hi everyone !

 

I built the backend and the UI for my tool and now I want them to communicate, retrieving the values set by the user in the UI, in the python backend.

 

How is it done ? I found that React Comms should be used but I don't get how it is used in the backend.

 

Do you have any idea ?

 

Thank you for your help !

4 REPLIES 4
Jean-Balteryx
16 - Nebula
16 - Nebula

@IraWatt, have you worked on that ?

IraWatt
17 - Castor
17 - Castor

@Jean-Balteryx I am currently just connecting the UI SDK with the Interface Tools. I have also been wanting to find out how to connect React to the Python backend I'll have a go later on today see if I have any luck 😅

Jean-Balteryx
16 - Nebula
16 - Nebula

I'm waiting for your feedback ! :)

Jean-Balteryx
16 - Nebula
16 - Nebula

@IraWatt, I got the answer from @jarrod !

In hte backend, you can retrieve your configuration values using the following line :

 

self.provider.tool_config[key]

 

key being the name of your React element.