SharePoint Blog - René Hézser

Anmelden  RSS Feed RSS Feed
Startet die Suche

Archive

Kategorien

Links

Andere Blogs



Add to Technorati Favorites

May 212010

SharePoint 2010 SDK

The Microsoft SharePoint 2010 Software Development Kit (SDK) contains conceptual overviews, programming tasks, samples, and references to guide you in developing solutions based on SharePoint 2010 products and technologies.

You can grab it here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=f0c9daf3-4c54-45ed-9bde-7b4d83a8f26f

The download contains the SDK for SPF and SPS. No need to download two separate files anymore.

The SharePoint Developer Center can be found here: http://msdn.microsoft.com/en-us/sharepoint/default.aspx


Published: 5/21/2010  7:56 AM | 0  Comments | 0  Links to this post
Tagged as: SharePoint, Development

May 172010

Using a custom field type in a BCS model

The BCS Team (Business Connectivity Services) wrote an blog post about using complex formatting and custom field types within your BCS model. Obviously this post was the source for the SDK article.

The example shows that you can use a custom field type to render data from external data sources this way:

<TypeDescriptor TypeName="Customer.Address" Name="CustomerAddress" DefaultDisplayName="Customer Address"> 
   <Properties> 
       <Property Name="SPCustomFieldType" Type="Customer.Address">Customer Address</Property> 
   </Properties> 
</TypeDescriptor> 

Well, to help you map this example to your data, I’ll write some more about the SPCustomFieldType property of the BCS model.

This is how a method would look like, if you want to map a column to a custom field type:

<Method Name="ReadItem">
  <Parameters>
    <Parameter Name="address" Direction="Return">
      <TypeDescriptor Name="Address" TypeName="RH.SharePoint.BCS.Address, BCSModel">
        <TypeDescriptors>
          <TypeDescriptor Name="Id" IdentifierName="Id" TypeName="System.Int32" />
          <TypeDescriptor Name="Street" TypeName="System.String" />
          <TypeDescriptor Name="Number" TypeName="System.String" />
          <TypeDescriptor Name="PostalCode" TypeName="System.String" />
          <TypeDescriptor Name="City" TypeName="System.String" />
          <TypeDescriptor Name="GeoCoordinates" TypeName="System.String">
            <Properties>
              <Property Name="SPCustomFieldType" Type="System.String">GeoCoordinates</Property>
            </Properties>
          </TypeDescriptor>
        </TypeDescriptors>
      </TypeDescriptor>
    </Parameter>
    <Parameter Name="id" Direction="In">
      <TypeDescriptor Name="Id" TypeName="System.Int32" IdentifierEntityName="Address" IdentifierEntityNamespace="RH.SharePoint.BCS.Model" IdentifierName="Id" />
    </Parameter>
  </Parameters>
  <MethodInstances>
    <MethodInstance Name="ReadItem" Type="SpecificFinder" ReturnParameterName="address" ReturnTypeDescriptorPath="Address" />
  </MethodInstances>
</Method>

“GeoCoordinates” is the name of my custom field type, specified by <Field Name="TypeName">GeoCoordinates</Field>.

The data source for this BCS model is a LINQ to SQL class, where I’ve implemented a property to concatenate the latitude and longitude which are stored in the backend system.

public string GeoCoordinates
{
  get
  {
    if (Latitude == null || Longitude == null) return null;
    return string.Format("{0};{1}", Latitude, Longitude);
  }
}

Published: 5/17/2010  1:10 PM | 0  Comments | 0  Links to this post
Tagged as: SharePoint, BCS

May 132010

SharePoint 2010 Launch in OWL

Mit einer Stammbesetzung haben wir den Launch vielen anderen SharePoint UserGroups aus dem ganzen Land gefeiert.

image

Zusätzlich zum  Launch haben wir unser einjähriges Bestehen gefeiert.

die Veröffentlichung von SharePoint 2010 liefert einiges an neuem Stoff, den wir auf den nächsten Treffen besprechen werden. Ich freue mich drauf.


Published: 5/13/2010  9:27 AM | 0  Comments | 0  Links to this post
Tagged as: UserGroup

May 112010

SharePoint 2010 Language Packs available for download

Yesterday MS has released the language packs to the public. What is a language pack?

Language packs enable site owners and site collection administrators to create SharePoint sites and site collections in multiple languages without requiring separate installations of Microsoft SharePoint Server 2010.

Word breakers and stemmers enable you to efficiently and effectively search across content on SharePoint sites and site collections in multiple languages without requiring separate installations of SharePoint Server 2010. Word breakers and stemmers are automatically installed on Web servers by Setup.

The server language packs:

2010 Server Language Packs for SharePoint Server 2010, Project Server 2010, Search Server 2010, and Office Web Apps 2010

And if you have a plain SharePoint Foundation installation, grab the language pack here:

Language Packs for SharePoint Foundation 2010

After you install a language pack, you’ll need to rerun the configuration wizard.

And here is an important information which is different from previous versions:

SharePoint Foundation 2010 language packs are not required for SharePoint Server 2010.

Finally. Handling language packs is now much easier :-)


Published: 5/11/2010  8:17 AM | 0  Comments | 0  Links to this post
Tagged as: SharePoint