Archiv für Dezember 2008

Möchten sie anonyme Nutzungsstatistiken senden?

Montag, 22. Dezember 2008

Ja! Man kann natürlich argumentieren, dass man unnötig viele Daten von sich preis gibt und das man zum gläsernen Nutzer wird usw.

Warum ich es dennoch mache, will ich euch natürlich nicht vorenthalten: Es ist schon etwas her, als ich auf der Microsoft Roadshow war, wo Vista und Office 2007 vorgestellt wurde. Wie ihr sicher wisst, ist ja das Benutzerinterface von Office radikal geändert worden – sehr interessant war dabei warum!

Viele Zuschriften an Microsoft waren wohl Anfragen, das Feature XY noch in Word (oder Excel oder was auch immer) hinzuzufügen und dabei konnte die benutzte Wordversion in der Regel dieses Feature schon, der Benutzer wusste einfach nicht, dass es existiert, denn es war z.B. schwer auffindbar. Für das neue Interface wurden  insbesondere die Nutzungsstatistiken der alten Version ausgewertet. Sehr interessant dabei war für mich, dass weniger als 1% aller Nutzer dieses Feature aktiviert hatten!

Wenn ich also dieses Feature aktiviere, dann sorge ich im Grunde dafür, dass zukünftige Designentscheidungen mein Verhalten beachten. Ich nehme also Einfluss! Und wegen der besagten <1% nehme ich sogar einen sehr großen Einfluss.

Neue Versionen werden also auf mich persönlich zugeschnitten sein, Danke :-)

SharePoint expired before the expiration date?

Freitag, 12. Dezember 2008

I am using this Virtual PC-Image and while changing the view of a BDC list I got the following error:

"The evaluation version of Microsoft Office SharePoint Server 2007 for this server has expired."

But it should work at least until April 2009! (source, source’s source).

It looks like the error message is wrong. Basically it tries to tell you that the used identity for the application pool should be in the administrators group. Isn’t that obvious???

How to connect an external app to SharePoint through BDC

Freitag, 12. Dezember 2008

This blogpost aims at giving you a short overview of the basic steps needed to connect an external system (via webservice or sql database) to a SharePoint-Server.

The used feature is called Business Data Catalog (=BDC) and is basically a huge XML-file which describes how SharePoint should connect to the external application and how these data entities are associated.

The first action should be the installation of the BDC Definition Editor. If you have the SharePoint SDK installed on your machine, point your explorer at "%programfiles%\2007 Office System Developer Resources\Tools\BDC Definition Editor" and open Setup.exe. For a successful installation you need to run an English Version of Win XP or Server 2003.

image

At first you need to select "Add LOB System" and provide your webservice Url or your Database credentials. Then you can select the Webservice method or provide sql queries to fetch the data. The editor generates the needed entities for you but you need to create the identifiers and filters on your own.

For basic functionality you need to provide a finder method, which returns a collection of entities. The method can have parameters to filter the results. The second method has to be a specific finder which returns only a single entity based on a given identifier.

This is enough for a basic setup – the next step is to export your configuration into an XML-file. Now you need to import this definition into your SharePoint Server: Open your central administration page, select your SharedServices and select "Import application definition" under the "Business Data Catalog"-section. Follow the dialog!

image 

If you did everything right, you can now add a business data list webpart to a SharePoint page. Choose your created type in the web part options and you have successfully created your own Business Data Catalog Application!

 image

For further information on this topic, I suggest you these links: