Creating a custom XML indexing connector for FAST Search Server 2010 for SharePoint

XML files are often used as input to search engines. The article Custom XML Item Processing describes one way of indexing XML content for FAST Search Server 2010. Another option is to create a custom XML indexing connector. This option: Selects and creates the mapping from the XML elements to crawled properties outside of document…


Multiple DataContext Objects for the Same SharePoint Website (Ricky Kirkham)

Using the LINQ to SharePoint provider to read and write data poses a dilemma: queries run faster if the object change tracking system has been turned off for the Microsoft.SharePoint.Linq.DataContext object that represents the website, but if it is turned off, you cannot write data to the website’s lists. Moreover, you cannot change the value…


Using LINQ-to-SharePoint with Choice Fields (Ricky Kirkham)

If you like to use the LINQ to SharePoint provider to perform your SharePoint data queries in server-side code, sooner or later you will encounter a certain tension between the strongly typed world of LINQ queries and the decentralized nature of SharePoint. To enable LINQ querying, source code must include an object-relational mapping that turns…


Some Read/Write Properties are Read-Only in Sandboxed Solutions (Ricky Kirkham)

I learned today that some properties of the SPSite, SPWeb, and SPUser classes that are read/write in farm solutions are read-only in sandboxed solutions. I believe this is a complete list: SPSite.Owner SPSite.PortalName SPSite.PortalUrl SPSite.SecondaryContact SPUser.Email SPWeb.AnonymousPermMask64 SPWeb.Author SPWeb.Created SPWeb.LastItemModifiedDate


Error: "The sandboxed code execution request was refused because the Sandboxed Code Host Service was too busy to handle the request" (Ricky Kirkham)

Some developers are getting this error whenever they try to use a sandboxed solution, or sometimes when they add a sandboxed Web Part to a page, even in circumstances in which the service could not be busy.  There seem to be multiple things that can cause this. The following are some solutions that have worked…


Extending the SharePoint Tools in Visual Studio: An Overview (McLean Schofield)

Since you’re reading this blog, you’re probably aware that Visual Studio 2010 includes an all-new set of tools for creating SharePoint solutions for Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010. These tools include a set of project and item templates for developing various types of solutions, integrated Feature and packaging support (with designers),…