Loading Windows
There are two different ways to load windows into the Viewport Engine.
changeViewport() - This method assumes that the window div has already been loaded into the users computer. You should use this when your plugin is trying to load either an internal window or another window within your plugin. If the code for the referenced window has not been loaded, a 404 error will be returned.
createNewViewportWindowToCache() - This method first downloads the plugin code from the Customization Engine, then carries out the changeViewportForPlugin() function. The difference between the two functions is that the changeViewport() function can only load hardcoded plugins, and this function loads windows from plugins.
Last updated