Hi, I'm testing the react layout (v0.8 - Ajax Viewer). When I use the layout with the weblayout-resourceId in the URL, it works fine. As described in the Developer Guide <https://github.com/jumpinjackie/mapguide-react-layout/blob/master/DEVELOPING.md> , there is a way to set the resourceID within the mount function.
viewer.mount(el, { layout: "ajax-viewer", //The layout to use agent: { uri: "../mapagent/mapagent.fcgi" //The mapagent url }, resourceId: "Library://Path/To/Your.WebLayout" }); But this isn't working for me. "An error occurred during startup No resource parameter found. This viewer requires this parameter to be set in the query string and must refer to a valid Web Layout or Application Definition" Is it still supported? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/react-layout-Embedding-the-viewer-is-not-working-without-resourceId-in-URL-tp5309876.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list mapguide-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapguide-users