Hi there,I want to open a document using the OpenCmd command in the IManExt.dll.I've got this code "executing" but not opening the document. Is something missing? Can anybody provide me with some sample code? :-)Language: C# Platform: ASP.NET 2.0 Worksite ver: 8.2oDoc = (IManDocument)oWorkArea.Worklist.ItemByIndex(1);OpenCmd openc = new OpenCmd(); ContextItems ci = new ContextItems(); NRTDocument Document; Document = (NRTDocument)oDoc; ci.Add("NRTDMS", myDMS); ci.Add("SelectedNRTDocuments", oDoc); ci.Add("ParentWindow",""); ci.Add("IManExt.OpenCmd.NoCmdUI", ""); ci.Add("IManExt.OpenCmd.Integration", true); openc.Initialize(ci); openc.Update(); openc.Execute();ThanxEPS. I am new to the Worksite libraries :-)
Hi,Did you ever get the file to open in asp.net c#?I am in your situation now, new to Worksite and their Interop.I have looked at the webservices, but dont see much more than viewing...got the doc paths with the objects returned but how do I open them?
The webservices dont seem to get much use, just doing a search on the service names brings nothing back. Even their webcast is such poor quality its impossible to understand what they are saying.Would you recommend to use the COM API?I have having problems with simple things like GetFolderContents returning no documents, but no error. And where do I get the ID's from in the first place? What is the best practice for opening the docs over the web? I see IW have a smooth process where something is downloaded and auto opened...is there no URL I can pass a doc object ID to which will do the same? Would you create the NRL pointer file on the fly and give the user that to download?Thx for you help with this! Much appreciated!!Steve
Hi,I got an ASP.Net application, I need to open the document in DeskSite if it is installed on the client machine, else open it in the Worksite Viewer (assuming it is installed on every client machine). This is something I have seen on Desksite, when right click and select "Send Nrl/Url". But still it open the document only in Worksite Viewer.My requirement is when the user click the Button or Link on the ASP.Net page, they should be navigate to the document, containing folder on the DeskSite. So they can make changes on the document inside Desksite itself.Could anyone tell me is this possible or not.Cheers.Gihan.
Hi Jny,Thanks for your reply. Yes that's exactly what I want to do. You got it right.Cheers.
Using the service supplied with WSW 8.2 you can perform a search and return the resulting document(s) as a byte stream.Your client that consumes the service could read the byte stream and save it to the local disk, then perform whatever operation you prefer to open the document in its native app.