SharePoint Templates for CodeSmith tool
Are you a big fun of CodeSmith tool?! If yes, then you will find the blog post from Waldek Mastykarz very attractive, because we is offering a set of CodeSmith templates to automate some coding stuff for SharePoint.
The following templates are available for download:
- Generates the ContentTypeBinding element for the given Content Type and List
- Generates Page Layout for the given Content Type
- Generates wrapper class for the given Content Type so that you can reference all fields from that Content Type using code with intellisense instead of fiield names
- Generates ElementFile element for every file in the given directory and its subdirectories. Extremely useful for Features like branding where you have to provision many different files using a Feature
- Generates contents of a Feature Element Manifest (commonly named as Elements.xml or ProvisionedFiles.xml).
Really good stuff, because CodeSmith community didn’t provide any SharePoint templates before