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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

SharePoint Content Types for Folders and Sub Folders

Posted By:      Posted Date: October 03, 2010    Points: 0   Category :SharePoint
 

Hi,

Is it possible to create a content type as Folder in a document library and a predefined Sub Folders under the Folder content type. 

Ex: MyTopLevelFolder is the content type in a document library and when i create this content type it would create below sub folder along with the content type

SubFolder1

SubFolder2

SubFolder3 

....

Can it be done programmatically in SharePoint Foundation Server 2010.

 

Any help appreciated. Thanks in advance.




View Complete Post


More Related Resource Links

difference between folder content type and creating new folders in sharepoint list 2007

  

Hi All,

i want to know what is the difference between creating a folder content type and creating new folder in a list.

After creating a Floder Content Type add this to list i am little bit confiused ,means i can also do it by creating a simple folder to the list.

any help regarding this will appreciated...


Thanks and Regards Er.Pradipta Nayak

SharePoint Tutorial - Content Types

  
SharePoint content types provide users with a way to manage and organize content in a more meaningful way. It's a reusable of settings you want to apply to a particular type of document in a library or item in a list.

SharePoint document migration challenges when migrating files and folders

  
There are several challenges when migrating documents to Microsoft SharePoint. While these challenges can be overcome, they are a real pain if the migration source, content and file systems are not SharePoint friendly.

Office Apps: Integrate VSTO with SharePoint Content Types

  

See how to build a document-level Visual Studio Tools for Office customization and integrate it with a content type in SharePoint.

Steve Fox

MSDN Magazine May 2008


Quick Note: Create Custom Content Types in SharePoint 2010

  
Learn how to create a custom content type. Then you add two fields to the content type: a new text field and a field that already exists in web site.

Quick Note: Create Lists with Custom Content Types in SharePoint 2010

  
Learn how to create a list in SharePoint Server 2010 and associate it with a new content type. Next, you disassociate the list from the content type and then delete the list.

Video: What are SharePoint 2010 Content Types?

  
This video provides an overview of working with Content Types programmatically. (Length: 2:59)

Video: Programming with SharePoint 2010 Content Types

  
This video demonstrates how there are certain types of things you can do with Content Types programmatically that are not achievable with the UI. (Length: 5:33)

Video: External Content Types and Business Connectivity Services for SharePoint 2010

  
This video discusses the concept of external content types for Business Connectivity Services. (Length: 1:34)

Best Practices for Content Types in SharePoint Server 2007 and Windows SharePoint Services 3.0

  
Learn best practices to develop, deploy, and manage custom content types, as well as scenarios for making updates to existing content types in lists.

SQL Server Management Studio cannot save new files to SharePoint folders

  
If the file already exists I can save changes to the file. But I cannot save new scipt files to a SharePoint 2007 drive.

SQL Server Management Studio cannot save to SharePoint web folders (WebDAV)

  
SQL Server Management Studio (2005 and 2008) seems incapable of writing to files in a web folder (WebDAV, web share).  We have web folders served by our SharePoint 2007 SP1 server, \\servername\folder\folder\etc.  Management Studio can't write to them: When I open a file from SharePoint and edit it, the Save option under Fle is not available If I edit a file in SharePoint and save it as a new file, it lets me, but then when I close it and try to find it again, it's not there in the folder. If I open a new file and trying saving it to SharePoint, I get the error, "The specified URL could not be found, or you do not have appropriate permissions". Permissions are not the issue: all our other applications can read & write files in these SharePoint web folders.Any ideas?

SQL Server Management Studio cannot save new files to SharePoint folders

  
If the file already exists I can save changes to the file. But I cannot save new scipt files to a SharePoint 2007 drive.

Copy sharepoint 2007 folder (with sub folders) with all the security permissions

  
I am looking to copy a common sharepoint folder(sub folders) in 2007 with all the security permissions intact, to a different location in the same site, Does anyone know how to do this?

Copy sharepoint 2007 folder (with sub folders) with all the security permissions

  
I am looking to copy a common sharepoint folder(sub folders) in 2007 with all the security permissions intact, to a different location in the same site, Does anyone know how to do this?

Sharepoint 2010 Missing Content Types

  
Has anyone run into an issue where your system's base content types dissappear after deploying a new site definition.  We are doing a proof of concept using several CMS solutions and decided to see how sharepoint would fare in the process.  I worked on the POC for 6 weeks without any issues.  After selecting sharepoint as the solution I started refactoring my code into a more logical structure as many of the components were developed from sample code.  I created a couple of custom site definitions that were pretty simple.  Basically I copied the onenet.xml from the publishing site template that sharepoint uses and made a few simple modifications like associating my custom master page and a custom content type with the default page.  When I initially developed these I had no issues at all but yesterday I suddenly was not able to create sites using these site defs.  I figured there was some kind of conflict with my old templates so I deleted all site collections on the server and then tried to create a new site collection and then I couldn't even create a base publishing site.  I got an error indicating the base content type did not exist.  After spending hours going through logs it was clear that sharepoint was not able to build the content type hiearchy when creating new sites so I took a look at the UI and there were only abo

Sharepoint 2010 & Exchange Public folders?

  
HI All, We are planning to move our Public folders to SharePoint 2010. But Before I would do that. I would like to know: 1. Can we receive emails with attachments in Sharepoint 2010? If yes, how the attachments are stored? Inside the email or separate? 2. How the mail enabled library and lists are different from Mail enabled public folders and Distribution list? 3. What is the format of the mail, .msg or .eml when saved in SharePoint? 4. How do we view content of the sharePoint public folder site inside outlook client? 5. What are features of Public Folders that I can't accomplish using SharePoint 2010?     Your help would be highly appreciated...      
Categories: 
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