If you create a new list and instance in the SP extensions for VS, based on a custom list, they put Type="100" in the List Template and no reference to the Template Type in the List instance. It didn't give me a number over 10000 (which I was expecting), but neither did it put 115 in there.
Let us know what you find out! From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Thake Sent: Wednesday, 27 February 2008 6:20 PM To: listserver@ozmoss.com Subject: Re: [OzMOSS] Create a SharePoint List from a Solution deployed ListTemplate Furthermore on this. I looked in the logs and found that the error trail also mentions "Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\xml\onet.xml", falling back to global site definition." That onet.xml file isn't in that location is this an issue? Again I tried Template id 10010 this time and no difference. Any help would be greatly appreciated. 02/27/2008 18:13:29.17 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 8l3c Medium Localized resource for token 'filterIFrameTitle' could not be found for file with path: "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\InvoiceTracking\CPMiningInvoiceList\sche ma.xml". 02/27/2008 18:13:29.26 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services Fields 88yf Medium Creating list "test999" in web "http://scoltsp/test2" at URL "/", (setuppath: "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\Features\InvoiceTracking\CPMiningInvoiceList") 02/27/2008 18:13:29.26 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 8z1g Verbose Creating List "test999" for web "http://scoltsp/test2", Feature a26fdbe7-7835-4d8f-b3cb-761cbc830ccd, Template Id 10010. 02/27/2008 18:13:29.26 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 72kc Medium Failed to find generic XML file at "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\Template\xml\onet.xml", falling back to global site definition. 02/27/2008 18:13:29.28 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 6y13 Verbose VdirIter::globToRE: "^doctemp.*\.xml$" 02/27/2008 18:13:29.39 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 8kh7 High Cannot complete this action. Please try again. 02/27/2008 18:13:29.40 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 8nca Verbose Application error when access /_layouts/new.aspx, Error=Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPo st(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) 02/27/2008 18:13:29.57 w3wp.exe (0x0958) 0x0DFC Windows SharePoint Services General 0 Verbose Releasing SPRequest with allocation Id {7555C1AA-3DA8-4BCF-8B9A-4681A71567E8} On 2/27/08, Jeremy Thake <[EMAIL PROTECTED]> wrote: I tried using 115 is custom list...I tried using 10001 and this didn't make any difference to the error. On 2/27/08, STRINGFELLOW Mike (Con) <[EMAIL PROTECTED]> wrote: What's a type 115? If it's your own new list template type, I think they recommend you use a unique number greater than 10000. http://www.sharepointblogs.com/mossms From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Thake Sent: Wednesday, 27 February 2008 1:42 PM To: listserver@ozmoss.com Subject: [OzMOSS] Create a SharePoint List from a Solution deployed ListTemplate I've created a Solution with a feature file and an elements.xml file with this definition: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <ListTemplate Name="CPMiningInvoiceList" DisplayName="CP Mining Invoice List" Type="115" Description="This is the invoice list." BaseType="0" OnQuickLaunch="FALSE" SecurityBits="11" /> </Elements> and then created a schema.xml file. I did this by running an export from the SharePoint Solution Generator pointing it at a brand new created SharePoint Form Library. I created the wsp from this and installed it on my site. I then manually created the List based on the ListTemplate. When I did this I received an error in the Web interface: Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPo st(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) Further investigation in the logs found an error: Application error when access /_layouts/new.aspx, Error=Cannot complete this action. Please try again. at Microsoft.SharePoint.Library.SPRequestInternalClass.CreateListFromFormPo st(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) at Microsoft.SharePoint.Library.SPRequest.CreateListFromFormPost(String bstrUrl, String& pbstrGuid, String& pbstrNextUrl) Searching Google there was hardly anything on this error! Can anyone give me some advice here? Thanks, Jeremy Thake http://wss.made4the.net/ ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net