<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle23
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle24
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=PT-BR link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>Kenneth,<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Thanks
for the information.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span
lang=EN-US style='color:#1F497D'>Using GETRESOURCEDATA I can get the dwf files and
do what I need.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Best,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
mapguide-users-bounces@lists.osgeo.org
[mailto:mapguide-users-bounces@lists.osgeo.org] <b>On Behalf Of </b>Kenneth
Skovhede, GEOGRAF A/S<br>
<b>Sent:</b> Friday, July 17, 2009 9:32 AM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> Re: [mapguide-users] Mapguide Library Folders<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>The name of the folder is random, and generated by MapGuide.<br>
AFAIK, there is no way to retrieve the path.<br>
<br>
Instead, you can call GetResourceData and retrieve the file:<br>
<a href="http://localhost/mapguide/mapagent/index.html">http://localhost/mapguide/mapagent/index.html</a><br>
<br>
Click &quot;GetResourceData&quot; to the lower left, fill out the ResourceId
and DataName and click Submit.<br>
<br>
You can mimic the POST generated by the html form to do the same from a
program.<br>
That is what the MaestroAPI does, when using the http connection, so you can
also use that to retrieve the file.<br>
<br>
<br>
<o:p></o:p></p>

<pre>Regards, Kenneth Skovhede, GEOGRAF A/S<o:p></o:p></pre>

<p class=MsoNormal><br>
<br>
Luis Paolini skrev: <o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>Dave,</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span><span lang=EN-US style='color:#1F497D'>I need the dwf files because the
client wants to load them into oracle database in order to allow users to
download them via an application.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I understand that they are published to a folder in the Mapguide Site Explorer,
but this folder name is logical and is not created in the Mapguide Server.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
My problem is that I need to publish 600 DWG files and when I do that, all the
DWF files are created with the same name (Map Base.dwf).</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
As we have many people working in this process, the alternative to find the
files manually sorting by date will not work.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
If I could define the name of the dwf file during publishing, instead of the
default Map Base.dwf, will solve the problem.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
The other option was to figure out the relation between the logical name
created in Site explorer and the physical name created in the
\Library\Datafiles.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Luis</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Dave Wilson<br>
<b>Sent:</b> Thursday, July 16, 2009 5:34 PM<br>
<b>To:</b> MapGuide Users Mail List<br>
<b>Subject:</b> RE: [mapguide-users] Mapguide Library Folders</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>What do you want to
do with the files?</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>During the publish you
specified a folder to publish to in the MapGuide Site Explorer. All the files
are created in a Data subdirectory under the folder name you specified.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>You can use MGE API's
to EnumerateResource, EnumerateResourceData and GetResourceData and get the files
from the Repository.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Otherwise if you were
simply looking to find the files manually after a single publish you can view
the Repositories\Library\DataFiles\ in Windows Explorer and sort by date and
see the files that were created. You could search on .dwf and find the files.</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>Dave</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div>

<div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;
border-color:-moz-use-text-color -moz-use-text-color'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> <a
href="mailto:mapguide-users-bounces@lists.osgeo.org">mapguide-users-bounces@lists.osgeo.org</a>
[<a href="mailto:mapguide-users-bounces@lists.osgeo.org">mailto:mapguide-users-bounces@lists.osgeo.org</a>]
<b>On Behalf Of </b>Luis Paolini<br>
<b>Sent:</b> Thursday, July 16, 2009 1:48 PM<br>
<b>To:</b> <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<b>Subject:</b> [mapguide-users] Mapguide Library Folders</span><o:p></o:p></p>

</div>

</div>

<p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>Hi All,</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
I&#8217;m working with Autodesk Map 3D to publish some DWG files to Mapguide in
DWF format. &nbsp;The process is:</span><o:p></o:p></p>

<p class=MsoListParagraph style='margin-left:53.25pt;text-indent:-18.0pt'><span
lang=EN-US>File -&gt; More Plotting Options -&gt; Publish to Mapguide</span><o:p></o:p></p>

<p class=MsoListParagraph style='margin-left:53.25pt;text-indent:-18.0pt'><span
lang=EN-US>Connect to Mapguide</span><o:p></o:p></p>

<p class=MsoListParagraph style='margin-left:53.25pt;text-indent:-18.0pt'><span
lang=EN-US>Create a Folder</span><o:p></o:p></p>

<p class=MsoListParagraph style='margin-left:53.25pt;text-indent:-18.0pt'><span
lang=EN-US>Publish</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.25pt'><span lang=EN-US>After that,
looking into Mapguide Server Folders, I understand that my DWF file was stored
somewhere inside /Library folder.</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.25pt'><span lang=EN-US>The problem is
that the folders are named by Mapguide using some pattern (Ex:
dfaaf08a-ffff-ffff-8000-00c09f3e1b02).</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.25pt'><span lang=EN-US>My question is:
How can I discover in which folder the dwf published is stored?</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.25pt'><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>Regards,</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US>Luis</span><o:p></o:p></p>

<p class=MsoNormal style='margin-left:35.25pt'><span lang=EN-US>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
__________ Information from ESET Smart Security, version of virus signature
database 4251 (20090716) __________<br>
<br>
The message was checked by ESET Smart Security.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span><o:p></o:p></p>

<p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
__________ Information from ESET Smart Security, version of virus signature
database 4251 (20090716) __________<br>
<br>
The message was checked by ESET Smart Security.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a></span><o:p></o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
__________ Information from ESET Smart Security, version of virus signature
database 4253 (20090717) __________<br>
<br>
The message was checked by ESET Smart Security.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><br>
<br>
<o:p></o:p></span></p>

<pre><o:p>&nbsp;</o:p></pre><pre style='text-align:center'>

<hr size=4 width="90%" align=center>

</pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>mapguide-users mailing list<o:p></o:p></pre><pre><a
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><o:p></o:p></pre><pre><a
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><o:p></o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><br>
<br>
__________ Information from ESET Smart Security, version of virus signature
database 4253 (20090717) __________<br>
<br>
The message was checked by ESET Smart Security.<br>
<br>
<a href="http://www.eset.com">http://www.eset.com</a><o:p></o:p></span></p>

</div>

 <BR><BR>__________ Information from ESET Smart Security, version of virus signature database 4253 (20090717) __________<BR><BR>The message was checked by ESET Smart Security.<BR><BR><A HREF="http://www.eset.com">http://www.eset.com</A><BR> </body>

</html>