Any Sharepoint Developers

Soldato
Joined
1 Feb 2006
Posts
8,188
I need some help with creating a document workspace from within a sharepoint workflow. I am trying to write a custom action for sharepoint designer which will allow me to select a document and then automatically send to document workspace (similar to you can click in the GUI). All I can find is a document workspace web service.

http://msdn.microsoft.com/en-us/library/ms774590.aspx

Would it be possible to use this web service from within a sharepoint designer workflow? I plan to write this as a custom workflow action which will then be added to sharepoint designer to tie in with the other workflow settings. Anyone else do this kind of thing?
 
I havent worked on workspaces but having had a quick google its seems like just a new site of the right template type (document workspace = STS#2).

Inside that site there will be a document library

within that you just stream in and add the file to the library.

you dont need the web service.

have a look here maybe this will help

not something ive done really but hopefully that link will help.

if you need more help give me a shout but im really busy next few days working to a tight deadline.
 
Hi,thanks for the info. I have had a quick through that but it seems that the code there will add a new file to the document workspace. I want to add an existing document to a workspace so not sure that will work.

I haven't had any joy adding a web service reference to my project. I have created a workflow activity library but I cant seem to use a web service reference to it. Do you know if you can do this? The problem is that I want to use my action within Sharepoint Designer and so hardcoding a web reference in an app.config file is not ideal.
 
surely you create the new site then add the document as in that link but point it to the existing document within whatever site / location its in.

As for doing it within designer i have no idea sorry i was under the impression designer will give only very basic functionality for workflows and most workflows would need to be created outside of it.
 
Rather than start a new thread I am resurrecting this one. Anyone else here work with sharepoint in a development role? Im keen to find out about what resources you use for training and any recommendations on books/manuals that get you up to speed on sharepoint quickly. I am particularly interested in the development side of things such as WF workflows etc.
 
Back
Top Bottom