Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

Document Set not working from a Site/Library Template

$
0
0

Hi all,

found a strange bug ...

Created a site in SharePoint 2010, added the document set content type to a document library.  I then created some standard document sets within the document library to use in a site template.

However, when I created a new site from the site template the document sets appear as folders, with no document set info section when you go into them.  However when you do the drop down on the name in the library it shows "Document Set Version History".

It is as though the document sets were only half recreated.  I can create a new document set in the same library and that shows as it should.

Anyone else come across this?  Anyone have any tips or solutions? Incidentally the document sets are also not working when a new library is created from a library template.  They have the correct icon, but the link that has been automatically created does not work.

Oh, you can create new document sets within the newly created library (within site template or from a library template) and they work fine.  It is only document sets that are saved within the templates.

When looking at a document library from a template that included a document set the link to the document set itself has been recreated completely wrong.

This is the link on the original document set that works (Shared Documents):

http://moss2010/testdocset/Shared%20Documents/Forms/Document%20Set/docsethomepage.aspx?ID=1&FolderCTID=0x0120D520006E3D19AFB8EE93428A1FD71E196F94B1&List=31477bb2-249c-4d0c-96d4-7353c6a21c4f&RootFolder=%2Ftestdocset%2FShared%20Documents%2FTesting

This is the link (automatically created by SharePoint) on the document set that is within the document library template (docsettest2):

http://moss2010/testdocset/_layouts/DocSetHome.aspx?id=/testdocset/docsettest2/Testing&Source=http%3A%2F%2Fmoss2010%2Ftestdocset%2Fdocsettest2%2FForms%2FAllItems%2Easpx%3FInitialTabId%3DRibbon%252ELibrary%26VisibilityContext%3DWSSListAndLibrary&DefaultItemOpen=1

Cheers,

Z.

UPDATE:

I have found a way around these bugs which is to use the PowerShell cmdlets "export-SPWeb" and "import-SPWeb".  Using these to take a backup of the existing site I want to use as a template for new sites recreates the document sets in a library as they should be.  Not the best method, but it should solve my problem short-term.


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>