First NEN 2082 certified project with SharePoint 2010

March 4th, 2010 Jeffrey Tummers No comments


Together with 3 colleagues from QNH Business Integration I am currently finishing implementing a already NEN 2082 certified project based on SharePoint 2010.
When SharePoint 2010 hits RTM there will be another audit for this version of SharePoint, because currently the pre release version has been certified.

NEN 2082 is a Dutch standard which is similar the DoD5015 and MoReq standards.

This project was done for the Gemeente Nieuwegein, which is a Dutch local Government.

Gemeente Nieuwegein

For this project we have also been nominated for the “Innovation of the year” award:

LRG Innovator Nomination 2010

More information (Dutch)

My colleagues at QNH:

Bookmark and Share
Categories: SharePoint Tags: , ,

Problem with VS2010 beta 2 Site Definition

December 16th, 2009 Jeffrey Tummers 3 comments

I encountered the following problem while creating a new custom Site Definition in Visual Studio 2010 beta 2.

The problem occurs when trying to create a new Document Library in the site based on the custom Site Definition.

Error while trying to add a new Document Library

Error while trying to add a new Document Library

Error message:

Error

An error occurred while getting items from the "" provider:
Cannot complete this action.

Please try again.

Read on to see the solution for this error.

Visual Studio 2010 now has native integration of SharePoint 2010 projects.

New Site Definition in Visual Studio 2010

New Site Definition in Visual Studio 2010

After creating the new Site Definition Project in the onet.xml file contains the following:

<?xml version="1.0" encoding="utf-8"?>
<Project Title="SampleSiteDefinition" Revision="2" ListDir="" xmlns:ows="Microsoft SharePoint" xmlns="http://schemas.microsoft.com/sharepoint/">
  <NavBars>
  </NavBars>
  <Configurations>
    <Configuration ID="0" Name="SampleSiteDefinition">
      <Lists/>
      <SiteFeatures>
      </SiteFeatures>
      <WebFeatures>
      </WebFeatures>
      <Modules>
        <Module Name="DefaultBlank" />
      </Modules>
    </Configuration>
  </Configurations>
  <Modules>
    <Module Name="DefaultBlank" Url="" Path="">
      <File Url="default.aspx">
      </File>
    </Module>
  </Modules>
</Project>

Now you can modify to the onet.xml and default.aspx as you like.

When deploying the new Site Definition, creating a site, and then trying to create a new Document Library you get the error above.  The solution for the error turned out to be the missing declaration of the <DocumentTemplates> XML node.

Correct default onet.xml should be:

<?xml version="1.0" encoding="utf-8"?>
<Project Title="SampleSiteDefinition" Revision="2" ListDir="" xmlns:ows="Microsoft SharePoint" xmlns="http://schemas.microsoft.com/sharepoint/">
  <NavBars>
  </NavBars>
  <DocumentTemplates>
  </DocumentTemplates>
  <Configurations>
      <Lists/>
      <SiteFeatures>
      </SiteFeatures>
      <WebFeatures>
      </WebFeatures>
      <Modules>
        <Module Name="DefaultBlank" />
      </Modules>
    </Configuration>
  </Configurations>
  <Modules>
    <Module Name="DefaultBlank" Url="" Path="">
      <File Url="default.aspx">
      </File>
    </Module>
  </Modules>
</Project>

After re-deploying the Site Definition and creating a new Site, you are able to create a Document Library.

Working new Document Library

Working new Document Library

Reference:

Microsoft’s Reference for SharePoint 2010 onet.xml

Bookmark and Share

Looking for SharePoint 2010 Feature (GU)IDs

December 15th, 2009 Jeffrey Tummers 1 comment

Have you ever been looking for a feature (GU)ID in SharePoint? Well here is an easy way to find them.

I needed default SharePoint feature guids for the development of a custom Site Definition. Using a custom Site Definition you can automatically activate SharePoint features within the onet.xml file.

Here we go:

  1. Open the SharePoint site in IE8 (or IE7).
  2. Go to the Site Settings page.
    site-settings-menu
  3. Click on the Manage Site features (or Site Collection features)
    site-features
  4. Use the Developer Tools (shortcut F12)
  5. Click in the toolbar on Find –> Select Element by Click (shortcut CTRL+B, but this opens bookmarks manager on my machine)
    developertools-select
  6. Select the Activate (or Deactivate) button next to the feature you need the GUID from.
    select-feature-activate-button
  7. Developer Tools scrolls down to the HTML source for the specific button, the button tag is contained within a Div tag. This Div tag contains an ID attribute and thats the GUID for the feature!
    selected-feature-html
  8. In this case the GUID is: 9c03e124-eef7-4dc6-b5eb-86ccd207cb87
    selected-feature-guid

This trick also works for SharePoint 2007!

Bookmark and Share

IMDB REST Webservice update

November 2nd, 2009 ThumNet 30 comments

Update 2009-12-16

Looking for help in hosting

If you have a server that hosts PHP and you want to support the Scraper service please contact me (info at thumnet dot com).


Update 2009-12-12

Service currently down, due to too many request to IMDb, working on a fix!

Update 2009-12-09

  • Added Picture in imdb-name request
  • Added result count limitation param (see the guide)
  • Some small bugfixes:
    • missing tt and nm prefix in ImdbID property in imdb-name-search request,
    • missing ImdbID for Writers and Directors in imdb-title request,
    • changed Season and Episode in imdb-episode request to SeasonNR and EpisodeNR
    • added result type to the summary element, to identify the result data

Update 2009-12-02

  • Added Name search functionality, with imdb-name-search url param (imdb-search is now imdb-title-search)
  • Added Name details, with imdb-name url param

Update 2009-12-01

  • Fixed the Plot and Tagline for imdb title’s, see comments below.

It’s been some time since my post about the IMDB webservice but I’m proud to tell you readers there is a new version available.

Some important changes include:

  • Restructured output (sorry to you guys who have to update their software)
  • Output available in XML, JSON and debug (other output formats can be added on request)
  • Automatic support for gzipping the output
  • Summary information, containing:
    • data source
    • timestamp of the data
    • time taken in ms
    • scraper info
    • error code (0 for no error!) and error description
  • Easily extendable scrape framework, so in the future more sites can be scraped!
  • Admin interface to review the data you guys produce

Still interested or just curious?

Well the new url is: http://scraper.thumnet.com

The old version (imdb.thumnet.com) will only be available until 1 december 2009.

Bookmark and Share
Categories: Projects Tags: , , , , ,

airTranslate on Google code

September 21st, 2009 ThumNet No comments

Because I wanted to learn programming in Adobe Flex I build a tool called airTranslate. It uses the Google Ajax Language API to translate the users input text to the chosen output language.

airTranslate-screenshot

airTranslate features:

  • Multi platform
  • Auto detection of input language
  • Drag and drop input text (with auto translation)
  • Dock to tray icon (Windows only)
  • Translate from clipboard (with auto translation)
  • Auto store last chosen translation language
  • Update notification

airTranslate is available at Google code: http://code.google.com/p/thumnet/downloads/list

The project is open source, and sources are available at http://code.google.com/p/thumnet/source/browse/#svn/trunk/AirIt is possible to request new functions and report issues through the Google code website.

To run Adobe AIR programs you need to download and install the Adobe AIR runtime

Bookmark and Share
Categories: Projects Tags: , , , , ,