<div dir="ltr"><div>Use "resource" instead of "ApplicationDefinition" as the query string parameter.</div><div><br></div><div>- Jackie</div><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div></div></div></div><div>You wrote:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">With MGOS (build 9862) and IIS under Win10.</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I  have no problem to display the REACT viewer when I am using the viewer directory (ziewer.zip or  yarn install from the source) .</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">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">http://localhost/mapguide/sample/sample_template.html?ApplicationDefinition=Library://Samples/Sheboygan/FlexibleLayouts/React.ApplicationDefinition&locale=en</a></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Note : I have a React flexible layout (react.xml) in FlexibleLayouts of the Sheboygan package </pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I have the following message :</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">An error occurred during startup</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">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</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">With MGOS 4.0 P3 and IIS under Server 2012 R2</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">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.</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">With MGOS 4.0 P4 and IIS under Win10.</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">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.</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Regards,</pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Pierre</pre></div></blockquote><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="1"><i>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.</i></font></div></div></div>