Hi
I'm creating a custom list template as a feature. The problem is that SharePoint can't seem to find my schema.xml for the list. In all examples I have found, the schema.xml file is always placed in a folder directly below the feature folder, with a name identical to the name of the list (as specified in the ListTemplate element). That won't work for me, however. The schema.xml for my list can be found at [featurename]\ListTemplates\[listname]\schema.xml. I have several list templates in my feature and want to organize them in a ListTemplate folder in my feature directory. But that means that SharePoint can't find the files, it seems. Everything works if I place the folder containing my list template schema.xml directly in my feature folder, however. Is it possible to solve this problem The SDK mentions a Path attribute in the ListTemplate element which can be used to specify an alternative path to the schema.xml, but doesn't really mention what the path should look like...
The error I get looks like this, by the way:
Exception from HRESULT: 0x81070201 at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl)
at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl)