Can an InMemory feature class/table be an ExportReport source?

Discussion created by rfairhur24 on Oct 9, 2013
Latest reply on Oct 15, 2013 by rfairhur24
I am creating a python script where I want a geoprocess that uses the inmemory workspace to create a feature class or table to serve as the source data for an RLF report file.  The arcpy ExportReport method help says the data source has to be in a .mxd or .lyr file to work properly.  Does that mean that I cannot use an inmemory output with that function?  Is there a way to associate an inmemory output with one of those file types?

It I have to output the data to disk, is there a best practice for authoring a tool that would create an output feature class/table to an on disk workspace path that will run on multiple user installations?  Each user will have ArcGIS installed on their local machine and should have the Default.gdb in their local C: drive standard path.  Is the Default.gdb the best place to create an on disk output for this kind of tool and are there any built-in ArcGIS path variables that would assist in accessing it without building the path for each user with code?