sharepoint - Add SPFolder in List Instance xml -
i've create custom list , included basic pieces (schema.xml, list template,..) package .wsp. have list instance defined, add folders xml. know can add splistitems using ..., i'm not sure how add spfolder. want add spfolders list instance default, can't seem find examples of doing this. wondering if has suggestions , sample code related how this.
my answer guess how happen, have no sharepoint setup on home computer test it.
i wonder, happen if included field fsobjtype
in list instance xml. like:
<data> <rows> <row> <field name="title">outgoing e-mail settings</field> <field name="fsobjtype">1</field> </row> </rows> </data>
edit: seems not 1 think of such solution, seems trick won't work on custom lists, in custom document libraries: http://www.notesfor.net/post/2009/02/16/deploy-a-custom-splist-with-folders-from-onetxml.aspx however, article explains workaround you.
Comments
Post a Comment