You would be able to attach a file to the tool using the regular input but the tool you would just enter in the # of files you want and then it would split the file into that number. For Example if I had a file with 100 records and I wanted 5 files then it would split the file up into 5 files with 25 records each. It should also keep the header on each file.
Solved! Go to Solution.
Hi @sasha_pugliese! Actually, this can already be done! Just follow these steps:
You could get fancy with a Formula tool and create a new field that builds a unique file name based on Tile_Num so you aren't just appending a digit to the end of your file name.
A similar, alternative approach is described by @DanC in the Knowledge Base here. Hope this helps!
Awesome!!! This just made our lives a lot easier! Thanks! I tried this and it worked perfectly!
What if I want to read a PDF file and split it ? because it's impossible to read a PDF file with input data item
Thank you very much @DultonM
Hi @Nilz PDFs can be read in using custom script, there are a quite a few opensource macros available on the gallery and posts on the community about this topic.
@KylieF - I think this idea needs to be re-classified or moved to the discussions as @DultonM provided a great solution to @sasha_pugliese's idea/question.
Good call Joe! I've moved this post to Designer Discussions as the content is better suited for this board and so future users can have visibility into the solution provided by DultonM.