Select to view content in your preferred language

How do I use a model variable in the Export Features GP tool?

267
1
02-10-2025 02:42 PM
Labels (2)
RyanBohan
Frequent Contributor

The Feature Class to Feature Class (deprecated) allowed dynamic Output Name using string variables, which was very useful for adding timestamps and differentiating model runs.

  • This model is run approximately every 3-6 months, and being able to have historic data automatically saved is a key component.

RyanBohan_0-1739226279887.png

The Export Features GP tool (replacing Feature Class to Feature Class) no longer allows model variables to be used for Output Name. This eliminates the ability to easily add timestamps to exported feature layer names.

  • While I can manually rename the exported layer, this extra step wasn't needed with the Feature Class to Feature Class tool

RyanBohan_1-1739226485953.png

 

1 Reply
RyanBohan
Frequent Contributor

As there does not seem to be a way to match previous functionality, I have also posted this as an idea.

Match previous functionality of Export Features to... - Esri Community