Add the textbox to the output file name
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I am trying to add the user input value (through the textbox interface tool) to the name of the output file name.
For example the user enters -
Then the file should be saved as XYZ_DataFile.(where XYZ is appended to the filename)
Thanks,
Radhika
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
What is the type of output file? Is it excel?
Can you provide more info on this usecase. Is the output filename and path fixed? Is yes what is the format of the filename?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
There are a couple of ways to do this depending on the if the file name is fixed or variable
If the file name is fixed, you can use an action tool to modify the File in the Output Data tool directly as in the top example. If the filename is variable, connect the Text Input to the tool where the filename is defined
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nicely done @danilang it was different from my usual approach. Hence was a good learning and getting a new perspective 🙂
Let me also share my take on it.
Step - 1: Configure filename like below with prefix in the filename.
Step - 2: Replace prefix text in the action tool.
This should work with any type of file format and should be flexible.
Hope this helps : )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The filename and the path to store the file is variable. Example for the filename -
XYZ_DataFile.hyper or XYZ_DataFile.csv. XYZ=client name provided by the user.
DataFile is fixed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Yes - textbox interface tool
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Can you check the above solutions does those work for you. If not, can you tell us why not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for the help. The UserPrefix is working. However, if I combine this workflow with the other workflow - https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Use-interface-tool-to-select-the-locat... it doesnt work.
