Wednesday, May 20, 2009

Customizing site template or list template

First of all you might be thinking , is it possible ? Yes it is possible. SharePoint always have something to surprise you. Till date I was under the impression that Site Template is binary file and can't be edit with editor like Notepad. So I admit i was wrong.

Here's the steps to make modification to list template ( stp files )

01. Create a new document library and list.
02. Add items / documents to it
03. Customize the look and feel.
04. Go to List Settings > Save List as template > Give a meaningful name > Submit
05. Download the .stp file locally
06. Rename the .stp file to .cab file
07. Extract the .cab file
08. You will find a manifest.xml file which is the main file
09. Open the Manifest.xml with some XML editor and make changes
10. Save it back and rename it back to .stp file
11. Upload the stp file to List Template Gallery and now you all set use it.

Follow the same set of steps in context of site template ( .stp file ) to make the required modification.

Leave a comment if you having problem understanding the XML.


Surya May 21, 2009 at 9:00 AM  

Hi Sandeep,
Good Morning!! I have one quick question. Could u plz let me know what is the best approach to migrate to SharePoint and can i attach content database in my sql server studio.


Sandeep K Nahta May 21, 2009 at 12:31 PM  

hmm... this is not an easy question as it depends upon how complex your application is. Also not every application if fit fot SharePoint

try this link for some guidance