Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, June 26, 2012 9:28 AM
I have created a few document library templates but users does not like to upload document first. It is like forcing them to upload doc. They want to have something like list template where they have option to attach document after filling up the info in the list.
Since I have created all the fields in the document library, I do not want to re-create using custom list. Is there a way for me to convert the document library that I have created to list?
All replies (3)
Wednesday, June 27, 2012 6:16 AM âś…Answered | 1 vote
if your document library has so many columns that you don't want to create them manually one by one again. You can:
save the library as template;
download the saved template file;
change the downloaded file extension to .cab;
open the .cab file;
open the manifest.xml in it;
copy out the Field tags in ListTemplate/UserLists/List/MetaData/Fields;
create a custom list definition with instance in Visual Studio 2010;
Paste the Field tags into the custom list definition Schema.xml;
deploy the custom list definition solution.
Tuesday, June 26, 2012 11:17 AM
Hi Carina_A,
This does not seems to be possible because Document Library are created using Document content Type while Lists are created using Item Content Type. So they are not convertable as their base content types differs.
Let me know if you face any issue.
Ashish Mishra|MCTS,MCPD in SharePoint 2010| Twitter:https://twitter.com/#!/707Mishra| Blog: http://www.sharepointblog.co.uk/author/ashishmishra/
Thursday, June 28, 2012 2:19 AM
Thanks everyone for the replies...
Let me try your way GuYuming..