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.
The highly anticipated Alteryx Community tradition is back! We hope you'll join us!
Learn MoreExperts -
I created an "Import Spec" so to say for a fixed width flat file that I need to reuse in the same workflow in a different tool. Is this possible?
Thanks!
Solved! Go to Solution.
When you create your flat file in the import tool, you can "export" the settings as a .flat file, and then in another tool use the "use field settings from file" and import the file you exported.
The first time you create the file click "export" and then the next time you can use that file as an "use field settings from file".
You can also just create the contents of a .flat file from scratch -- here are the contents of the .flat file corresponding to the settings above:
<flatfile version="1">
<file eoltype="crlf" allowShortLines="t" allowLongLines="f" trimWhiteSpace="t" />
<fields>
<field name="Field_1" type="V_String" length="17" />
<field name="Field_2" type="V_String" length="11" />
<field name="Field_3" type="V_String" length="11" />
<field name="Field_4" type="V_String" length="40" />
</fields>
</flatfile>
If you want to view the settings that you used in the original input tool, you can just click on the "xml" option.