05-08-2013 08:49 AM
Hello,
Currently when I click the restore button for an email I am presented with a dialog that has 3 fields:
Microsoft Exchange Server:
Mailbox:
Folder: (This is read only and currently only allows restoring to the 'restored items' folder)
1. Is there any way to auto populate the Microsoft Exchange Server field with a value as the end users aren't going to have a clue what to put in there...
2. Auto populate the Mailbox for the username that is accessing the viewmessage.asp page
3. Allow the user to either select a folder or restore to the original location (If these don't exist then restore to 'restored items' folder)
Thanks
John
Solved! Go to Solution.
05-09-2013 01:31 AM
You should be able to include the parameters in an .asp call such as:
http://evsql/EnterpriseVault/restoreo2k.asp?vaultid=18A5257C941B9A84F8A6CA597937F3B611110000evsql.ev.local&savesetid=201305098087911~201305090823590000~Z~50DCD63664E2BF1F1863F08244231E11&mbx=rob1&server=exch1
Easiest way to find the values for mbx, and server are to do an Active Directory query to get the Exchange Server name and the mailbox alias... maybe?
05-08-2013 09:16 AM
if you access this from outlook it will auto populate that info for you
05-08-2013 10:32 AM
Thanks,
But I can't access this from outlook as I am hooking into this asp page from a custom search solution.
If I could somehow replicate the code used by outlook into this page it would be perfect.
05-08-2013 02:31 PM
05-08-2013 02:56 PM
as far as i know, the parameters are pulled from the EV client passing on in the link when accessed from within Outlook. if you want to figure it out you could query EV's sql for the attributes you're looking for.
05-09-2013 12:30 AM
05-09-2013 12:32 AM
I am not sure you can include the parameters in URL for this particular asp page (haven't test this though)
05-09-2013 01:31 AM
You should be able to include the parameters in an .asp call such as:
http://evsql/EnterpriseVault/restoreo2k.asp?vaultid=18A5257C941B9A84F8A6CA597937F3B611110000evsql.ev.local&savesetid=201305098087911~201305090823590000~Z~50DCD63664E2BF1F1863F08244231E11&mbx=rob1&server=exch1
Easiest way to find the values for mbx, and server are to do an Active Directory query to get the Exchange Server name and the mailbox alias... maybe?
05-09-2013 01:56 AM
Yes, I have been researhing this more today
the viewmessage.asp appears to call restoreo2k.asp
(although I am not sure where the actual code for the 'restore button' click action is??? as this would be the ideal location to include code to get the exchange server name and mailbox of the user)
When you click that restore button it first appears to check a cookie to see if you entered the details before.
If you haven't then it loads /EnterpriseVault/viewmessageoptions.asp?dialog=1&noviewer=1 for you to enter them manually (pretty useless for an end user as they won't know what values to include).
The code in viewmessageoptions.asp seems to suggest if you have single sign on these values may be auto populated? (see below), Is it your understanding that single sign on will auto populate the values? if so how do you enable SSO?
//Check for sso, in which case we only allow restore's to the given mailbox.
05-09-2013 06:13 AM
The source code.. you can view as they are just asp files on the enterprise vault server.
06-03-2013 11:34 PM
Is there anything else that you need with this issue?