<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=utf-8"><meta name=Generator content="Microsoft Word 15 (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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        font-size:10.0pt;
        font-family:"Courier New";}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        mso-fareast-language:FR-CA;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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 lang=FR-CA link=blue vlink=purple style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>Hi Jackie,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>The cause of the problem is with the operation GETMAPKML.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>Request sent by MapAgent<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><a href="http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPKML&VERSION=1.0.0&CLIENTAGENT=MapGuide+Developer&FORMAT=KML&DPI=96&MAPDEFINITION=Library%3A%2F%2FSamples%2FSheboygan%2FMaps%2FSheboygan.MapDefinition">http://localhost/mapguide/mapagent/mapagent.fcgi?OPERATION=GETMAPKML&VERSION=1.0.0&CLIENTAGENT=MapGuide+Developer&FORMAT=KML&DPI=96&MAPDEFINITION=Library%3A%2F%2FSamples%2FSheboygan%2FMaps%2FSheboygan.MapDefinition</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>or<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>Request sent by application Sample<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><a href="http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Anonymous&OPERATION=GetMapKml&VERSION=1.0.0&MAPDEFINITION=Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition">http://localhost/mapguide/mapagent/mapagent.fcgi?USERNAME=Anonymous&OPERATION=GetMapKml&VERSION=1.0.0&MAPDEFINITION=Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>With MGOS 3.1.2, MGOS build 9862 (4P3) and MGOS 4P4, it is impossible to use the operation GETMAPKML. I did some tests with the MapAgent Test Pages and I always have the same result. The operation returns a pop up window to download the file mapagent.fcgi (except for XML format).<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><img border=0 width=746 height=388 style='width:7.7708in;height:4.0416in' id="Image_x0020_1" src="cid:image001.png@01D8B96A.2CA23710"><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>Also the GETLAYERKML and GETLAYERKML operations seam problematic.<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='font-size:12.0pt;font-family:"Arial",sans-serif;mso-fareast-language:EN-US'>Pierre<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-CA style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=FR>De :</span></b><span lang=FR> mapguide-users <mapguide-users-bounces@lists.osgeo.org> <b>De la part de</b> pierre.cardinal pierre.cardinal<br><b>Envoyé :</b> 25 août 2022 12:20<br><b>À :</b> Jackie Ng <jumpinjackie@gmail.com>; mapguide-users@lists.osgeo.org<br><b>Objet :</b> [mapguide-users] Ré: Re: REACT Sample<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><br><br><br><o:p></o:p></p><div><p class=MsoNormal><span style='font-size:12.0pt'>Hi Jackie,</span><o:p></o:p></p></div><div><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>Thank you for your prompt answer<o:p></o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>For cases 2 and 3 (MGOS 4.0 P3 and IIS under Server 2012 R2, MGOS 4.0 P4 and IIS under Win10)<o:p></o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>I was already using the "resource" parameter.<o:p></o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>For case 1 (MGOS (build 9862) and IIS under Win10)<o:p></o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>I changed the parameter "ApplicationDefinition" for "resource", now I have the same result as in the two other cases. When I click on « View as KML », the function returns a pop up window to download the file mapagent.fcgi.<o:p></o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>Pierre<o:p></o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p><p><span style='font-size:12.0pt;font-family:"Arial",sans-serif'><o:p> </o:p></span></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal style='margin-bottom:12.0pt'><br><br>------ Message d’origine ------<br>De: <a href="mailto:jumpinjackie@gmail.com">jumpinjackie@gmail.com</a><br>À: <a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>Envoyé: jeudi 25 août 2022 09:09<br>Objet: Re: [mapguide-users] REACT Sample<o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Arial",sans-serif'>Use "resource" instead of "ApplicationDefinition" as the query string parameter.<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>- Jackie<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>You wrote:<o:p></o:p></p></div><blockquote style='margin-left:30.0pt;margin-right:0cm'><div><pre><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:black'>With MGOS (build 9862) and IIS under Win10.</span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></pre></div><div><pre><span style='color:black'>I  have no problem to display the REACT viewer when I am using the viewer directory (ziewer.zip or  yarn install from the source) .<o:p></o:p></span></pre></div><div><pre><span style='color:black'>But when I am trying to display the REACT viewer with the sample directory, <a href="http://localhost/mapguide/sample/sample_template.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/React.ApplicationDefinition&locale=en" target="_blank">http://localhost/mapguide/sample/sample_template.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/React.ApplicationDefinition&locale=en</a><o:p></o:p></span></pre></div><div><pre><span style='color:black'>Note : I have a React flexible layout (react.xml) in FlexibleLayouts of the Sheboygan package <o:p></o:p></span></pre></div><div><pre><span style='color:black'>I have the following message :<o:p></o:p></span></pre></div><div><pre><span style='color:black'>An error occurred during startup<o:p></o:p></span></pre></div><div><pre><span style='color:black'>No resource parameter found. This viewer assumes this parameter to be set in the query string and must refer to a valid Web Layout or Application Definition. If not specified, it will try to init from a Application Definition document at appdef.json<o:p></o:p></span></pre></div><div><pre><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:black'>With MGOS 4.0 P3 and IIS under Server 2012 R2</span><span style='font-size:12.0pt;color:black'><o:p></o:p></span></pre></div><div><pre><span style='color:black'>Also I have no problem with the viewer directory but, when I am trying to display the REACT viewer with the  sample directory, mostly everything is OK except  the « View as KML »  function. When I click on « View as KML », the function returns a pop up window to download the file mapagent.fcgi.<o:p></o:p></span></pre></div><div><pre><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:black'>With MGOS 4.0 P4 and IIS under Win10.<o:p></o:p></span></pre></div><div><pre><span style='font-size:12.0pt;font-family:"Arial",sans-serif;color:black'>Also I have no problem with the viewer directory but, when I am trying to display the REACT viewer with the  sample directory, mostly everything is OK except  the « View as KML »  function. When I click on « View as KML », the function returns a pop up window to download the file mapagent.fcgi.<o:p></o:p></span></pre></div><div><pre><span style='color:black'>Regards,<o:p></o:p></span></pre></div><div><pre><span style='color:black'>Pierre<o:p></o:p></span></pre></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><div><p class=MsoNormal><i><span style='font-size:7.5pt'>Please Note: I no longer create new posts or post replies to any OSGeo mailing list through nabble. As a result, you most likely won't see this message appear on nabble's view of any OSGeo mailing list and may only see this message through mailing list archives or depending on your mailing list subscription settings, through daily message digests or automated notifications from the mailing lists.</span></i><o:p></o:p></p></div></div></div><div class=MsoNormal align=center style='text-align:center'><hr size=2 width="100%" align=center></div><p class=MsoNormal style='margin-bottom:12.0pt'>_______________________________________________<br><br>mapguide-users mailing list<br><br><a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br><br><a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br><br><o:p></o:p></p></blockquote><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></body></html>