You are viewing limited content. For full access, please sign in.

Question

Question

Open additional mainwindow

SDK
asked on September 11, 2015

Hello, is there a way to open an additional MainWindow without affecting existing MainWindows for the same client instance? The new MainWindow would use the same client instance server and repository as the existing MainWindows. Thanks!

 

 

 

0 0

Replies

replied on September 11, 2015

This isn't currently possible without launching a new ClientInstance, what are you trying to accomplish?

0 0
replied on September 11, 2015

Thanks so much for the quick response Robert. We have a process where a user selects an entry from a particular folder then selects a custom button that launches a program. We then want that program to open an entry in another folder in a new MainWindow so the original MainWindow remains unchanged. We don't want to require the user to manually open a new window. I attached a screen shot.

Laserfiche1.jpg
Laserfiche1.jpg (404.13 KB)
0 0
replied on September 11, 2015

Interesting, I can see the usefulness. The closest thing available is to call mainWindow.LaunchSearch with with Query={LF:LOOKIN="\the folder to show", SUBFOLDERS=0}NewWindow=true, LeftPaneDisplay=LeftPane.Search. This will open a new window with the contents of that folder. I have filed a feature request for opening a new MainWindow directly.

0 0
replied on September 14, 2015

You could also use CAT and/or Win32API to open a new LFDesktop window to the folder you want.

0 0
replied on September 15, 2015

Thanks Bert!

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.