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

Question

Question

is there a way to open a laserfiche document from search url?

asked on September 22, 2015

We have a situation where Weblink is integrated with peoplesoft using an entry ID. The search always returns only one document. The tie between the two systems is in a field called "RelContractNumber". We successfully return only one result each time, but then the user has to click on the result in order to display the document. In earlier versions, I remember that we were able to default to the document opening, and a list if more than one was returned. Is there a way to accomplish this in Weblink 9?

Thanks!

Eren

0 0

Replies

replied on September 22, 2015

Hi Eren,

Can you provide a sample URL with the search command that's being used? I did a generic test in WebLink 9 using a URL similar to the one from this page and when there is only one document that is returned in the search, the document is automatically opened.

http://server/WebLink/Search.aspx?dbid=0&searchcommand=%7B%5BGeneral%5D%3A%5BDocument%5D%3D%22maui%22%7D

Regards

0 0
replied on September 23, 2015
0 0
replied on September 23, 2015

Thanks Eren. This is due to the search.aspx page being modified to enable grid view for the search results. We'll look into a way to allow automatic opening of the document when there's only one result returned while using the grid view for the search results.

0 0
replied on September 24, 2015

Could you do some kind of javascript where it was a case break, if it only returned one result, then displayed with grid view attribute set to false, and if it returned multiples, then it would be set to grid view?

 

0 0
replied on September 30, 2015

Alex,

When you say " We wil llook into a way. . ." does that mean soon? Or for a next release?  I'm trying to set some expectations with my customers.

Alternately, would there be a way to setup a separate instance with parameters? Or does that have to be a global setting? 

Thanks again!

Eren

 

0 0
replied on October 12, 2015 Show version history

Eren,

 Try setting the "AllowImageEnable" attribute on the "<weblink:SearchResultsBrowser" control to true to see if that helps the problem. When I turned on this variable I was able to directly open the document from the search with the grid enabled.

 

<weblink:SearchResultsBrowser id="TheSearchResultsBrowserGrid" runat="server" width="100%" MaxLength="20" Enabled="true" AllowImageEnable="true" />

 

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

Sign in to reply to this post.