cancel
Showing results for 
Search instead for 
Did you mean: 

Opening the vault search page for a specific archive

Steve_TTI
Level 2
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 3

MichelZ
Level 6
Partner Accredited Certified
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









cloudficient - EV Migration, creators of EVComplete.

TonySterling
Moderator
Moderator
Partner    VIP    Accredited Certified
Hey Michel,

Could they copy and rename search.asp to something like CustomSearch.asp, make the changes you suggest and then point the browser to http://<url>/EnterpriseVault/Customsearch.asp?DefaultVau...

That way their search.asp is intact.  I am not sure of any dependancies for the asp to be named Search.asp, however. 



MichelZ
Level 6
Partner Accredited Certified
I just tested, and seems to be possible. However, all links are pointing back to "search.asp" (which does not really matter...)

cloudficient - EV Migration, creators of EVComplete.