Discussion:
[mapguide-users] mapguide-rest and React Viewer
GordonL
2017-11-22 16:04:44 UTC
Permalink
Hi All,
just trying out mixing mapguide-rest with React Viewer today. I love how
seamless they work together.

<Loading Image...>

My only trouble right now is how to target the URL in the tooltip to the
React's Task Pane. Any ideas?




--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2017-11-22 18:55:05 UTC
Permalink
Found it: taskPaneFrame

concat('Parcel\nName: ', RNAME, '\nAddress: ', RBILAD,
'<br> Edit Property </mapguide/rest/index.php/data/propertyeditable/',
Autogenerated_SDF_ID,
'.html> ')

Now I can edit and draw new Parcels using mapguide-rest and React Viewer...



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
BMason
2017-12-10 23:27:49 UTC
Permalink
I am looking for procedures to install and configure REST with mapguide.
thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
BMason
2017-12-11 16:00:53 UTC
Permalink
Rest is installed with Mapguide 3.0 but when calling up a record from a
tooltip I am getting an error: HTTP Error 500.19 -Internal Server Error..
the related configuration data for the page is invalid. Error code
0x8007000d which could be because the ApplicationHost.config file contains a
malformed XML element. The same code is working with mapguide 2.4 on a
different server. Does anyone have any suggestions about what could be
wrong? thanks



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2017-12-11 20:05:57 UTC
Permalink
On step 5 of this page: https://github.com/jumpinjackie/mapguide-rest

It recommends to use the Application Request Routing module for IIS
https://www.iis.net/downloads/microsoft/application-request-routing


but I have found that sometimes you need the IIS URL Rewrite module too:

https://www.iis.net/downloads/microsoft/url-rewrite





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Loading...