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

Question

Question

Can I use 'LaunchSearch' method to initiate the search currently needing to be performed in the Quick Search?

asked on August 11, 2014

 I was asked by a client to produce certain functionality and had informed them that I believe the use of the SDK was needed.

 

The idea is to give users a secondary button on their LF Client that would be able to be presses instead of the magnifier for the quick search, and the quick search is performed for them as well as using the CAT Libraries to further manipulate the returned values. 

 

Does this method work for this use case? Would a different method be more appropriate for this situation? I already have the research done for the aspect of the CAT functionality after the quick search is performed, but they want the option of selecting immediately when running the search if they want that to occur, so i was hoping to provide a toolbar icon for them to kick the process off. 

 

Thank you in advance for your help,

Ken

0 0

Answer

SELECTED ANSWER
replied on August 12, 2014

Hi Ken,

 

For this kind of thing you could use LFImageEnable.dll called via a .vbs. However if using Citrix or Terminal Server, .vbs scripts are disabled by default, in which case a small .exe is required. 

 

Another option is calling lf.exe:

 

(username and password can be replaced by -W for windows authentication)

LF.exe -lRepositoryName -nUsername -pPassword -s"({Lf:Name=\"*docname*\", Type=\"DBFS\"}) & {LF:LOOKIN=\"RepositoryName\\SubFolder\"}" 

 

This example was first published by Robert Strickland here:

https://support.laserfiche.com/forums.aspx?Link=viewtopic.php%3ft%3d17799%26amp

and more info is in the LF help file:

http://www.laserfiche.com/support/webhelp/Laserfiche/9.1/en-US/UserGuide/Laserfiche_Client.htm#ShortcutsURLs/Login_Automatically.htm%3FTocPath%3DShortcuts%20and%20URLs%7C_____2

 

Is that what you're after?

0 0
replied on August 12, 2014

I do not see anything in the ImageEnable documentation that would allow me to perform the search using the terms in the quick search area. Thanks for the suggestion though.

0 0
replied on August 12, 2014
No, it doesn't do that specifically. It allows a scripted search. I guess I misunderstood your requirement.
0 0
replied on August 12, 2014

That's fine, I think it would be better anyways to allow the secondary functionality that I already know we can do be the only functionality

0 0
replied on August 12, 2014

The Quick Search is not a special type of search, it's just running the basic search for the user without going through the search pane.

0 0
replied on August 12, 2014

yes, but if they are only being trained to use the quick search, then that is where the search term will be located, and I was wondering if I can use anything in the SDK to start the search, and then manipulate the client window after the search completes.

0 0

Replies

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

Sign in to reply to this post.