I have a table that contains file paths of lots of features that I need to migrate. Is there a way to read the file paths from the table to load all of the needed features? Any thoughts? Suggestions?
Thanks in advance. Have a great day
I have a table that contains file paths of lots of features that I need to migrate. Is there a way to read the file paths from the table to load all of the needed features? Any thoughts? Suggestions?
Thanks in advance. Have a great day
two alternatives:
- Read the file paths, send to FeatureReader
- Read the file paths, send to WorkspaceRunner and second workspace with parametrized input file name
David
If you read multiple file paths from a table, you can create a concatenated paths string (delimiter is white space), and pass it to the source dataset parameter of the main workspace through the WorkspaceRunner.
Each path and entire string should be quoted like this.
""<path1>" "<path2>" "<path3>" ... "<pathN>""
If a path string doesn't contain spaces, it's not essential to quote it. But I think it's better to quote always individual paths to avoid unexpected conditions.
Takashi
Thanks again, glad to be part of the community