Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Change the way the Python tool handles reference shortcuts

patrick_digan
17 - Castor
17 - Castor

I'm loving the new Python tool. One feature I'm missing is better handling of reference shortcuts. If my code is something like this

test="%Question.Text%"
test

and I run my workflow, it will replace %Question.Text% in the python tool's code like this:

test="Hello World"
test

Similar to the R tool (or any other tool really), I think my code should remain unchanged, but my variable test should be set to whatever value is is entered for Question.Text.

 

Thanks!

3 REPLIES 3
kelkboom
7 - Meteor

This would be a really nice feature. Now you have to do this with a textInput macro. This is a workable work around, but not how it should be. 

 

pict5.PNG

 

first define your parameters in the textInput macro.

 

pict4.PNG

then capture you defined parameters from the input stream

jpoz
Alteryx
Alteryx

This is a defect rather than a feature idea. All tools should support this.

 

Tagging @KatieA@ScottC 

altrx002
5 - Atom

End of year 2023 and yet this basic functionality (access ALL constants in Python tool) is not implemented...

¯\_(ツ)_/¯

Labels