The SPA can be run within an iframe on a Metrici page or outside of an iframe. This has nothing to do with the hidden iframe mentioned in the Calling Metrici web services from the SPA topic.
- If the SPA runs within an iframe the user will be presented with all the normal navigation from Metrici. The page will, however, need to be sized to hold the SPA. There are two aspects to this: sizing the iframe to the SPA content, and sizing the SPA to the outer window. The former of these will be carried out automatically by the SPA controller page, but some additional logic may be required to make the SPA fit the outer window.
- If the SPA runs outside an iframe, it will need to provide appropriate navigation back into Metrici.