File Datasource in PAW
Posted: Fri Dec 06, 2019 5:36 pm
This is the first time I created a process in PAW using a file as a datasource. I've created plenty using Architect, and have been using PAW for a few months now. I selected a file, and it saved to the model_upload folder in the Data directory. I finished writing the process and everything went as expected. But as I've done with many other processes using Architect, I added a pFile parameter and used that to change the DataSourceNameForServer variable so I can reference a different file. I populated the parameter with the full path and name of a file (as I'm used to doing), but when I ran the process I received an error saying that it couldn't find the data source file. The error indicated the DataSourceNameForServer concatenated the data files directory path with my parameter value. Does PAW expect that files loaded to the server will only come from within the data directory? Is there a way to change that behavior without going back to architect? I don't see any new variable in the IBM documentation, or any reference to this change in behavior. I exported the DataSourceNameForServer variable to file, this is what I see...
model_upload\upload_file.csv
I see this thread, but it doesn't address the datasource issue per se...
https://www.tm1forum.com/viewtopic.php?f=3&t=14192
But I definitely don't think it's ideal for people to drop the CSV's in the data directory itself. These files could get rather large. And obviously I don't want people accessing the data directory, and would prefer not making placing CSV files in the data directory a regular admin task. Any help would be greatly appreciated.
model_upload\upload_file.csv
I see this thread, but it doesn't address the datasource issue per se...
https://www.tm1forum.com/viewtopic.php?f=3&t=14192
But I definitely don't think it's ideal for people to drop the CSV's in the data directory itself. These files could get rather large. And obviously I don't want people accessing the data directory, and would prefer not making placing CSV files in the data directory a regular admin task. Any help would be greatly appreciated.