CRoberts Posted April 1, 2008 Posted April 1, 2008 I have a script that prompts for file selection, then imports and processes the contents. One of the fields is a date field. Not today's date - as I don't always run it every day, but there's a file per day. The date is however contained in the filename, so I want to be get the name of imported file.
bcooney Posted April 1, 2008 Posted April 1, 2008 If you use Insert File and put the file in a container field as a reference only, you will have the file name available to you to parse.
CRoberts Posted April 1, 2008 Author Posted April 1, 2008 Can I then Import data from the Container field?
bcooney Posted April 1, 2008 Posted April 1, 2008 Not quite. You now have the path to the Import File. If you set it to a variable, $import_path, then you can use in the Import Script Step's file path dialog.
Recommended Posts
This topic is 6080 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now