Guru Prasad's profileSharePoint JourneyPhotosBlogListsMore ![]() | Help |
|
September 26 SharePoint Search Workshop - Ontolica from MondosoftI happened to attend the SharePoint Search Workshop(on Sep 13, 2007) conducted by Mondosoft here in Seattle,WA. It is a kind of a marketing event, but handful of technical information was also covered. They let us play around with the tool in the pre-configured environment. I am very impressed with the product and it is an awesome extension to the MOSS 2007 OOB Search. I honestly feel, although the MOSS Search very powerful, there is very little that is exposed via the UI(as pointed out by Robert Bogue, I totally agree with him). And I think, Ontolica from Mondosoft bridges the gap within OOB MOSS Search, to a great extent. It is a neat extension to the MOSS Search. And, if any one of you is looking forward to attend the workshop, you can find the schedule here at http://www.ontolica.com/services/workshops.aspx . Note that this is free event and seats get filled up very quickly. FYI. Mondosoft is giving wildcard search for MOSS for FREE. Also, Mondosoft has chosen couple of SharePoint MVPs to deliver their workshops; Bob Mixon and Robert Bogue. They are great presenters!! For more information: http://bobmixon.com/BLOG/archive/2007/09/24/Ontolica-Search-Workshop-in-Boston.aspx http://thorprojects.com/blog/archive/2007/08/14/686.aspx Happy SharePointing! Thanks September 21 Workflow & Anonymous Access issueA requirement for one of the pages in an externally faced MOSS 2007(turned on for anonymous access) site was to submit feedback and update a list item with the user submitted it. If anonymous access was not turned on, to accomplish this task is like a piece of cake! But unfortunately, workflow seems to run under the context of the currently logged in user. Apparently this will be fixed SP1. I set out to write custom code to send email and update the list item(using SPSecurity.RunWithElevatedPrivileges). But, interestingly, I got an error when I try to update a list item(SPListItem.Update()) in the following code: SPWeb web = null; SPSite site = null; SPSecurity.RunWithElevatedPrivileges(delegate() { try { site = new SPSite(this.ListSiteUrl); web = site.OpenWeb(); SPList list = web.Lists[new Guid(this.ListGuid)]; string internalName = list.Fields[this.ColumnName].InternalName; SPListItem listItem = list.GetItemById(this.ListItemID); //the first item string countValue = listItem[internalName].ToString(); listItem[internalName] = "asdf"; //modified purposely listItem.Update(); web.Dispose(); site.Dispose(); } catch (Exception ex1) { lblError.Visible = true; lblError.Text = "An error occurred :" + ex1.Message; } }); When I googled for this error, I found the following article really very helpful. SharePoint community, rocks! http://howtocode.blogspot.com/2007/06/moss-splistitemupdate-throws-error.html With the code in the above article as a reference, I changed the above code as the following and it worked like a charm. SPWeb web = null; try { SPSecurity.RunWithElevatedPrivileges(delegate() { using (SPSite site = new SPSite(this.CounterListSiteUrl)) { web = site.OpenWeb(); } }); SPList list = web.Lists[new Guid(this.CounterListGuid)]; string internalName = list.Fields[this.CounterColumnName].InternalName; SPListItem listItem = list.GetItemById(this.CounterListItemID); //the first item string countValue = listItem[internalName].ToString(); listItem[internalName] = "asdf"; //modified purposely bool bUnsafeUpdates = web.AllowUnsafeUpdates; web.AllowUnsafeUpdates = true; listItem.Update(); web.AllowUnsafeUpdates = bUnsafeUpdates; web.Dispose(); } catch (Exception ex1) { lblError.Visible = true; lblError.Text = "An error occurred :" + ex1.Message; } Thanks Guru Error when Hosting MySites in separate Web ApplicationWhen you host MySites in a separate web application, you may get the following error when you try to access My Site. Your personal site cannot be created because Self-Service Site Creation is not enabled. Contact your site administrator for more information. To solve this problem, make sure you have enabled Self-Service Site Creation for the Web Application where you have hosted MySites. Here is how to do enable it:
Now, when you click on the My Site link, your my site will be created and provisioned. Happy SharePointing! Thanks August 31 OPML - SharePoint BloggersHere is the OPML file that contains a list of active SharePoint bloggers. Updated on 08/30/2007.Feel free to drop a line If I have missed any SharePoint blogger. Initially taken from Mark Kruger's blog. Also, here is the XSD (XML Schema, reverse engineered from an OPML file, not an official one though. Not intended for production use!) file that if you want to use to create your own OPML file. Thanks Guru August 30 Good list of POINTS to remember!Good article for SharePoint Administrators from Joel Oleson. Perhaps, some of them are MUST to be in the Todo list. Happy SharePointing! :) -Guru White Paper: Working with large lists in Office SharePoint Server 2007Good one! Deals with different data access methods for SharePoint Lists and their performance characteristics against different user loads and modes of operation. Excerpt: The test results in this white paper are intended to demonstrate the difference in the performance characteristics of SharePoint lists containing large numbers of items when different data access types are used to present list contents. Test results in this white paper show how to optimize list performance through limits on the number of items that appear in a list, and by choosing the most appropriate method of retrieving list contents. More.. Plan for software boundaries (Office SharePoint Server) related to this post. August 28 Microsoft BDC Metadata Editor announced!
I just noticed that Microsoft has announced BDC Metadata Editor. This is cool! It will save a lot of time when it comes to creating BDC application definition. I like the part that it creates Associations when foreign key are selected. Highlights
For more details click here -Guru March 01 Debug SharePoint WebParts - VS 2005With VS 2003 and SPS 2003/WSS2.0, it was totally different. There was just one w3wp process you need to attach the debugger to. How to debug in VS 2005?
Click here to know Which w3wp.exe process belongs to which App Pool in IIS6.0 Quick Access Keyboard shortcut Tip for attaching the processes to the debugger: ALT + D, then hit P, and then hit W.
Hope this will be useful for beginners in the WebPart development. First Post!I have been thinking about blogging for a long time ever since I have sneaked into the SharePoint platform. Finally, here I am with my First Blog Post. I will be updating this space as frequently as possible with both SharePoint and personal musings. |
|
|