Skip to main content

Is there any easy way to add a date stamp to output file names when using the FeatureWriter? I am outputting Excel files that have multiple tabs with multiple separate inputs, from multiple data sources. The only way I could figure out how to do this without the FeatureWriter splitting up the different feature types into separate files is to add the DateTimeStamper to each data source, make sure it is kept all through the Workspace, and then take off the _timestamp attribute from each Feature Type in the Attribute list on the FeatureWriter. What a pain! Surely there is a better way? I tried to create a User Parameter, but it did not work. Any hints on this?

 

Thanks,

 

-L

I use a python scripted parameter to do this. On mobile right now so no samples, but I have answered this question before on the forum.


I use a python scripted parameter to do this. On mobile right now so no samples, but I have answered this question before on the forum.

Ok, I'll check the forums...again. Do recall what the post was?

Thanks,

-L


Found it!

 Very slick, I had never used a script as User Parameter before. Thanks and Happy New Year @nielsgerrits​ !

 -@larue​ 

 


Found it!

 Very slick, I had never used a script as User Parameter before. Thanks and Happy New Year @nielsgerrits​ !

 -@larue​ 

 

Cheers and happy newyear!


Reply