View Full Version : Launch the Desktop Module

Aug 11, 2020, 10:04 AM
Hi Sir,

Here is my requirement :

I wanted to launch the window when user press on button.

I have tried below code and its not working and there was an javascript error throws up, but autorun=true working perfectly. Is there option instead of autorun.

Looking for launch window based on condition.



App.Desktop1.getModule('AdminServices').createWind ow();

Below is the screen shot for quick reference.

Thank you,

Aug 11, 2020, 9:49 PM
Hello Vamsi!

Hello what you're trying should work. For instance, if you open the Desktop Example (https://examples5.ext.net/Examples/Desktop/Introduction/Overview/Desktop.aspx) and call this in the console, it will show the notepad window:


Can't tell what's wrong in your case by what you provided. Can you check this in the example and maybe expand the example to point what you can't achieve? You may just remove any other modules from the example and use just one like the "notepad" one, maybe.

Looking forward to your follow-up!