Forum Discussion

Steve_TTI's avatar
Steve_TTI
Level 2
17 years ago

Opening the vault search page for a specific archive

We have a need to provide a group of users access to a shared email archive (history of order confirmation emails sent to customers), however we would prefer to provide a URL that takes them to an enterprise search page with the specific vault already selected, rather than having the user click the drop down to select the vault from their list of accessible archives.

Is there a way to do this within the browser URL?  The following URL format was suggested but it doesn't appear to work in our environment (EV 7.5) not sure if that is just us or if this works for anyone else.

http://ev_server_name/EnterpriseVault/search.asp?advanced=?option=&vaultid=vaultID_for _archive

Any help would be much appreciated

3 Replies

  • Steve

    Unfortunately, this is not possible.
    I examined the code, and there is no such option for the search page. You can only use it to actually Perform the search.

    ** The following tip is provided AS-IS, and is NOT supported by Symantec. ***

    If you want to have it the way you want it, you would have to:

    1. Open up search.asp with a text editor of your choice.
    2. Search the file for:
    
    if Request.ServerVariables("REQUEST_METHOD") = "GET" then
         if  ((Request.ServerVariables("QUERY_STRING") = "") or (testcount = 1) or _
            ((bIsDomino = true) and (Request.QueryString("lotusdomain") <> ""))) then
          call DisplaySearch()

    Replace with (respectivly add the bold one):
    if Request.ServerVariables("REQUEST_METHOD") = "GET" then
         if  ((Request.ServerVariables("QUERY_STRING") = "") or (Request.QueryString("defaultvaultid").Count > 0) or (testcount = 1) or _
            ((bIsDomino = true) and (Request.QueryString("lotusdomain") <> ""))) then
          call DisplaySearch()

    (Around Line 52)


    And search for:

    sDefaultVaultID = Session("dvwsVaultID")
    

    and replace with (respectivly add the bold one):
          sDefaultVaultID = Session("dvwsVaultID")
          If (Request.QueryString("DefaultVaultId").Count > 0) Then
            sDefaultVaultID = Request.QueryString("DefaultVaultId")
          End If
    (Around Line 380)

    Save the file.

    If you now go to:
    http://<url>/EnterpriseVault/search.asp?DefaultVaultID=1E5F9E9B23B2C484C995EC86F893469001110000archive

    You will get the search window with the vault in "DefaultVaultID" selected.

    Again: *** This is not supported by Symantec ***
    but it works.

    Always keep a backup copy of the search.asp.

    Cheers
    Michel








  • I just tested, and seems to be possible. However, all links are pointing back to "search.asp" (which does not really matter...)