This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
There is a way to use the UI Text Box tool to collect the Username of the user running the application. This is achieved when masking the Text Box tool (for API development) and naming it "__cloud:UserId".
Attaching this Text Box to another tool, such as a Text Input, will allow the value to be used downstream.
I have a requirement to show the stored procedure result basis on the user ID in alteryx app not in the workflow. As many users may run the aateryx app (not workflow) from the gallery and respective output to be shown in the result only to that specific user
Hi Justin. I'm trying to make this connection and what I pull from the mongo input doesn't match from the text box. Is your mongo input connecting as User, AlteryxGallery, and then the Users table as below?
It works for me as well. However the returned user id is not exactly the user SubscriptionId as stored in MongoDB. The returned id = SubscriptionId + 3 (i.e., instead of 63xxxxxxxxxxxxxf635 the Text Box tool return 63xxxxxxxxxxxxxf638. I tested this with few users.
I did not see any comment on this. So I am wondering whether this is specific to our settings or not.