HI JinyThe problem is NOT the DMS objects. Because of the different namespaces I can't assign the values from the mContext object--for onlineDim oDocument As IManage.IManDocumentrpSelectedNRTDocuments = mContext.Item("SelectedNRTDocuments")oDocument = rpSelectedNRTDocuments(i)--for offlinedim oDocument as Com.Interwoven.MobileMode.Document (THIS WILL FAIL)rpSelectedNRTDocuments = mContext.Item("SelectedNRTDocuments")oDocument = rpSelectedNRTDocuments(i)and even if I work directly with the MContext Element The oDocument.GetCopy(DocName, IManage.imGetCopyOptions.imNativeFormat)Comamnd will failed, because VS can't map IManage.imGetCopyOptions.imNativeFormattoCom.Interwoven.WorkSite.IManage.imGetCopyOptions.imNativeFormatHere I am stuck because I need a local copy of that document.How can I adjust the 2 different namespaces to one???ThanksWolfgang
Hi,Here is my test ICommand (only about 20 lines of code) which should make a local copy (.GetCopy) of the selected document regardless if the users is in online mode or offline mdoeI can't compile it because there is a conflict with the imanage.dllIt would be great if you could have a look on it and tell me how imanage.dll (COM Object) and mobilemode (.NET) can work together in one project.Thank youWolfgangP.S.: There is a limit of 40 k for documents. Where schould I email it to?