Hi all,

I am trying to access the Viewer API functions from the main page of my application, i.e. the page that has the WebLayout embedded (or the iframe). I cannot seem to grab the exact frame from which these functions would be accessible. I tried using <code>document.getElementById("viewerFrame").GetMapFrame()</code> (viewerFrame is the name of the iframe) putting it in the onload function of the iframe but it returns <b>"Object doesn't support this property or method"</b>. Can anyone help me in this regard?

Thanks!
uXuf
<br><hr align="left" width="300">
View this message in context: <a href="http://www.nabble.com/Calling-viewer-api-functions-from-the-main-page-tp14699670s16610p14699670.html">Calling viewer api functions from the main page</a><br>
Sent from the <a href="http://www.nabble.com/MapGuide-Users-f14845.html">MapGuide Users mailing list archive</a> at Nabble.com.<br>