I'm having a devil of a time figuring out how outputs in ESRI Python toolboxes work. I can't either find usable examples or the proper documentation.
My aim is this
1.) Allow the user to navigate to a gdb and provide a name for the output of the toolbox, from the toolbox dialog
2.) have the toolbox return results that aren't empty!
I've tried everything under the sun. I simply want to provide the path and name that user provides from the dialog to this function.
arcpy.MakeFeatureLayer_management(inp, outname,'"RND" = 1')
where outname is the user provided parameter
and have the results of this function be returned as an output of the tool.
Currently all that is returned is an empty FC.
However when I run the logic of the code in the python window and predifine all the parameters I get the results I desired. So I am assuming that its error on my part on how the input parameters are being handled in the getParameterInfo(self) of the tbx.
I've attached my code