how to open window from one designer project from button click in another project
how to open window from one designer project from button click in another project
Hi,
I do not think this is a deisnger question as this will all be done in the generated .js file. I have two projects in designer. The first is a viewport with a button in it. The second is a Window. how do I call the window from the button? The following will open the window in side a window (not at all desireable).
The first project has a root container of a viewport. To simplify, envision a single button on that viewport (obviously not real-world).
The second project has a Window as the root container.
The first project is what is run http://<myServer>/<myApp>/designer.html. I want to call the window I created in the second project so that it comes up inside the current browser in the "click" function.
Since I'm using designer, the two projects are exported to separate locations on the web server. The generated designer.js for each product are as follows:
First Project: