lorenmueller

model builder, in-line variable substitution, use of 2 for one param

Discussion created by lorenmueller on Jan 11, 2012
Latest reply on Jan 11, 2012 by khibma-esristaff
Hi,
I am setting up a geoprocessing service in ArcGIS Server v10.

I would like to be able to use 2 variables in-line for an output parameter.

What currently works for me is this:
%scratchworkspace%\FileName.zip
In this one, FileName is a hard coded name, and the file always has to be named 'FileName.zip'.

What I would like to be able to do is concatenate the scratch workspace var and a file name var, like this:
%scratchworkspace%\%FileName%.zip
where %FileName% is an input parameter defined by the user.

My attempts so far have failed.  The model builder seems to ignore the first in-line var, and only sees the second one.
Has anyone had any luck stringing something like this together? Any ideas?
Thanks!

Outcomes