views:

196

answers:

1

I've tried many variations.

  1. Send To Library - That creates a Zipped file in the Drop Off Library, then it doesn't route via the rules in Content Organizer
  2. API - I've tried to do an Export, Import, but always receive the same error. This is per this MSDN documentation: http://msdn.microsoft.com/en-us/library/microsoft.office.documentmanagement.documentsets.documentset.create.aspx

Sample snippet:

byte[] exportedFile = set.Export();

DocumentSet.Import(exportedFile, DocSetNameToCreate, targetFolder, dsCt.Id, properties, web.CurrentUser);

Error Received:

DocID: Site prefix not set.

+1  A: 

Finally got it to run. This is related to the Document ID Feature. Make sure it is activated in each site. Let is run over night (timer jobs need to run). Then the content organizer will successfully move and unpackage your document sets.

Shane