Nigel,
What list type have you based this custom list upon? It's my understanding that the following list types do not support incoming email: Links lists, Wikis, Blog categories, Blog comments, Surveys, Tasks, Project Tasks and Contacts Regards, Paul Online Developer, ICT CEO Sydney From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Witherdin, Nigel Sent: Monday, 30 June 2008 11:35 PM To: [email protected] Subject: [OzMOSS] Email Enabling a doc library installed by a feature Hi All, I have a customized document library I am installing as part of a feature, which I need to make email enabled. The library will have a few custom actions, specific content types and custom views set against it as part of the feature. here is the elements.xml I am using (are my problems arising from me generating this as a new template with new type code??) ---- <!-- Knowledge Items List Template --> <ListTemplate Name="KnowledgeItems" Type="380" BaseType="1" OnQuickLaunch="FALSE" FolderCreation="FALSE" SecurityBits="11" DisplayName="Knowledge Items" Description="List containing items that have been submitted as Legal and/or Business Knowledge." NoCrawl="True" AllowDeletion="True" DisallowContentTypes="False" DisableAttachments="False" DontSaveInTemplate="True" EnableModeration="False" MultipleTypes="False" Image="/_layouts/images/itdl.gif"> </ListTemplate> <!-- Knowledge Items List --> <ListInstance FeatureId="{EE2458B8-4594-4bef-A9F9-29D9F3D3A632}" TemplateType="380" Id="383" Description="Items that have been submitted as Legal and/or Business Knowledge." OnQuickLaunch="False" Title="Knowledge Items" Url="KnowledgeItemsList"> </ListInstance> <!-- Release Knowledge Item action --> <CustomAction Id="{1328F7D1-C5F6-4c21-A618-3C960122A58B}" RegistrationType="List" RegistrationId="380" Location="EditControlBlock" Sequence="110" Title="Release Knowledge Item"> <UrlAction Url="{SiteUrl}/Pages/ReleaseKnowledge.aspx?List={ListId}&ID={ItemId} "/> </CustomAction> <!-- Reject Knowledge Item action --> <CustomAction Id="{FDFF2256-51B3-4a8b-B49F-3157AE1398D3}" RegistrationType="List" RegistrationId="380" Location="EditControlBlock" Sequence="111" Title="Reject Knowledge Item"> <UrlAction Url="{SiteUrl}/Pages/RejectKnowledgeMail.aspx?List={ListId}&ID={Item Id}"/> </CustomAction> ---- SharePoint Solution Generator does not seem to set the "Incoming Email" settings in the list template it generates, and the doc lib generated off it does not have an "Incoming Email" link in the Document Library settings anymore. Although I can manually browse to the EmailSettings.aspx, if I do that the page does not have the full set of settings available on it (nothing about whether to store attachments in subfolders etc.). I have tried enabling email via a Feature Event Receiver with the following code, but am having no joy: ---- web.Lists["Knowledge Items"].EnableAssignToEmail = true; web.Lists["Knowledge Items"].EmailAlias = "KnowledgeSubmissions"; web.Lists["Knowledge Items"].Update(); ---- So, anybody know how I can make a document library installed by a feature email enabled, or at least, a way to generate the list template being installed by the feature so that has the "Incoming Email" settings available? Nigel Witherdin Senior Support Analyst Eversheds Direct Dial: +44 (0) 84 549 754 17 Mobile: +44 (0) 7738 553256 www.eversheds.com <http://www.eversheds.com/> ********* This email is sent for and on behalf of Eversheds LLP ********* This email is sent for and on behalf of Eversheds LLP which is a limited liability partnership, registered in England and Wales, registered number OC304065. Registered office One Wood Street, London, EC2V 7WS. Registered VAT number GB820704559. A list of the members' names and their professional qualifications is available for inspection at the above office. Regulated by the Solicitors Regulation Authority (see www.sra.org.uk <http://www.sra.org.uk/> ). Confidentiality: This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. ************* [ www.eversheds.com <http://www.eversheds.com/> ] ************* ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com ____________________________________________________________________________ This e-mail is intended for the use of the addressed recipient(s) only and may contain confidential and privileged information. If you have received this message in error, please delete the message and any attachments and copies immediately; and notify the sender by return e-mail. Any views expressed in this message or any attachments are those of the individual sender and do not necessarily represent the corporate opinion of the Catholic Education Office (CEO), Sydney. The CEO Privacy Policy is located at http://www.ceo.syd.catholic.edu.au ____________________________________________________________________________ ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
