<div>Yes, I have. Essentially, if you rename the dwf to a zip extension and look at the Unique ID in there you'll notice that each one is different. In order for it to work that Unique ID needs to be updated in MapGuide so that it refers to the new id not the old even though you have replaced the file.</div>
<div> </div><div>Regards,</div><div>Jonathon<br><br></div><div class="gmail_quote">On Mon, Nov 7, 2011 at 11:14 AM, tmblackflag <span dir="ltr"><<a href="mailto:steve.calpoly@gmail.com">steve.calpoly@gmail.com</a>></span> wrote:<br>
<blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;" class="gmail_quote">I've tried copying the file using the .NET System.IO class and no luck there<br>
either. The DWF is definitely making its way into the session repository<br>
folder, tried both the root folder and the DataFiles folders in there as<br>
well as updating the DrawingSource XML file's "SourceName" tag to point to<br>
the custom DWF to no avail.<br>
<br>
Has anyone tried to do this?<br>
<br>
System.IO.File.Copy("C:/Program Files/Autodesk/Autodesk Infrastructure Map<br>
Server 2012/Repositories/Library/DataFiles/" + myDwfName,<br>
"C:/Program Files/Autodesk/Autodesk<br>
Infrastructure Map Server 2012/Repositories/Session/" + myDwfName,true);<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://osgeo-org.1803224.n2.nabble.com/Anyone-tried-copying-DWF-files-from-library-to-session-repository-tp6971598p6971704.html" target="_blank">http://osgeo-org.1803224.n2.nabble.com/Anyone-tried-copying-DWF-files-from-library-to-session-repository-tp6971598p6971704.html</a><br>
</font></span><div class="HOEnZb"><div class="h5">Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</div></div></blockquote></div><br>