Thanks Kori,
<br>That works to look through the js files to see what they offer...it would be great if there was a document like:
<br><a href="http://www.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html" target="_top" rel="nofollow" link="external">http://www.osgeo.org/files/mapguide/docs/viewerapi/viewerapi.html</a><br><br>thanks
<br>gordon
<br><br>-----Original message-----
<br>From: &quot;Kori Maleski [via OSGeo.org]&quot; <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=0" target="_top" rel="nofollow">[hidden email]</a>
<br>Date: Thu, 25 Feb 2010 21:20:56 -0800
<br>To: GordonL <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=1" target="_top" rel="nofollow">[hidden email]</a>
<br>Subject: Re: How to expand legend programatically in &nbsp;Fusion
<br><div class='shrinkable-quote'><br>&gt; 
<br>&gt; 
<br>&gt; 
<br>&gt; I think it is easy enough to review the widget javascript to determine the
<br>&gt; Fusion API calls - in the case of what hasn't been documented.
<br>&gt; 
<br>&gt; <a href="http://demo.mapserver.org/fusion/widgets/" target="_top" rel="nofollow" link="external">http://demo.mapserver.org/fusion/widgets/</a><br>&gt; 
<br>&gt; 
<br>&gt; For the Legend:
<br>&gt; 
<br>&gt; Fusion.getWidgetById('Legend').renderer.expandAll()
<br>&gt; Fusion.getWidgetById('Legend').renderer.collapseAll()
<br>&gt; Fusion.getWidgetById('Legend').renderer.collapseBranch(folder)
<br>&gt; Fusion.getWidgetById('Legend').renderer.expandBranch(folder)
<br>&gt; Fusion.getWidgetById('Legend').renderer.update()
<br>&gt; Fusion.getWidgetById('Legend').renderer.clear()
<br>&gt; 
<br>&gt; For the TaskFrame:
<br>&gt; 
<br>&gt; Fusion.getWidgetById('TaskFrame').updateButtons()
<br>&gt; Fusion.getWidgetById('TaskFrame').gotoPrevTask()
<br>&gt; Fusion.getWidgetById('TaskFrame').gotoNextTask()
<br>&gt; Fusion.getWidgetById('TaskFrame').goHome()
<br>&gt; Fusion.getWidgetById('TaskFrame').setContent(url)
<br>&gt; 
<br>&gt; 
<br>&gt; Cheers,
<br>&gt; 
<br>&gt; Kori Maleski
<br>&gt; 
<br>&gt; 
<br>&gt; On Thu, Feb 25, 2010 at 5:48 PM, GordonL
<br>&gt; &lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=2" target="_top" rel="nofollow">[hidden email]</a>&gt;wrote:
<br>&gt; 
<br>&gt; &gt;
<br>&gt; &gt; Hi Mike,
<br>&gt; &gt; I have been searching for a definitive list of Fusion API calls.
<br>&gt; &gt; For example, only through some hacking and searhing have I found some of
<br>&gt; &gt; the
<br>&gt; &gt; methods and properties for some of the widgets, such as:
<br>&gt; &gt;
<br>&gt; &gt; Fusion.getWidgetById('Legend').renderer.expandAll();
<br>&gt; &gt;
<br>&gt; &gt; or
<br>&gt; &gt;
<br>&gt; &gt; Fusion.getWidgetById('TaskFrame').setContent(‘<a href="http://osgeo.org');" target="_top" rel="nofollow" link="external">http://osgeo.org');</a><br>&gt; &gt;
<br>&gt; &gt; Do you know where I can find the methods for these widgets? (like expandAll
<br>&gt; &gt; or setContent)
<br>&gt; &gt;
<br>&gt; &gt; thanks
<br>&gt; &gt; gordon
<br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt;
<br>&gt; &gt; --
<br>&gt; &gt; View this message in context:
<br>&gt; &gt; <a href="http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4636440.html" target="_top" rel="nofollow" link="external">http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4636440.html</a><br>&gt; &gt; Sent from the MapGuide Users mailing list archive at Nabble.com.
<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; mapguide-users mailing list
<br>&gt; &gt; <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=3" target="_top" rel="nofollow">[hidden email]</a>
<br>&gt; &gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>&gt; &gt;
<br>&gt; 
<br>&gt; _______________________________________________
<br>&gt; mapguide-users mailing list
<br>&gt; <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4642683&i=4" target="_top" rel="nofollow">[hidden email]</a>
<br>&gt; <a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>&gt; 
<br>&gt; 
<br>&gt; ______________________________________
<br>&gt; View message @ <a href="http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4637303.html" target="_top" rel="nofollow" link="external">http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4637303.html</a><br>&gt; 
<br>&gt; To unsubscribe from Re: How to expand legend programatically in Fusion, click <a target="_top" rel="nofollow" link="external">&lt;Link Removed&gt;</a><br>&gt; 
<br>&gt; 
<br></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/How-to-expand-legend-programatically-in-Fusion-tp4561423p4642683.html">Re: How to expand legend programatically in  Fusion</a><br>
Sent from the <a href="http://n2.nabble.com/MapGuide-Users-f1803227.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>