Do you have the Incoming email option turned on in Central Admin? Michael Nemtsev | Microsoft MVP Readify B: http://laflour.spaces.live.com<http://laflour.spaces.live.com/> T: +61 424 184 978 | E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Witherdin, Nigel Sent: Tuesday, July 01, 2008 12:36 AM To: [email protected] Subject: RE: [OzMOSS] Email Enabling a doc library installed by a feature Hi, Thanks for the quick reply Mike. I do specify the list instance in my elements.xml, as such: ---- <!-- 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> ---- I tried adding these properties: ---- EmailInsertsFolder="" EmailAlias="admin" ---- but the doc lib generated from my feature still does not have the "Incoming Email Settings" available as a link on the Document Library Settings page?!?! Any more ideas? Many thanks, 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/> ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Nemtsev Sent: 30 June 2008 15:10 To: [email protected] Subject: RE: [OzMOSS] Email Enabling a doc library installed by a feature You need to have the feature to create the real List, not the template And there specify the EmailAlias Smth like this <List DocTemplateUrl="/mail lib/Forms/template.doc" DefaultViewUrl="/mail lib/Forms/AllItems.aspx" MobileDefaultViewUrl="" ID="{4E0A3506-25F7-4747-97AE-BA16A6107AC0}" Title="mail lib" Description="" ImageUrl="/_layouts/images/itdl.gif" Name="{4E0A3506-25F7-4747-97AE-BA16A6107AC0}" BaseType="1" FeatureId="00bfea71-e717-4e80-aa17-d0c71b360101" ServerTemplate="101" Created="20080630 02:05:10" Modified="20080630 02:05:13" LastDeleted="20080630 02:05:10" Version="7" Direction="none" ThumbnailSize="" WebImageWidth="" WebImageHeight="" Flags="75501576" ItemCount="0" AnonymousPermMask="0" RootFolder="/mail lib" ReadSecurity="1" WriteSecurity="1" Author="1073741823" EventSinkAssembly="" EventSinkClass="" EventSinkData="" EmailInsertsFolder="" EmailAlias="admin" WebFullUrl="/" WebId="91e7ee2a-62c4-4984-b6b3-567c732715ee" SendToLocation="" ScopeId="8f292c76-47b2-436a-8b02-0d65ac6a9736" MajorVersionLimit="0" MajorWithMinorVersionsLimit="0" WorkFlowId="" HasUniqueScopes="False" AllowDeletion="True" AllowMultiResponses="False" EnableAttachments="False" EnableModeration="False" EnableVersioning="False" Hidden="False" MultipleDataList="False" Ordered="False" ShowUser="True" EnableMinorVersion="False" RequireCheckout="False"> Michael Nemtsev | Microsoft MVP Readify B: http://laflour.spaces.live.com<http://laflour.spaces.live.com/> T: +61 424 184 978 | E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Witherdin, Nigel Sent: Monday, June 30, 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={ItemId}"/> </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 ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.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 ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
