locked
Doc Workspace - Iteration RRS feed

  • Question

  • I have seen several posts online that state to use the Lists object to iterate through a DWS (Document Workspace) within Sharepoint. Unfortunately, i have not been able to successfully get the operation to iterate successfully. Caveat, is that there is either very little information on how to iterate through a DWS for a site or I am not punching in the correct keywords to bring them up. Could someone point me to a url that will enlighten me on how to properly connect to the DWS and then i need to be able to take a document, copy to a cache directory, extract data out of it, and then delete the cache copy.
    "I am the reason, Curiosity killed the Cat!" Please be patient, there are times where i do not respond for weeks at a time. Developer Fusion Tool
    Tuesday, December 6, 2011 7:53 PM

Answers

  • Got it to work but had to learn alot about the CAML structure used for submitting the fields necessary for the return XML.  As soon as i get the code cleaned up, i will post a copy of it for others to consume.
    "I am the reason, Curiosity killed the Cat!" Please be patient, there are times where i do not respond for weeks at a time. Developer Fusion Tool
    • Proposed as answer by star.warsModerator Wednesday, January 4, 2012 9:57 AM
    • Marked as answer by goldbishop Thursday, February 9, 2012 7:48 PM
    Friday, December 30, 2011 10:36 PM

All replies

  • A workspace is just another site, correct?  So, I would assume that SPSite will get you into the ballpark, then whatever it takes to hit a library. (I'm green with the hierarchy, but hopefully this will spark idears.)
    Steve Clark, MCTS | Twin-Soft.com
    Thursday, December 8, 2011 3:00 PM
  • As far as i know you cant use the SPS framework outside sharepoint.  I am using the exposed web services process out of "_vti_bin" to extract the information.  I need to know if there is a better way of doing this cause building an XMLDocument with Nodes/Elements and then sending it to the web service to receive a document and then extracting certain attribute/nodes to then send back an XMLDocument to obtain further information seems a little counter productive or overly cumbersome to do on a repeated basis.

    I understand the need for communication but to revert back to old asp communication model of Get, Post, Request, Response, etc seems to be taking us back 10yrs instead of moving forward.  I am more of looking for a better way of doing this than XML communication.  I dont have the luxury of being able to do this from within Sharepoint and i have to do this from another internal server and communicate with the Sharepoint site.


    "I am the reason, Curiosity killed the Cat!" Please be patient, there are times where i do not respond for weeks at a time. Developer Fusion Tool
    Thursday, December 8, 2011 4:19 PM
  • In 1991, Access 1.0 was released, and it is still more powerful, from a database standpoint, than is SharePoint 2007. That being said, you should feel fortunate that you're only 10 years into the past.

    The object model was created to allow programmers to do, I think, what you're doing.  It's probably not great, but at least it's there.


    Steve Clark, MCTS | Twin-Soft.com
    Friday, December 9, 2011 2:34 PM
  • Got it to work but had to learn alot about the CAML structure used for submitting the fields necessary for the return XML.  As soon as i get the code cleaned up, i will post a copy of it for others to consume.
    "I am the reason, Curiosity killed the Cat!" Please be patient, there are times where i do not respond for weeks at a time. Developer Fusion Tool
    • Proposed as answer by star.warsModerator Wednesday, January 4, 2012 9:57 AM
    • Marked as answer by goldbishop Thursday, February 9, 2012 7:48 PM
    Friday, December 30, 2011 10:36 PM