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

Question

Question

WebLink - Search link for 2nd repository doesn't show on Welcome page by default

asked on October 14, 2014 Show version history

First off, we're battling a .net issue with the WebLink Designer so using it is not currently an option.

 

I'm attempting to add a link to a search form that connects to a second repository; however, it only shows the links to our first repository. If I manually type in http://hostname/WebLink8/login.aspx?dbid=1, the link is there (without the links to the first repository).

It appears that WebLink is only showing the links to the dbid that you're currently logged in to. Dbid 0 is the default.

Is it possible to show the links to the search forms for both repositories on the welcome page? Or do I need to find a way to hard code a link to the login page for dbid1? A sample of my bookmarks.xml file is below.

 

Thanks!

 

<?xml version="1.0" encoding="utf-8"?>
<Weblink.Config xmlns:lf="http://schemas.laserfiche.com/Weblink/8/Bookmarks" xmlns:asp="http://schemas.laserfiche.com/Weblink/8/System.Web.UI.WebControls">
  <Repository Name="Repo1">
    <Bookmarks>
      <SearchForm ID="DocumentSearch" Display="">Document Search</SearchForm>
      <SearchForm ID="Invoice" Display="">Invoice Search</SearchForm>
      </Bookmarks>      
   </Repository>
  <Repository Name="Repo2">    
     <Bookmarks>
       <SearchForm ID="DocumentSearch2" Display="">Document Search Repo2</SearchForm>
     </Bookmarks>
  </Repository>
</Weblink.Config>

0 0

Replies

replied on October 14, 2014

A WebLink user can only be logged in to one repository at a time, which is why WebLink shows the forms for only the current repository.  You can make your own landing page (outside of WebLink) that has links to the search forms, and the user will be logged in to the appropriate repository when they are presented with the form.  I think you'll need to add the correct dbid to the link.  If the user is going to be switching between repositories, it might make more sense to have separate virtual directories (i.e. 2 instances of WebLink) so that the user can be logged in to both at the same time.  Otherwise you may run into problems with doc viewers or folder browsers disconnecting each other.

1 0
replied on October 15, 2014

Thanks Brian. I'll look into doing the two separate virtual directories to see if it's a good option for us.

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

Sign in to reply to this post.