[mapguide-users] Ré: Re: REACT Sample
pierre.cardinal pierre.cardinal
pierre.cardinal at sympatico.ca
Thu Aug 25 09:20:16 PDT 2022
Hi Jackie,
Thank you for your prompt answer
For cases 2 and 3 (MGOS 4.0 P3 and IIS under Server 2012 R2, MGOS 4.0 P4
and IIS under Win10)
I was already using the "resource" parameter.
For case 1 (MGOS (build 9862) and IIS under Win10)
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.
Pierre
------ Message d’origine ------
De: jumpinjackie at gmail.com
À: mapguide-users at lists.osgeo.org
Envoyé: jeudi 25 août 2022 09:09
Objet: Re: [mapguide-users] REACT Sample
Use "resource" instead of "ApplicationDefinition" as the query string
parameter.
- Jackie
You wrote:
With MGOS (build 9862) and IIS under Win10.
I have no problem to display the REACT viewer when I am using the
viewer directory (ziewer.zip or yarn install from the source) .
But when I am trying to display the REACT viewer with the sample
directory,
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>
Note : I have a React flexible layout (react.xml) in FlexibleLayouts of
the Sheboygan package
I have the following message :
An error occurred during startup
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
With MGOS 4.0 P3 and IIS under Server 2012 R2
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.
With MGOS 4.0 P4 and IIS under Win10.
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.
Regards,
Pierre
--
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.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
<https://lists.osgeo.org/mailman/listinfo/mapguide-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20220825/ab2d5199/attachment.htm>
More information about the mapguide-users
mailing list