.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Site templates and Library Labels

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :SharePoint
I have been having an issue with labels and a document library... I have a created a document library...docs, with a new site content type ...doc1 If I then save site as a template....works fine. However, the template I have for the content type doc1, has a Quick Part (label) added to it to show the document version number on the document. In order for this to pass from the library to the document, I need to activate labels on the list through the Information Management policy settings on the library. I have done this  and got the template working correctly, updating the version number within the document. But, now if I save site as a template I get the error...   Error Error exporting the list named "Docs" at the URL: Docs Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: ea226ba4-0a68-4cfb-9b6f-c557f4ec8ab6 I have tried saving the template at every stage and it is fine up until I turn on the Label option. Any ideas?

View Complete Post

More Related Resource Links

Master Pages: Master Your Site Design with Visual Inheritance and Page Templates


Master pages in ASP.NET 2.0 solve a problem many Web developers have been solving on their own with a variety of techniques for years - providing a single master template for an entire site. This article covers the details of master pages, discussing their usage and implementation and how they are a natural evolution of custom techniques developers are using today.

Fritz Onion

MSDN Magazine June 2004

Search does not find text in Word document stored in document library on a Report Center site within



We have a document library on a site created off of the Report Center site template. We uploaded a Word 2007 document with the word zebra in the text. Using the search bar at the top of the page we selected This list: Our document library and searched for zebra. We received no results.

We tested the same thing on another site (site template Team site) within the same site collection and search worked fine.

Does the Report Center search function differently then the search functionality on the Team site?

Tamara Bredemus SharePoint Minion...working up to Maven

Error adding a document library to a site



I am receiving the error "Cannot complete this action.  Please try again"  when trying to add a document library to one of the sites.  This is Sharepoint 2007 SP1.  I seem to be able to do it thru designer but not the web interface.

Does anyone know how to fix this?

Unable to create columns in document library after applying custom master page to site

Hi, I have applied a custom master page to a site.There is a document library in it. I am unable to add columns in it or change the default view.Nothing happens when I click on OK butoon after making my changes. However the columns are created/default view is changed when I apply the default master page. Guess I am missing some TagPrefix or sharepoint control on master page.I had solved this problem earlier in this way but don't remeber it now. Can anyone help?

ASP.NET Web Site Templates

I need to redo a web site, and I'd like to start with a fancy template that's asp.net based.  There are tons of web site templates out there, but I'm not finding any that are focused on asp.net developers.  I've purchased an html/.css template, but it's a pain to integrate it into a web site in VS 2010.  I'd gladly pay $100 for a pre-built project.  Does any one know of a site offering such templates? 

New Document Library in a subsite is inheriting permissions from wrong site

I have a site collection (using the out-of-the-box Business Intelligence site template) called "BI Home". A couple weeks ago I created a bunch of subsites (Finance, Regulatory, Marketing, etc.) all using the BI site template, and then created a Document Library called "Reports" in each one of those subsites. Those are all working as expected. Yesterday I needed to create a new subsite (again, a BI site just off the root site collection) called "Operations". I created the subsite, and then created the "Reports" document library underneath it.  When I went to modify the permissions of the new document library (located here: /Operations/Reports), it said it was inheriting permissions from it's parent: "BI Home".  Why would this be?  Shouldn't the parent be "Operations" ?? All my other sites' "Reports" folders are inheriting permission from their respective parent, but any new sites I create seem to have this issue. Thanks in advance for any insight someone may provide! [SharePoint 2010 RTM on Win2k8R2 using SQL 2008R2 RTM on Win2k8R2]

How to show a document from the Document library from another site?

I have a document library that includes all documents of portal in site A "Document center". How to display documents in site B "Personnel"? We need to show to documents, which have metadata column "personnel" in the site B.  Kenny_I

SharePoint 2010 - noticed a possible bug with regard to custom site templates.

Hi All, I'm wondering has anyone else noticed this behaviour in relation to custom site templates. I wanted to move an site A ( content included ) from site collection A to site collection B. I saved site A as a site template ( content included ) I uploaded the site template to site collection B's solution gallery. I created Site B on site collection B using this site template. unfortunately the top links to site A have been preserved causing major confusion to the users. i.e. the shared documents document library link and the tasks link both link to Site A! the links to documents within the document library on the other hand are to site B!? Is this a known issue ? Is this something that I should have expected to happen? look forward to hearing other folks experience with this functionality. thanks and regards, Counie  

Best Way to Convert MOSS 2007 Site Templates to SharePoint 2010 Templates

Ok, I just treid to do something that I didn't really think would work, but now that I've seen it fail, I get to ask the question. Is there a best practice on converting site templates built for MOSS 2007 to SharePoint 2010. We have several projects that used the Visual Studio Extensions (v1.3) and the SharePoint Solution Generator to build custom site templates and the .wsp packages. I can add and deploy the solution packages using the STSADM tool, but when I try to create a sub-site based on that template, I get an Object Not Set to an Oject Reference Error. In case anyone is wondering, it works fine in MOSS 2007. I have not tried Visual Studio 2010 yet (it's downloading in the background). I'm just wondering if anyone has run into this and what they did to fix it. TIA, John.

Types of site templates

There are a number of articles around that list the different types of site template available in Sharepoint 2010. Some of the templates that appear in these lists do not appear as options when you go to create a new site. SPSNEWS#0 for example. Are these templates that should no longer be used? 

Applying site templates fails

Hi, I MOSS 2007 we have created several site templates - all based on 'team site template' and ONLY customized using the browser. All ‘source sites’ are kept in one web app. We have 1)      Migrated this web app to SP 2010 2)      Saved the sites as ‘site templates’ resulting in .wsp-files 3)      Created a site collection WITHOUT reference to a site template 4)      Connected to the  site coll – ‘choose template dialog’ shows up 5)      Added/activated solution (.wsp-file) to the site coll 6)      Tried to apply the custom site template – results in the following error message: ”Filen blev ikke fundet. (File Not found) Fejlfinding af problemer med Microsoft SharePoint Foundation. Korrelations-id: 333faed9-fe3e-4c46-aa4d-2d40fb162c01 Dato og klokkeslæt: 10-09-2010 11:02:24 ” Tracing using the correlation-id exposes a lot of data – too much to insert here – but this extract might be important: “Area     : SharePoint Foundation Category : General Level    : High EventID  : 8l36 Message  : Failed to activate site-scoped features for template 'STS#0' in site 'http://skabelon2010.xxx.xxx.xx/site

Disable site templates via powershell?

I'm looking to disable certain site templates available to users via the "create site" menu and would like to just do it for one entire web application, but not the whole farm. Is there a way to do this via powershell? (It honestly baffles me that this still isn't a UI control via central admin)

Save as Site Template issue with Enable Labels Policy

I am having issues saving a site as a template. I have a basic team site. The only thing i have done is set 'Enable Labels' on the Shared Document library, the label format being {version} I then try to save site as a template and get the error... Error Error exporting the list named "Shared Documents" at the URL: Shared Documents Any ideas? I have replicated this issue on a new build of SharePoint 2010 in a test environment.

Hidden site column shows as 'optional' in created document library

In Sharepoint 2007, I created multiple site content types.  From these I created other content types based on the original site content types.  To these second group of content types I added a site column which is hidden.  I craeted a document library and saved it as a template.  I then created a new document library using teh document library template.  When I then look at the hidden column for the content types in the document library, the previously hidden column in the default content type is now 'optional'.  The hidden column in the other content types is still showing as hidden.  Any clues as to why?  Thanks in advance.

Administratively-Approved Form Templates not updating in Form Library


I did not have this problem for non-administrator-approved templates.

I have managed codes for an administrator-approved templates. After I made C# changes to the template, tried all kinds of way, have the newest version in the forms template doc lib, however, the form document library still refers to the old one, even after I clear the infopath cache folder as RW_IOWA recommended.

I feel the upload/upgrade template page in central admin should take care of this changes, the document lib using the form template should automatically get the changes.

Anywhere could I make a mistake?


Only fiew part of document library in site page



I'm trying to create a site page containing a part of a document library. I've added a data view web part to my page and then I can see all documents and folders of the library on the site page.

Problem is that I only want to see documents and subfolders that are in a specific folder of the library. I've tried to set the folder scope in designer to "Show only files of a specific folder", but I don't know where to specify the folder. Then I tried to do the same using a filter on the path, but this doesn't work with a "greather then" filter.

Has anyone tried to do the same and how?

Thanks  a lot!

document library in sharepoint site..

I need upload only MS Documents like extension with .doc,.docx,.txt and prevent from extension with .img,.gif...I mean to say dont upload  image files into the document library in sharepoint site..
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend