I’m developing a custom tool using the Alteryx Platform SDK and need some assistance. I’m trying to trigger a backend Python API call when a user clicks a button on the tool’s interface. The purpose of this API call is to retrieve data that will populate dropdowns on the interface.
I initially attempted to make this API call using the React framework, but I encountered CORS errors due to using React for the call. I’m now exploring whether there’s a way to handle this directly within the backend, possibly through a Python function triggered by the button click.
Has anyone faced a similar challenge, or could anyone provide guidance on how to properly trigger a Python API call to handle this within the Alteryx Platform SDK? Any code examples, tips, or documentation references would be greatly appreciated!
Thanks in advance for your help!