I am moving a document from one folder to other programmatically and then when I see the documents where used I dont get all the details but If I close and open file site I see all the details. I know I am unable to refresh the file site view. Need to know how to refresh the view after my command executes. Adding these lines also do not help. Context.Add("IManExt.Refresh", True) Context.Add("RefreshFolderContents", True) Context.Add("RefreshSubFolders", True) Context.Add("RefreshAllFolders", True)
Plz Can i get your email Id so that I can send you the required details
Hi jny emailed as per my request and no response from their end. Here is the mail which has the code and also the regsettings.--------------------------------------------------------------------------I am trying to add a wrapper to the Imanext2.IManMoveContentsCmd, hence have created an application which inherits from Icommand.The RegSettings is as follows :[HKEY_LOCAL_MACHINE\SOFTWARE\Interwoven\WorkSite\8.0\FileSite\Commands\Document]commands = "Mydll.Move"Here Mydll is the dll created by me which inherits from ICommand and Move is the name of the class fileThe Sample Code is as followsImports ImanageImports ImanExt2Public Class Move: Inherits ServicedComponent Implements ICommandPublic Property MenuText() As String Implements ICommand.MenuText Get Return "My Move..." End Get Set(ByVal value As String) End Set End Property'All other Properties defined omitted for clarity purpose'Initialize MethodPublic Sub Initialize(byval pval as object)Context = pvalEnd SubPublic Sub Update()End SubPublic Sub Execute()Dim objMoveContentsCmd As IManMoveContentsCmd = New IManMoveContentsCmd()objMoveContentsCmd.Initialize(Context)objMoveContentsCmd.Update()If objMoveContentsCmd.Status = CommandStatus.nrActiveCommand ThenobjMoveContentsCmd.Execute()End IfContext.Add("IManExt.Refresh", True)Context.Add("RefreshFolderContents", True)Context.Add("RefreshSubFolders", True)Context.Add("RefreshAllFolders", True)End SUbEnd ClassWhen I rightclick on any document in filesite(integrated in outlook 2003) I get my command listed in the menu as "My Move..." When I click My Move all the operations of default IManMoveContentsCmd gets fired and the documents also move.The following things doesnot happen as the default IManMoveContentsCmd1. The state of FileSite is not changed, i.e The documents are not shown as moved but in real they are moved if the documents are moved to a folder in a different Tree, In other words the file site view is not refreshed. If we close and open FileSite we see the refreshed state.2. If a document is moved to a folder in the same tree, and If that particular document is been also added as shortcut to other folders then on Move although the document is shown in the new Folder but still Its "Where Used" doesnot show this folder. If you close and open FileSIte you see that the "Where Used" is now refreshed.Overall I presume that my Wrapper is unable to Refresh the FileSite View after operation as the original ImanContentsMoveCommand. Please can I be helped in finding out what all am I missing.
Hi jny, The solution provided by you didn't work. And we didn't recieve any mail from devsupport asking for SDK licensce to which we could respond. Please can that mail asking for licence be resend so that I could respond.Regards,Madhu