MOSS 2007 - Create List Item using aspx query string
Can’t get email enabled document libraries working? I was unable to get email enabled libraries to work in my SharePoint environment due to security issues relating to Active Directory account creation. The following code takes the query string parameters and creates a list item with the metadata in the specified list. I have this script being called by event handlers in Outlook, which call the page / script, passing the required details in the query string. By default, SharePoint (MOSS 2007) has code block enabled. This means that a page or script won’t load / run if there it contains code. To disable code blocks in MOSS, please see my post Code Blocks in MOSS 2007 for instructions on how to disable code blocks. The following code must be placed inside the aspx page the you would like to create the list items via the query string: <script type="text/c#" runat="server"> /*--------------------------------------------------------------------- This page/script i...