[mapguide-users] Embed Fusion Layout in html or .aspx page

Dave Wilson dave.wilson at autodesk.com
Mon Nov 3 19:22:26 EST 2008


Unfortunately I'm not running an MGOS site. I'm working with an MGE site so I don't have that subdirectory. Where can I get a zip of that without a full download or install of the webserver?

Thanks,
Dave

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Berdel, Brian
Sent: Monday, November 03, 2008 2:13 PM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Embed Fusion Layout in html or .aspx page

Does this sample work for you?

C:\Program Files\MapGuideOpenSource2.0\WebServerExtensions\www\fusion\templates\mapguide\standard
Index.html?

The Fusion Layout is basically the ApplicationDefinition.XML file and that is called by the html or aspx page in the directory.

If you are using a template you can edit the template files as well.

Brian

From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Dave Wilson
Sent: Monday, November 03, 2008 12:19 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Embed Fusion Layout in html or .aspx page

Is there anything special that needs to be done to allow a fusion layout to be embedded in an html or aspx page? The layout loads, but commands like select within and things always generate a
'Fusion' is null or not an object error.

I'm guessing it has to be a scope problem or frame reference type of issue. With the Net consoles enabled in firebug the failure occurs in the fusion/Mapguide/php/Selection.php script

var map = GetParent().Fusion.getMapByName(mapName);

Any ideas?

Thanks,
Dave

Dave Wilson
GBU CRT, Calgary
Autodesk Canada Inc
Ph: 403.538.3069
Fax: 403.264.1442

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081103/6f0ee19e/attachment.html


More information about the mapguide-users mailing list