[mapguide-users] Re: Anyone tried copying DWF files from library to session repository?

tmblackflag steve.calpoly at gmail.com
Mon Nov 7 14:14:50 EST 2011


I've tried copying the file using the .NET System.IO class and no luck there
either. The DWF is definitely making its way into the session repository
folder, tried both the root folder and the DataFiles folders in there as
well as updating the DrawingSource XML file's "SourceName" tag to point to
the custom DWF to no avail.

Has anyone tried to do this?

System.IO.File.Copy("C:/Program Files/Autodesk/Autodesk Infrastructure Map
Server 2012/Repositories/Library/DataFiles/" + myDwfName, 
                            "C:/Program Files/Autodesk/Autodesk
Infrastructure Map Server 2012/Repositories/Session/" + myDwfName,true);

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Anyone-tried-copying-DWF-files-from-library-to-session-repository-tp6971598p6971704.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list