Enabling ECB menu on a custom column in SharePoint 2010 (Part 2)

OK. In Part 1, I’ve explained the problem of “Edit in undefined” when you enable the ECB menu on a field in the document library. To workaround this problem, we have to go back to the way we used for MOSS. In MOSS, when we want to enable the ECB menu on a field, we…

12

Enabling ECB menu on a custom column in SharePoint 2010 (Part 1)

If you have ever tried to enable the ECB menu on a column other than Name or Title in MOSS 2007, you will love a new feature of SharePoint 2010, Show List Item Menu, like the screenshot below. This feature allows us to enable the ECB menu on almost all columns. In SharePoint Designer, if…

7

Rendering a Field with the Custom XSLT Stylesheet

In MOSS 2007, how a field is rendered in a list view relies on its <RenderPattern> element which defines the actual CAML that SharePoint can use to render the field. However in SharePoint 2010, the list view rendering system has been changed significantly to rely on the XSLT stylesheets. To understand how different are the…

4

Accessing Databases in a Sandboxed Solution

Sandboxed Solution is a cool feature of SharePoint 2010, but as all of us know, not everything can be done with the Sandboxed Solution. For security consideration, Sandboxed Solution has its own CAS to restrict the call to some SharePoint APIs as well as some sensitive resources like network connections, local disk IOs etc. Of…

5

Creating an External Content Type based on SQL Azure

One thing I am interested in Windows Azure Platform is what this Cloud platform means to SharePoint. I know BPOS is there, and as one part of it, SharePoint Online, provides an option to users who wants to get the SharePoint capability in the public cloud. But what if users want to host a SharePoint…

0

Creating a Custom Login Page for FBA in SharePoint 2010

The default login page of FBA in SharePoint 2010 is very simple. It only provides a Login control with the user name, password and remember me option. We usually have to create a custom login page to accommodate other security requirements, for example, adding a verification/secure code option on the page, other performing a double…

26

Linq to SharePoint: Query Across Site Collections?

The thoughts in this article are from an internal discussion about Linq to SharePoint. Scenario Say I have two site collections, http://sharepoint2010/sites/site1 and http://sharepoint2010/sites/site2, which are all based on team site template. Now I’d like to create a web part to query the announcements list of site2. I want my web part to always work…

4

How to make use of a custom IP-STS with SharePoint 2010? (Part 2)

ID4014: A SecurityTokenHandler is not registered to read security token (‘EncryptedData’, ‘http://www.w3.org/2001/04/xmlenc#’). Here comes the answer of the little quiz in the end of Part 1. When I clicked SimplePassiveSTS, I was redirected to the sign-in page of my STS, which was what I want. But when I signed in and was redirected back to…

18

How to make use of a custom IP-STS with SharePoint 2010? (Part 1)

I know there have already been many articles about how to make SharePoint work with ADFS 2.0, like the one from SPIdentity team blog and the one by Eric Kraus. What I want to do is to create a simple IP-STS and make use of it in SharePoint 2010 rather than ADFS 2.0, so that…

13