Hello,
I'm looking to read a feature class from a GDB (for testing purposes, but eventually this will be many feature classes so this process requires minimal manual handling) and add the date on the end YYMMDD and write back into the same GDB.
E.G
READ - "TEST"
WRITE - "TEST190415"
I've look at ways of doing this and not many seem to work. The closest I've got is to set the reader to expose the 'fme_basename' -> Date/Time Stamper -> Date/TimeConverter (adding _date column to attributes) -> Attribute Manager where I add a new attribute called "New_name", the value is @Value(fme_basename)@Value(_date)
The write is set to Dynamic Schema Definition with the source as the GDB used and the Schema Definition Name set to "New_name".
The output is the GDB name.
When I edited this to just the _date, the output was the date.
So the basename is being read as the gdb, and the date is being picked up in the new attribute.
Can someone please help? I imagine there must be a simpler way to simply add a date onto a feature class name.
Workbench below: