Showing posts with the label Architecture

SharePoint 2013 Base Types , List Template & Definitions Id, CT id

list of the IDs of the most common Base Types, List Definitions and Content Types. Especially useful if you’re writing CAML definitions of Lists, List Instances, or Content Types. Here are the lists I’ve gleaned from MSDN.
Base Types These Base Types come from the SPBaseType enumeration. Base TypeIDCustom List0Document Library1Not used2Obsolete. Use 0 for discussion boards.3Surveys4Issues List5
List Definitions These List Definitions come from the SPListTemplateType enumeration.

SharePoint XSN provisionning with WSP

it's not very simple to package a form xsn in the wsp solution, specialy if you want to do a provisionning.

You probably tried to use something like: 1<elements xmlns="">
2<module name="DefaultForms" rootwebonly="FALSE" url="Lists/Forms">
3<file path="DefaultForms\TestForm.xsn" type="GhostableInLibrary" url="TestForm.xsn"/>
But if you just put the XSN files in a module and deploy it to a Form-library like this, or just upload the xsn file to the library, the Info Path form will not be able to render (error: form is not browser enabled).
What you have to do to fix this is adding some extra properties:  1<elements xmlns="">
 4       rootwebonly="FALSE"
 5       url="Lists/Forms">