Copy document to sub site with the same content type


Badge +1

I need to copy a document from a library in a Site Collection web to a library in several sub sites. All the libraries have the same content type. My workflow will behave as follows: When I publish a major version of a document in a library in a Site Collection, a copy of the document is sent to a library in four different subsites in draft mode. Basically a cross site publishing but with subsites. How can I achieve this with K2?  


3 replies

Userlevel 5
Badge +18

Is this Sharepoint 2010 or Sharepoint 2013?


 


Perhaps one of the copy document out-of-the-box functionality.


 


2010:


http://help.k2.com/onlinehelp/k2blackpearl/UserGuide/4.6.9/webframe.html#Reference_-_K2_Web_Designer_Document_Wizard_Copy_Document.html


Or perhaps using one of the Sharepoint service broker (Sharepoint Service V2, Sharepoint Content)


 


2013:


http://help.k2.com/onlinehelp/K2ForSharePoint/UserGuide/4.6.9/default.htm#Documents_Wizards/Copy_Document/Copy_Document.htm


 


 

Badge +1

I'm asuming that the Copy Document Wizard accepts a variable in the SharePoint Site URL field, correct?

Userlevel 5
Badge +18

Usually there would be some sort of Sharpoint integration (Events Integration, Sharepoint Workflow Integration, Sharepoint 2013 integration, etc.) that will listen to an event in Sharepoint:


 


- item added, item updated, etc.


 


in which a Sharepoint site had been specified.  This will also serve as the reference to the site and libary in the wizard depending on which designer (K2 Studio, Web designer, etc.)


 


I suppose it is also possible to use K2 process datafieldhardcoding the URL, but hard-coding values usually does not provide flexibility when the process need to be deployed against different environment later on.

Reply