Calling all Alteryx customers: Refer your colleague to try Alteryx and receive a $50 gift card. Sign up now!

Alteryx Designer Desktop Discussions

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

Alteryx not reading correctly

Heer
7 - Meteor

I have two text inputs where i'm entering my api key and secret, but when reading it via Alteryx.read("#1") in python tool , it doesn't read the whole string

and prints it as "xxxxxxxxx..."  basically wrong because of the three dots.

 

I have a text input after the text box. What am i doing wrong and how to pass the whole value?

 

5 REPLIES 5
michelle_mathews
Alteryx Alumni (Retired)

@Heer maybe put a select tool right after your input tool and check the character size before feeding into a python tool

apathetichell
19 - Altair

cam you share a screengrab of your workflow? do you have a text box/action tool updating a text input box? can you add a select after to see the size of your text field?

 

often Alteryx will default to the size of your dummy data in your text input (say 4) - and if your actual data is larger it will truncate.

Heer
7 - Meteor

I did add a select to see the size also the connector between Text input and python tool shows the size 68

Attached is the issue

 

apathetichell
19 - Altair

This is a dataframe. Include [0] to specify the row. 

print(k["Key"][0])
print(k["Secret"][0])

Heer
7 - Meteor

oh thank you. you are right.

Labels
Top Solution Authors