<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ORAYLIS Blog &#187; SharePoint</title>
	<atom:link href="http://blog.oraylis.de/category/technologie/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.oraylis.de</link>
	<description>ORAYLIS - Einfach mehr Wissen</description>
	<lastBuildDate>Fri, 18 May 2012 09:46:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SafeControls f&#252;r SharePoint 2010 hinzuf&#252;gen</title>
		<link>http://blog.oraylis.de/2012/02/safecontrols-fr-sharepoint-2010-hinzufgen/</link>
		<comments>http://blog.oraylis.de/2012/02/safecontrols-fr-sharepoint-2010-hinzufgen/#comments</comments>
		<pubDate>Mon, 27 Feb 2012 17:52:59 +0000</pubDate>
		<dc:creator>Sandra Erb</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Safe Control]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[web.config]]></category>
		<category><![CDATA[Webpart]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2012/02/safecontrols-fr-sharepoint-2010-hinzufgen/</guid>
		<description><![CDATA[<p>&#160;</p>
<p>Um eigene Assemblies (z.B. Webparts, Web Controls oder User Controls) im SharePoint verwenden zu können, müssen diese als sogenanntes “SafeControl” registriert werden. Die Registrierung des SafeControl muss in der web.config Datei der Webapplikation erfolgen, in welcher die Assembly verwendet werden soll.</p>
<p>Der Eintrag in der web.config setzt sich mindestens wie folgt zusammen:</p>
<pre>&lt;configuration&gt;
   &lt;SharePoint&gt;
     &lt;SafeControls&gt;
       &lt;SafeControl Assembly=&quot;[Assembly Name]&quot; Namespace=&quot;[Namespace]&quot; TypeName=&quot;*&quot; Safe=&quot;True&quot; /&gt;
     &lt;/SafeControls&gt;
   &lt;/SharePoint&gt;
&lt;/configuration&gt;</pre>
<p>
  <br /><strong>Assembly:</strong> Name der Assembly, in welcher die eigentliche Funktionalität implementiert ist. Es wird empfohlen, an dieser Stelle den “$SharePoint.Project.AssemblyFullName$”-Parameter zu verwenden. Dies ist ein ersetzbarer Parameter, welcher den “strong Name” der Assemby darstellt. Mehr Informationen zu ersetzbaren Parametern können der MSDN entnommen werden: <a title="http://msdn.microsoft.com/de-de/library/ee231545.aspx" href="http://msdn.microsoft.com/de-de/library/ee231545.aspx">http://msdn.microsoft.com/de-de/library/ee231545.aspx</a>.</p>
<p><strong>Namespace:</strong> Der Namespace, in welchem sich die Controls oder der Webpart befindet. Sollten sich die eigenen Controls in mehreren Namespaces befinden, so muss pro Namespace ein SafeControl Eintrag erstellt werden.</p>
<p><strong>TypeName:</strong> Der Name des Controls, welchem es erlaubt werden soll im SharePoint ausgeführt zu werden. Sollten in einem Namespace mehrere Controls vorhanden sein, so muss nicht für jedes Control ein SafeControl registriert werden. Stattdessen kann als TypeName ein Sternchen (*) verwendet werden, um die gesamte DLL zu registrieren.</p>
<p><strong>Safe:</strong> Boolean-Wert, welcher angibt, ob das Control sicher (true) oder nicht sicher (false) ist.</p>
<div></div>
<p>Um ein SafeControl zu registrieren gibt es verschiedene Möglichkeiten:</p>
<ul>
<li>Manuelles Hinzufügen des SafeControls zur web.config Datei (<font color="#ff0000"><strong>schlecht, dieses Vorgehen sollte nur zu Entwicklungs- und Testzwecken verwendet werden und niemals in einem Produktivsystem zum Einsatz kommen</strong></font>) </li>
<li>Hinzufügen des SafeControls via Code (<font color="#0000ff"><strong>besser</strong></font>) </li>
<li>Veröffentlichen einer Assembly als Solution Package (.wsp Datei) (<font color="#008000"><strong>empfohlen</strong></font>) </li>
</ul>
<p>&#160;</p>
<h3>Manuelles Hinzufügen des SafeControls</h3>
<p>Das manuelle Hinzufügen eines SafeControls zur web.config Datei erscheint auf den ersten Blick als einfachster und schnellster Weg. Es ist jedoch ausdrücklich nicht zu empfehlen, die web.config Datei selbst anzupassen.</p>
<p>Warum ist dieses Vorgehen nicht empfehlenswert? Was zu Beginn als einfach und schnell umzusetzen erscheint verursacht schnell einen enormen Pflege- und Administrationsaufwand. Solange man sich auf einem einzelnen SharePoint Server bewegt muss man den SafeControl Eintrag nur in die web.config Datei der gewünschten Applikation eintragen. Befindet man sich nun jedoch in einer kleinen Server Farm mit zwei Servern und möchte seine Assembly für fünf verschiedene Applikationen zur Verfügung stellen, so muss man bereits zehn web.config Dateien anpassen. Wenn nun noch ein weiterer Server zur Farm hinzugefügt wird, dann muss daran gedacht werden, die Änderung der web.config auch auf dem neuen Server durchzuführen.</p>
<p>Unterm Strich ist dies die aufwändigste und vor allem fehleranfälligste Variante. Sie eignet sich nur zu Entwicklungs- und Testzwecken.</p>
<h3>Hinzufügen des SafeControls via Code</h3>
<p>Das SharePoint Objekt Modell stellt die Klasse “SPWebConfigModification” zur Verfügung. Mit Hilfe dieser Klasse können aus dem Code heraus Änderungen an der web.config Datei einer Applikation vorgenommen werden.</p>
<p>Die so vorgenommenen Änderungen werden auf allen Servern der Farm ausgeführt und wirken sich auch auf neu hinzugefügte Server aus.</p>
<p>Um den Code zu verwenden kann z.B. die Methode “FeatureActivated” überschrieben werden. Dazu ist es jedoch erforderlich, dass die eigene Assembly über ein Feature deployed wird.</p>
<p>Folgender Code kann zur Anpassung der web.config Datei verwendet werden:</p>
<p>SPWebApplication webApp = site.WebApplication; <code></code></p>
<pre>

// Erweiterung der web.config definieren
SPWebConfigModification configMod = new SPWebConfigModification(
  &quot;SafeControl[@Assembly=\&quot;MyAssembly\&quot;][@Namespace=\&quot;My.Namespace\&quot;]&quot;
  + &quot;[@TypeName=\&quot;*\&quot;][@Safe=\&quot;True\&quot;], &quot;/configuration/SharePoint/SafeControls&quot;
); 

// Die Aenderung der ModificationCollection hinzufuegen
webApp.WebConfigModifications.Add(configMod); 

// Die Aenderung anwenden
webApp.Farm.Services.GetValue&lt;SPWebService&gt;().ApplyWebConfigModifications();
</code>
</pre>
<p>&#160;</p>
<h3>Veröffentlichen einer Assembly als Solution Package</h3>
<p>Die empfohlene Vorgehensweise, um eigene Webparts, Features, Assemblies etc. zu veröffentlichen ist die Erstellung eines Solution Packages (.wsp Datei). Gerade mit SharePoint 2010 sollte dies der einzigste noch verwendete Weg sein, da nun auch SharePoint selbst alle Features als wsp zur Verfügung stellt. Selbst über die Oberfläche gespeicherte List- oder Sitetemplates werden nun als .wsp Datei zur Verfügung gestellt.</p>
<p>Während früher für die Registrierung des SafeControls noch die Manifest Datei des Solution Packages angepasst werden musste, bietet Visual Studio 2010 heute eine einfache Oberfläche für diese Aufgabe. In den meisten Fällen wird diese Aufgabe sogar automatisch von Visual Studio 2010 durchgeführt (z.B. wenn ein Webpart zu einem SharePoint Projekt hinzugefügt wird).</p>
<p>Sollte Visual Studio die Einstellung nicht automatisch vorgenommen haben (dies passiert z.B. beim Erstellen einer Custom Action, welche zusammen mit einem User Control verwendet wird), so kann diese mit wenigen Klicks nachgeholt werden:</p>
<ol>
<li>Im Visual Studio die gewünschte Datei (z.B. das Modul, in welchem die eigene Assembly liegt) markieren und im Properties Fenster den Eintrag “Safe Controls Entries” öffnen.
<p><a href="http://blog.oraylis.de/wp-content/uploads/2012/02/PropertiesBox.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="PropertiesBox" src="http://blog.oraylis.de/wp-content/uploads/2012/02/PropertiesBox_thumb.png" width="244" height="159" /></a> </p>
<p></li>
<li>Es wird ein neues Fenster geöffnet, in welchem die erforderlichen SafeControl Einträge gesetzt werden können. Visual Studio 2010 füllt diese Maske bereits mit Standardwerten und verweist dabei auf die Assembly des aktuellen Projektes. Wenn diese Maske wieder geschlossen wird, werden die vorgenommenen Änderungen automatisch in das Solution Manifest eingetragen, mehr muss nicht getan werden.
<p><a href="http://blog.oraylis.de/wp-content/uploads/2012/02/SafeControlEntries.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="SafeControlEntries" src="http://blog.oraylis.de/wp-content/uploads/2012/02/SafeControlEntries_thumb.png" width="365" height="198" /></a> </li>
</ol>
<p>Die auf diese Weise registrierten SafeControls werden beim Deployment des Solution Packages automatisch allen Servern hinzugefügt und gelten auch für alle zukünftig hinzugefügten Server.</p>
<div style="display:block"><small><em>by Sandra Erb <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2012%2F02%2Fsafecontrols-fr-sharepoint-2010-hinzufgen%2F&amp;linkname=SafeControls%20f%26uuml%3Br%20SharePoint%202010%20hinzuf%26uuml%3Bgen"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Um eigene Assemblies (z.B. Webparts, Web Controls oder User Controls) im SharePoint verwenden zu können, müssen diese als sogenanntes “SafeControl” registriert werden. Die Registrierung des SafeControl muss in der web.config Datei der Webapplikation erfolgen, in welcher die Assembly verwendet werden soll.</p>
<p>Der Eintrag in der web.config setzt sich mindestens wie folgt zusammen:</p>
<pre>&lt;configuration&gt;
   &lt;SharePoint&gt;
     &lt;SafeControls&gt;
       &lt;SafeControl Assembly=&quot;[Assembly Name]&quot; Namespace=&quot;[Namespace]&quot; TypeName=&quot;*&quot; Safe=&quot;True&quot; /&gt;
     &lt;/SafeControls&gt;
   &lt;/SharePoint&gt;
&lt;/configuration&gt;</pre>
<p>
  <br /><strong>Assembly:</strong> Name der Assembly, in welcher die eigentliche Funktionalität implementiert ist. Es wird empfohlen, an dieser Stelle den “$SharePoint.Project.AssemblyFullName$”-Parameter zu verwenden. Dies ist ein ersetzbarer Parameter, welcher den “strong Name” der Assemby darstellt. Mehr Informationen zu ersetzbaren Parametern können der MSDN entnommen werden: <a title="http://msdn.microsoft.com/de-de/library/ee231545.aspx" href="http://msdn.microsoft.com/de-de/library/ee231545.aspx">http://msdn.microsoft.com/de-de/library/ee231545.aspx</a>.</p>
<p><strong>Namespace:</strong> Der Namespace, in welchem sich die Controls oder der Webpart befindet. Sollten sich die eigenen Controls in mehreren Namespaces befinden, so muss pro Namespace ein SafeControl Eintrag erstellt werden.</p>
<p><strong>TypeName:</strong> Der Name des Controls, welchem es erlaubt werden soll im SharePoint ausgeführt zu werden. Sollten in einem Namespace mehrere Controls vorhanden sein, so muss nicht für jedes Control ein SafeControl registriert werden. Stattdessen kann als TypeName ein Sternchen (*) verwendet werden, um die gesamte DLL zu registrieren.</p>
<p><strong>Safe:</strong> Boolean-Wert, welcher angibt, ob das Control sicher (true) oder nicht sicher (false) ist.</p>
<div></div>
<p>Um ein SafeControl zu registrieren gibt es verschiedene Möglichkeiten:</p>
<ul>
<li>Manuelles Hinzufügen des SafeControls zur web.config Datei (<font color="#ff0000"><strong>schlecht, dieses Vorgehen sollte nur zu Entwicklungs- und Testzwecken verwendet werden und niemals in einem Produktivsystem zum Einsatz kommen</strong></font>) </li>
<li>Hinzufügen des SafeControls via Code (<font color="#0000ff"><strong>besser</strong></font>) </li>
<li>Veröffentlichen einer Assembly als Solution Package (.wsp Datei) (<font color="#008000"><strong>empfohlen</strong></font>) </li>
</ul>
<p>&#160;</p>
<h3>Manuelles Hinzufügen des SafeControls</h3>
<p>Das manuelle Hinzufügen eines SafeControls zur web.config Datei erscheint auf den ersten Blick als einfachster und schnellster Weg. Es ist jedoch ausdrücklich nicht zu empfehlen, die web.config Datei selbst anzupassen.</p>
<p>Warum ist dieses Vorgehen nicht empfehlenswert? Was zu Beginn als einfach und schnell umzusetzen erscheint verursacht schnell einen enormen Pflege- und Administrationsaufwand. Solange man sich auf einem einzelnen SharePoint Server bewegt muss man den SafeControl Eintrag nur in die web.config Datei der gewünschten Applikation eintragen. Befindet man sich nun jedoch in einer kleinen Server Farm mit zwei Servern und möchte seine Assembly für fünf verschiedene Applikationen zur Verfügung stellen, so muss man bereits zehn web.config Dateien anpassen. Wenn nun noch ein weiterer Server zur Farm hinzugefügt wird, dann muss daran gedacht werden, die Änderung der web.config auch auf dem neuen Server durchzuführen.</p>
<p>Unterm Strich ist dies die aufwändigste und vor allem fehleranfälligste Variante. Sie eignet sich nur zu Entwicklungs- und Testzwecken.</p>
<h3>Hinzufügen des SafeControls via Code</h3>
<p>Das SharePoint Objekt Modell stellt die Klasse “SPWebConfigModification” zur Verfügung. Mit Hilfe dieser Klasse können aus dem Code heraus Änderungen an der web.config Datei einer Applikation vorgenommen werden.</p>
<p>Die so vorgenommenen Änderungen werden auf allen Servern der Farm ausgeführt und wirken sich auch auf neu hinzugefügte Server aus.</p>
<p>Um den Code zu verwenden kann z.B. die Methode “FeatureActivated” überschrieben werden. Dazu ist es jedoch erforderlich, dass die eigene Assembly über ein Feature deployed wird.</p>
<p>Folgender Code kann zur Anpassung der web.config Datei verwendet werden:</p>
<p>SPWebApplication webApp = site.WebApplication; <code></code></p>
<pre>

// Erweiterung der web.config definieren
SPWebConfigModification configMod = new SPWebConfigModification(
  &quot;SafeControl[@Assembly=\&quot;MyAssembly\&quot;][@Namespace=\&quot;My.Namespace\&quot;]&quot;
  + &quot;[@TypeName=\&quot;*\&quot;][@Safe=\&quot;True\&quot;], &quot;/configuration/SharePoint/SafeControls&quot;
); 

// Die Aenderung der ModificationCollection hinzufuegen
webApp.WebConfigModifications.Add(configMod); 

// Die Aenderung anwenden
webApp.Farm.Services.GetValue&lt;SPWebService&gt;().ApplyWebConfigModifications();
</code>
</pre>
<p>&#160;</p>
<h3>Veröffentlichen einer Assembly als Solution Package</h3>
<p>Die empfohlene Vorgehensweise, um eigene Webparts, Features, Assemblies etc. zu veröffentlichen ist die Erstellung eines Solution Packages (.wsp Datei). Gerade mit SharePoint 2010 sollte dies der einzigste noch verwendete Weg sein, da nun auch SharePoint selbst alle Features als wsp zur Verfügung stellt. Selbst über die Oberfläche gespeicherte List- oder Sitetemplates werden nun als .wsp Datei zur Verfügung gestellt.</p>
<p>Während früher für die Registrierung des SafeControls noch die Manifest Datei des Solution Packages angepasst werden musste, bietet Visual Studio 2010 heute eine einfache Oberfläche für diese Aufgabe. In den meisten Fällen wird diese Aufgabe sogar automatisch von Visual Studio 2010 durchgeführt (z.B. wenn ein Webpart zu einem SharePoint Projekt hinzugefügt wird).</p>
<p>Sollte Visual Studio die Einstellung nicht automatisch vorgenommen haben (dies passiert z.B. beim Erstellen einer Custom Action, welche zusammen mit einem User Control verwendet wird), so kann diese mit wenigen Klicks nachgeholt werden:</p>
<ol>
<li>Im Visual Studio die gewünschte Datei (z.B. das Modul, in welchem die eigene Assembly liegt) markieren und im Properties Fenster den Eintrag “Safe Controls Entries” öffnen.
<p><a href="http://blog.oraylis.de/wp-content/uploads/2012/02/PropertiesBox.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="PropertiesBox" src="http://blog.oraylis.de/wp-content/uploads/2012/02/PropertiesBox_thumb.png" width="244" height="159" /></a> </p>
<p></li>
<li>Es wird ein neues Fenster geöffnet, in welchem die erforderlichen SafeControl Einträge gesetzt werden können. Visual Studio 2010 füllt diese Maske bereits mit Standardwerten und verweist dabei auf die Assembly des aktuellen Projektes. Wenn diese Maske wieder geschlossen wird, werden die vorgenommenen Änderungen automatisch in das Solution Manifest eingetragen, mehr muss nicht getan werden.
<p><a href="http://blog.oraylis.de/wp-content/uploads/2012/02/SafeControlEntries.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="SafeControlEntries" src="http://blog.oraylis.de/wp-content/uploads/2012/02/SafeControlEntries_thumb.png" width="365" height="198" /></a> </li>
</ol>
<p>Die auf diese Weise registrierten SafeControls werden beim Deployment des Solution Packages automatisch allen Servern hinzugefügt und gelten auch für alle zukünftig hinzugefügten Server.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2012/02/safecontrols-fr-sharepoint-2010-hinzufgen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Zugriff auf Excel Services einschr&#228;nken</title>
		<link>http://blog.oraylis.de/2012/02/zugriff-auf-excel-services-einschrnken-2/</link>
		<comments>http://blog.oraylis.de/2012/02/zugriff-auf-excel-services-einschrnken-2/#comments</comments>
		<pubDate>Wed, 15 Feb 2012 08:50:34 +0000</pubDate>
		<dc:creator>Daniel Snellen</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Excel Service]]></category>
		<category><![CDATA[Lizenzen]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2012/02/zugriff-auf-excel-services-einschrnken-2/</guid>
		<description><![CDATA[<p>Für die Excel Services auf den SharePoint Server 2010 werden Enterprise CAL’s benötigt.    <br />Leider bietet der SharePoint Server 2010 aktuell nur die Möglichkeit, Enterprise Features FARM weit zu aktivieren. Aus technologischer Sicht ist es für den SharePoint Server 2010 irrelevant, ob für alle Benutzer Enterprise CAL’s zur Verfügung stehen da jeder User bspw. Excel Services nutzen kann.</p>
<p>Sobald eine Service Application für den Excel Service angelegt wurde, versucht der SharePoint 2010 alle Excel Dateien (ab Excel 2007 aufwärts) im Browser zu öffnen. Für den SharePoint 2010 ist es irrelevant, ob die Enterprise Features für eine SiteCollention aktiviert oder deaktiviert sind. Falls die Features jedoch nicht aktiviert sind, bekommt der Benutzer eine Fehlermeldung.</p>
<p>Dieses Verhalten ist in einigen Szenarien hinderlich, wenn z.B. der SharePoint als Fileserver genutzt wird und es jedoch nur eine begrenze Anzahl an Enterprise Lizenzen für ausgewählte Benutzer gibt.</p>
<p>In diesem Fall muss der SharePoint Server 2010 daran gehindert werden, die „normalen“ Excel Dateien im Browser zu öffnen, indem die Websitesammlungs-Feature „<strong>Dokumente standardmäßig in Clientanwendungen öffnen“, </strong>aktiviert wird. </p>
<p>Sobald diese aktiv ist, werden alle Dokumente nur noch mit den lokal installieren Anwendungen geöffnet, z.B. Excel 2010 oder Word 2010.</p>
<p>Um dem ausgewählten Benutzer-Kreis dennoch das Öffnen von Excel Dateien über Excel Service im Browser zu ermöglichen, muss eine Dokumenten Bibliothek angelegt werden. In dieser Bibliothek werden nun die „speziellen“ Excel Dateien gespeichert. Die Berechtigung für diese Dokumenten Bibliothek sollte so eingestellt werden, dass nur Benutzer mit einer Enterprise CAL Zugriff haben.    <br />Letztendlich muss in den erweiterten Einstellungen dieser Dokumenten Bibliothek noch die Funktion „Dokumente im Browser öffnen“ aktiviert werden.</p>
<p>Nachfolgend die detaillierte Beschreibung für beide Einstellungen: </p>
<hr />
<h4>Webseiten Einstellungen</h4>
<p>1. Klickt in der SharePoint-Zentraladministration auf <b>Websiteaktionen</b> und anschließend auf <b>Websiteeinstellungen</b>.</p>
<p>2. Klickt auf der Seite <b>Websiteeinstellungen</b> im Abschnitt <b>Websitesammlungsverwaltung</b> auf <b>Websitesammlungs-Features</b>.</p>
<p>3. Klickt auf der Seite <b>Features</b> für das Feature <b>Dokumente standardmäßig in Clientanwendungen öffnen</b> auf <b>Aktivieren</b> (OpenInClient-Feature ist aktiviert), um Dokumente in der Clientanwendung zu öffnen. Klickt auf <b>Deaktivieren</b> (OpenInClient-Feature ist deaktiviert), um Dokumente im Browser zu öffnen.</p>
<hr />
<h4>Dokumenten Bibliothek</h4>
<p>1. Klickt auf der Bibliothekssymbolleiste auf Bibliothekseinstellungen.</p>
<p>2. Klickt auf der Seite Dokumentbibliothekseinstellungen auf Erweiterte Einstellungen.</p>
<p>3. Wählt nun auf der Seite Erweiterte Einstellungen unter Öffnen von Dokumenten im Browser eine der folgenden Optionen aus:</p>
<p><b>In der Clientanwendung öffnen</b>: Klickt ein Benutzer auf ein Dokument in dieser Bibliothek, wird das Dokument in der entsprechenden Clientanwendung geöffnet (sofern verfügbar). </p>
<p><b>Im Browser öffnen</b>: Klickt ein Benutzer auf ein Dokument in dieser Bibliothek, wird das Dokument in der Webbrowserwebanwendung für diesen Dokumenttyp geöffnet. Wenn das Dokument in der Webanwendung geöffnet wird, kann der Benutzer auswählen, ob das das Dokument in der Clientanwendung geöffnet werden soll. </p>
<p><b>Serverstandardeinstellung verwenden</b>: Klickt ein Benutzer auf ein Dokument in dieser Bibliothek, wird das Dokument gemäß dem Standardöffnungsverhalten geöffnet, welches für den Server vorgesehen ist, auf dem die SharePoint 2010-Produkte installiert sind.</p>
<div style="display:block"><small><em>by Daniel Snellen <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2012%2F02%2Fzugriff-auf-excel-services-einschrnken-2%2F&amp;linkname=Zugriff%20auf%20Excel%20Services%20einschr%26auml%3Bnken"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Für die Excel Services auf den SharePoint Server 2010 werden Enterprise CAL’s benötigt.    <br />Leider bietet der SharePoint Server 2010 aktuell nur die Möglichkeit, Enterprise Features FARM weit zu aktivieren. Aus technologischer Sicht ist es für den SharePoint Server 2010 irrelevant, ob für alle Benutzer Enterprise CAL’s zur Verfügung stehen da jeder User bspw. Excel Services nutzen kann.</p>
<p>Sobald eine Service Application für den Excel Service angelegt wurde, versucht der SharePoint 2010 alle Excel Dateien (ab Excel 2007 aufwärts) im Browser zu öffnen. Für den SharePoint 2010 ist es irrelevant, ob die Enterprise Features für eine SiteCollention aktiviert oder deaktiviert sind. Falls die Features jedoch nicht aktiviert sind, bekommt der Benutzer eine Fehlermeldung.</p>
<p>Dieses Verhalten ist in einigen Szenarien hinderlich, wenn z.B. der SharePoint als Fileserver genutzt wird und es jedoch nur eine begrenze Anzahl an Enterprise Lizenzen für ausgewählte Benutzer gibt.</p>
<p>In diesem Fall muss der SharePoint Server 2010 daran gehindert werden, die „normalen“ Excel Dateien im Browser zu öffnen, indem die Websitesammlungs-Feature „<strong>Dokumente standardmäßig in Clientanwendungen öffnen“, </strong>aktiviert wird. </p>
<p>Sobald diese aktiv ist, werden alle Dokumente nur noch mit den lokal installieren Anwendungen geöffnet, z.B. Excel 2010 oder Word 2010.</p>
<p>Um dem ausgewählten Benutzer-Kreis dennoch das Öffnen von Excel Dateien über Excel Service im Browser zu ermöglichen, muss eine Dokumenten Bibliothek angelegt werden. In dieser Bibliothek werden nun die „speziellen“ Excel Dateien gespeichert. Die Berechtigung für diese Dokumenten Bibliothek sollte so eingestellt werden, dass nur Benutzer mit einer Enterprise CAL Zugriff haben.    <br />Letztendlich muss in den erweiterten Einstellungen dieser Dokumenten Bibliothek noch die Funktion „Dokumente im Browser öffnen“ aktiviert werden.</p>
<p>Nachfolgend die detaillierte Beschreibung für beide Einstellungen: </p>
<hr />
<h4>Webseiten Einstellungen</h4>
<p>1. Klickt in der SharePoint-Zentraladministration auf <b>Websiteaktionen</b> und anschließend auf <b>Websiteeinstellungen</b>.</p>
<p>2. Klickt auf der Seite <b>Websiteeinstellungen</b> im Abschnitt <b>Websitesammlungsverwaltung</b> auf <b>Websitesammlungs-Features</b>.</p>
<p>3. Klickt auf der Seite <b>Features</b> für das Feature <b>Dokumente standardmäßig in Clientanwendungen öffnen</b> auf <b>Aktivieren</b> (OpenInClient-Feature ist aktiviert), um Dokumente in der Clientanwendung zu öffnen. Klickt auf <b>Deaktivieren</b> (OpenInClient-Feature ist deaktiviert), um Dokumente im Browser zu öffnen.</p>
<hr />
<h4>Dokumenten Bibliothek</h4>
<p>1. Klickt auf der Bibliothekssymbolleiste auf Bibliothekseinstellungen.</p>
<p>2. Klickt auf der Seite Dokumentbibliothekseinstellungen auf Erweiterte Einstellungen.</p>
<p>3. Wählt nun auf der Seite Erweiterte Einstellungen unter Öffnen von Dokumenten im Browser eine der folgenden Optionen aus:</p>
<p><b>In der Clientanwendung öffnen</b>: Klickt ein Benutzer auf ein Dokument in dieser Bibliothek, wird das Dokument in der entsprechenden Clientanwendung geöffnet (sofern verfügbar). </p>
<p><b>Im Browser öffnen</b>: Klickt ein Benutzer auf ein Dokument in dieser Bibliothek, wird das Dokument in der Webbrowserwebanwendung für diesen Dokumenttyp geöffnet. Wenn das Dokument in der Webanwendung geöffnet wird, kann der Benutzer auswählen, ob das das Dokument in der Clientanwendung geöffnet werden soll. </p>
<p><b>Serverstandardeinstellung verwenden</b>: Klickt ein Benutzer auf ein Dokument in dieser Bibliothek, wird das Dokument gemäß dem Standardöffnungsverhalten geöffnet, welches für den Server vorgesehen ist, auf dem die SharePoint 2010-Produkte installiert sind.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2012/02/zugriff-auf-excel-services-einschrnken-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excel Services Scorecard as Windows Desktop Gadget</title>
		<link>http://blog.oraylis.de/2011/10/excel-services-scorecard-as-windows-desktop-gadget/</link>
		<comments>http://blog.oraylis.de/2011/10/excel-services-scorecard-as-windows-desktop-gadget/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 13:59:38 +0000</pubDate>
		<dc:creator>Hilmar Buchta</dc:creator>
				<category><![CDATA[MS SSAS]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Desktop Gadget]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2011/10/excel-services-scorecard-as-windows-desktop-gadget/</guid>
		<description><![CDATA[<p align="right">SharePoint 2010 | SQL Server 2008 | SQL Server 2008R2 | SQL Server 2012 (Denali)</p>
<p align="left">Early this year I stumbled across a very interesting Windows desktop gadget, that is capable of showing an Excel Services <em>element</em> on the Windows desktop. Here, <em>element</em> can be a certain named region, a pivot table or a chart in an Excel Services document. The technology for showing this element is the Excel Services REST API (REST stands for Representational State Transfer).</p>
<p align="left">You can find the article about the desktop gadget as well as the download link for the gadget itself <a href="http://blogs.msdn.com/b/cumgranosalis/archive/2009/11/03/interoducing-the-excel-services-gadget.aspx" target="_blank">here</a>. Installation and configuration of the gadget is pretty well explained on the linked site, so I can keep this short here.</p>
<p>After adding the gadget to your desktop, the gadget still needs to be configured. </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p1" border="0" alt="p1" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p1_thumb.png" width="198" height="189" /></a></p>
<p>By clicking on the gadget configuration icon, the configuration dialog is displayed:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p2" border="0" alt="p2" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p2_thumb.png" width="202" height="244" /></a></p>
<table border="1" cellspacing="0" cellpadding="2" width="798">
<tbody>
<tr>
<td valign="top" width="144">Workbook</td>
<td valign="top" width="652">The URL to your Excel Services workbook, for example          <br />http://srv1/PowerPivot/Gadget.xlsx</td>
</tr>
<tr>
<td valign="top" width="144">Show in gadget</td>
<td valign="top" width="652">Here you can pick from any named region, pivot table or chart that should be displayed in the “expanded” state of the gadget (flyout)</td>
</tr>
<tr>
<td valign="top" width="144">Thumbnail</td>
<td valign="top" width="652">Here you can pick from any named region, pivot table or chart that should be displayed in the normal state of the gadget. This is what you see on your desktop first</td>
</tr>
<tr>
<td valign="top" width="144">Refresh</td>
<td valign="top" width="652">refresh interval of the gadget </td>
</tr>
</tbody>
</table>
<p>So the simple idea is to create a nice pivot table and to use this as the basis for the gadget. For my example I created a simple pivot table based on the Finance perspective of the Adventure Works OLAP cube. For the pivot table I have the year on the filter, the sales amount and the operating profit KPI as the data and the departments on the rows.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p3" border="0" alt="p3" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p3_thumb.png" width="478" height="180" /></a></p>
<p>If we use this large table in our gadget, the thumbnail view gets pretty much “microscopic”:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p6" border="0" alt="p6" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p6_thumb.png" width="226" height="167" /></a></p>
<p>So, for the thumbnail (default) view you should choose a much smaller area. The flyout (detail view) is much better, but the KPI indicators and the filters are not shown:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p5" border="0" alt="p5" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p5_thumb.png" width="388" height="150" /></a></p>
<p>So, here are a few tips and tricks you can use to make the gadget look nicer.</p>
<p>&#160;</p>
<p><strong><u>1. Use time filters for current year, current month etc.</u></strong></p>
<p>Of course we want our gadget to always show the latest values. Because of the auto refresh interval, we don’t have to care about this. But usually we will also use a time filter to restrict the data to a specific week, month etc. Since we don’t see the filter, the idea is to have this set automatically to the current time.</p>
<p>This can be easily done in the Excel Pivot Table by using date filters. Unfortunately, these filters don’t work in the filter area, so we have to place the time hierarchy on the rows or columns. Then we can apply a filter (for example current year) as shown here:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p7" border="0" alt="p7" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p7_thumb.png" width="326" height="417" /></a></p>
<p>For Adventure Works this would not result in any data since the sample date is only available for the years shown in the screenshot. However, in real life scenarios, this would be a good choice for the filter.</p>
<p>&#160;</p>
<p><strong><u>2. For thumbnail view, convert the pivot table to formulas</u></strong></p>
<p>Formulas are much easier to handle and to format, compared to a pivot table. Remembering the very narrow available space for the thumbnail view, having full control of the layout is important. You may even want to hard-code the thumbnail view. Let me explain what I mean. In order to have the connection name at a single place, we start in a blank sheet by putting the connection name in a named cell called “OLAPConnection” (feel free to choose a different name):</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p8.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p8" border="0" alt="p8" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p8_thumb.png" width="592" height="87" /></a></p>
<p>As the next step, let’s construct the current date member. From Management Studio, we can see that the MDX name of the time members looks like this (may be different in your cube, this example is taken from the Adventure Works sample database):</p>
<ul>
<li><font face="Courier New">[Date].[Calendar].[Calendar Year].&amp;[2001]</font> </li>
<li><font face="Courier New">[Date].[Calendar].[Month].&amp;[2001]&amp;[1]</font> </li>
<li><font face="Courier New">[Date].[Calendar].[Date].&amp;[20010101]</font> </li>
</ul>
<p>Here we have January 1, 2001. This is easily constructed using Excel’s time functions. So we simply add these fields to our Excel sheet</p>
<table border="1" cellspacing="0" cellpadding="2" width="791">
<tbody>
<tr>
<td valign="top" width="91"><strong>Label/Name</strong></td>
<td valign="top" width="40"><strong>Cell</strong></td>
<td valign="top" width="658"><strong>Formula</strong></td>
</tr>
<tr>
<td valign="top" width="91">Today</td>
<td valign="top" width="40">B3</td>
<td valign="top" width="658"><font face="Courier New">=Now()</font></td>
</tr>
<tr>
<td valign="top" width="91">Year</td>
<td valign="top" width="40">B4</td>
<td valign="top" width="658"><font face="Courier New">=&quot;[Date].[Calendar].[Calendar Year].&amp;[&quot; &amp; Year(B3) &amp; &quot;]&quot;</font></td>
</tr>
<tr>
<td valign="top" width="91">Month</td>
<td valign="top" width="40">B5</td>
<td valign="top" width="658"><font face="Courier New">=&quot;[Date].[Calendar].[Month].&amp;[&quot; &amp; Year(B3) &amp; &quot;]&amp;[&quot; &amp; Month(B3) &amp; &quot;]&quot;</font></td>
</tr>
<tr>
<td valign="top" width="91">Day</td>
<td valign="top" width="40">B6</td>
<td valign="top" width="658"><font face="Courier New">=&quot;[Date].[Calendar].[Date].&amp;[&quot; &amp; 10000*Year(B3)+100*Month(B3)+Day(B3) &amp;&quot;]&quot;</font></td>
</tr>
</tbody>
</table>
<p>Of course you could also add fields for the previous month, the week etc., just depending on the needs of your scorecard. I named the cells B4 as MDXYear, B5 as MDXMonth, B6 as MDXDay. This is how the result looks like:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p9" border="0" alt="p9" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p9_thumb.png" width="554" height="137" /></a></p>
<p>I had to fake the current date in order to see some values. Therefore I replaced the formula for today with this one:</p>
<p><font face="Courier New">=Date(2004, Month(Now()), Day(Now()))</font></p>
<p>Of course, you won’t want to do this in a real life scenario but since the sample dataset contains no data for 2011 I had to use this “time machine formula”.</p>
<p>Before you start wondering what all this is good for, let’s query some data. For example, let’s assume that we want to see the operating profit (which is on the account ‘Operating Profit’) for the current year. So this would by our Excel formula:</p>
<p><font face="Courier New">=CUBEVALUE(OLAPConnection,&quot;[Measures].[Amount]&quot;,&quot;[Account].[Accounts].[Operating Profit]&quot;,MDXYear)</font></p>
<p>In order to show this value in our gadget, I placed it on a new sheet and adjusted the column width and height a little bit.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p10.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p10" border="0" alt="p10" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p10_thumb.png" width="168" height="83" /></a></p>
<p>In order to get a nice flyout, I also created a simple pivot chart in the Excel sheet, showing the operational profit during the year. After saving the Excel file, our gadget now looks like this:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p12.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p12" border="0" alt="p12" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p12_thumb.png" width="213" height="154" /></a></p>
<p>And here is the flyout:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p13.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p13" border="0" alt="p13" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p13_thumb.png" width="298" height="270" /></a></p>
<p>&#160;</p>
<p><strong><u>3. (Conditional) background colors and fonts are preserved in the REST API</u></strong></p>
<p>In order to include a kind of traffic light approach, we already found out that Excel indicators are not yet supported in the REST API. However, conditional formatting is supported, so you can easily create a scorecard like the follow:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p14.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p14" border="0" alt="p14" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p14_thumb.png" width="170" height="209" /></a></p>
<p>Also KPI indicators can be created using special characters, for example from the WingDings font as shown in the following example:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p15.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p15" border="0" alt="p15" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p15_thumb.png" width="155" height="200" /></a></p>
<p>For this example, I used a separate table of banding ranges and an Excel VLookup to find the appropriate color for the indictor. Here, 1=green, 2=yellow, 3=red. In the Excel cell I used conditional formatting to choose the text color appropriately. But as we always want to display a certain element (here, the diamond from the WingDings font), I used a custom format for each of the cells, so the number (1, 2 or 3) is not shown but only one character. The corresponding character for the diamond is “u”, so the custom format looks like this:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p20.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p20" border="0" alt="p20" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p20_thumb.png" width="365" height="327" /></a></p>
<p>And of course, there is a lot more you can do with all these formatting, cube functions etc.</p>
<p>&#160;</p>
<p><strong><u>3. Make changes to the source code of the gadget</u></strong></p>
<p>You can extract the gadget or modify the source code of the gadget yourself. After installing the gadget, the extracted sources can be found here: </p>
<p>%LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets</p>
<p>After modifying the sources, the gadgets need to be switched off and on in order for the changes to apply. The main file is the gadget.html here. For example you could change the link “By Excel Services” to point on your SharePoint server. To do so, a simple change in the source is needed:</p>
<p>Before:    <br /><font face="Courier New">&lt;tr&gt;&lt;td id=&quot;dockedTitle&quot; width=&quot;100%&quot;&gt;      <br />&lt;a id=&quot;leftDockedTitleLink&quot; href=&quot;</font><font face="Courier New">http://blogs.msdn.com/cumgranosalis/pages/excel-services-windows-7-gadget.aspx&quot;</font><font face="Courier New">&gt;By Excel Services&lt;/a&gt;      <br />&lt;/td&gt;&lt;td&gt;</font></p>
<p>After:    <br /><font face="Courier New">&lt;tr&gt;&lt;td id=&quot;dockedTitle&quot; width=&quot;100%&quot;&gt;      <br />&lt;a id=&quot;leftDockedTitleLink&quot; href=&quot;</font><font face="Courier New">http://srv1/PowerPivot/Forms/AllItems.aspx&quot;</font><font face="Courier New">&gt;All reports&lt;/a&gt;      <br />&lt;/td&gt;&lt;td&gt;</font></p>
<p>I also changed the background color here, so this is how the result looks like:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p17.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p17" border="0" alt="p17" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p17_thumb.png" width="198" height="244" /></a></p>
<p>As you can see, you can do a lot of interesting things with this simple but very powerful desktop gadget.</p>
<p>&#160;</p>
<p><strong><u>4. Use parameters</u></strong></p>
<p>If you want to use the same Excel Services file for more than one user you may want to pass parameters from each individual instance of the desktop gadget to the Excel Services file. This is also possible, however there are some things to take care of.</p>
<p>The syntax for passing a parameter is </p>
<p><font face="Courier New">Ranges(&#8216;cellname&#8217;)=value</font></p>
<p>Here, cellname is a named cell in Excel that we want to pass the value to. This is how it is entered in the desktop gadget, if our named cell is named ‘value1’ and we want to pass ‘xyz’:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/z1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="z1" border="0" alt="z1" src="http://blog.oraylis.de/wp-content/uploads/2011/10/z1_thumb.png" width="244" height="214" /></a></p>
<p>Multiple parameters may be passed by separating them with an ampersand, for example</p>
<p><font face="Courier New">Ranges(&#8216;value1&#8242;)=xyz&amp;Ranges(&#8216;value2&#8242;)=42&amp;Ranges(&#8216;value3&#8242;)=01</font></p>
<p>This could be our corresponding view in the desktop gadget:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/z2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="z2" border="0" alt="z2" src="http://blog.oraylis.de/wp-content/uploads/2011/10/z2_thumb.png" width="102" height="109" /></a></p>
<p>I just added a field that concatenates all three parameters to show that the Excel Services sheet is recomputed based on the passed values.</p>
<p>As you can see, all parameters are passed to the gadget. However, numeric parameters are considered as numbers in Excel, so 01 was changed to 1. If you want to prevent this, add a &#8216; in front of each text. </p>
<p>This is how the parameters should look like when you want to make sure, text is passed as text (and not converted to a number or date) in Excel:</p>
<p><font face="Courier New">Ranges(&#8216;value1&#8242;)=<font color="#ff0000">&#8216;</font>xyz&amp;Ranges(&#8216;value2&#8242;)=42&amp;Ranges(&#8216;value3&#8242;)=<font color="#ff0000">&#8216;</font>01</font></p>
<p>You should also be aware, that this string is passed to the URL “as it is”. So you have to encode all characters that are not allowed in a URL.</p>
<p>For example, if you want to pass the year 2006 from AdventureWorks, the unique name of the date member would be:</p>
<p><font face="Courier New">[Date].[Calendar].[Calendar Year].&amp;[2006]</font></p>
<p>In order to pass this to the gadget, you have to encode blanks, the square brackets and the ampersand. So the result would look like this:</p>
<p><font face="Courier New">Ranges(&#8216;parDate&#8217;)=%5BDate%5D.%5BCalendar%5D.%5BCalendar%20Year%5D.%26%5B2006%5D</font></p>
<p>This is very difficult to read. Therefore I recommend just to pass the key (2006 in this case) as the parameter and to construct the unique name in Excel using a formula like </p>
<p><font face="Courier New">=&quot;[Date].[Calendar].[Calendar Year].&amp;[&quot; &amp; parDate &amp; &quot;]&quot;</font></p>
<p>Of course, there are a lot more things you can do with this simple, yet powerful Windows desktop gadget. Like with most other gadget you may also place more than one instance of the gadget on your desktop, so you can have different scorecards. You can also add links to your Excel sheet, so that you can jump directly to a dashboard for a specific key performance indicator. Just start playing with the gadget and see how powerful und useful it is.</p>
<div style="display:block"><small><em>by Hilmar Buchta <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2011%2F10%2Fexcel-services-scorecard-as-windows-desktop-gadget%2F&amp;linkname=Excel%20Services%20Scorecard%20as%20Windows%20Desktop%20Gadget"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p align="right">SharePoint 2010 | SQL Server 2008 | SQL Server 2008R2 | SQL Server 2012 (Denali)</p>
<p align="left">Early this year I stumbled across a very interesting Windows desktop gadget, that is capable of showing an Excel Services <em>element</em> on the Windows desktop. Here, <em>element</em> can be a certain named region, a pivot table or a chart in an Excel Services document. The technology for showing this element is the Excel Services REST API (REST stands for Representational State Transfer).</p>
<p align="left">You can find the article about the desktop gadget as well as the download link for the gadget itself <a href="http://blogs.msdn.com/b/cumgranosalis/archive/2009/11/03/interoducing-the-excel-services-gadget.aspx" target="_blank">here</a>. Installation and configuration of the gadget is pretty well explained on the linked site, so I can keep this short here.</p>
<p>After adding the gadget to your desktop, the gadget still needs to be configured. </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p1" border="0" alt="p1" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p1_thumb.png" width="198" height="189" /></a></p>
<p>By clicking on the gadget configuration icon, the configuration dialog is displayed:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p2" border="0" alt="p2" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p2_thumb.png" width="202" height="244" /></a></p>
<table border="1" cellspacing="0" cellpadding="2" width="798">
<tbody>
<tr>
<td valign="top" width="144">Workbook</td>
<td valign="top" width="652">The URL to your Excel Services workbook, for example          <br />http://srv1/PowerPivot/Gadget.xlsx</td>
</tr>
<tr>
<td valign="top" width="144">Show in gadget</td>
<td valign="top" width="652">Here you can pick from any named region, pivot table or chart that should be displayed in the “expanded” state of the gadget (flyout)</td>
</tr>
<tr>
<td valign="top" width="144">Thumbnail</td>
<td valign="top" width="652">Here you can pick from any named region, pivot table or chart that should be displayed in the normal state of the gadget. This is what you see on your desktop first</td>
</tr>
<tr>
<td valign="top" width="144">Refresh</td>
<td valign="top" width="652">refresh interval of the gadget </td>
</tr>
</tbody>
</table>
<p>So the simple idea is to create a nice pivot table and to use this as the basis for the gadget. For my example I created a simple pivot table based on the Finance perspective of the Adventure Works OLAP cube. For the pivot table I have the year on the filter, the sales amount and the operating profit KPI as the data and the departments on the rows.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p3" border="0" alt="p3" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p3_thumb.png" width="478" height="180" /></a></p>
<p>If we use this large table in our gadget, the thumbnail view gets pretty much “microscopic”:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p6.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p6" border="0" alt="p6" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p6_thumb.png" width="226" height="167" /></a></p>
<p>So, for the thumbnail (default) view you should choose a much smaller area. The flyout (detail view) is much better, but the KPI indicators and the filters are not shown:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p5.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p5" border="0" alt="p5" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p5_thumb.png" width="388" height="150" /></a></p>
<p>So, here are a few tips and tricks you can use to make the gadget look nicer.</p>
<p>&#160;</p>
<p><strong><u>1. Use time filters for current year, current month etc.</u></strong></p>
<p>Of course we want our gadget to always show the latest values. Because of the auto refresh interval, we don’t have to care about this. But usually we will also use a time filter to restrict the data to a specific week, month etc. Since we don’t see the filter, the idea is to have this set automatically to the current time.</p>
<p>This can be easily done in the Excel Pivot Table by using date filters. Unfortunately, these filters don’t work in the filter area, so we have to place the time hierarchy on the rows or columns. Then we can apply a filter (for example current year) as shown here:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p7.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p7" border="0" alt="p7" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p7_thumb.png" width="326" height="417" /></a></p>
<p>For Adventure Works this would not result in any data since the sample date is only available for the years shown in the screenshot. However, in real life scenarios, this would be a good choice for the filter.</p>
<p>&#160;</p>
<p><strong><u>2. For thumbnail view, convert the pivot table to formulas</u></strong></p>
<p>Formulas are much easier to handle and to format, compared to a pivot table. Remembering the very narrow available space for the thumbnail view, having full control of the layout is important. You may even want to hard-code the thumbnail view. Let me explain what I mean. In order to have the connection name at a single place, we start in a blank sheet by putting the connection name in a named cell called “OLAPConnection” (feel free to choose a different name):</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p8.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p8" border="0" alt="p8" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p8_thumb.png" width="592" height="87" /></a></p>
<p>As the next step, let’s construct the current date member. From Management Studio, we can see that the MDX name of the time members looks like this (may be different in your cube, this example is taken from the Adventure Works sample database):</p>
<ul>
<li><font face="Courier New">[Date].[Calendar].[Calendar Year].&amp;[2001]</font> </li>
<li><font face="Courier New">[Date].[Calendar].[Month].&amp;[2001]&amp;[1]</font> </li>
<li><font face="Courier New">[Date].[Calendar].[Date].&amp;[20010101]</font> </li>
</ul>
<p>Here we have January 1, 2001. This is easily constructed using Excel’s time functions. So we simply add these fields to our Excel sheet</p>
<table border="1" cellspacing="0" cellpadding="2" width="791">
<tbody>
<tr>
<td valign="top" width="91"><strong>Label/Name</strong></td>
<td valign="top" width="40"><strong>Cell</strong></td>
<td valign="top" width="658"><strong>Formula</strong></td>
</tr>
<tr>
<td valign="top" width="91">Today</td>
<td valign="top" width="40">B3</td>
<td valign="top" width="658"><font face="Courier New">=Now()</font></td>
</tr>
<tr>
<td valign="top" width="91">Year</td>
<td valign="top" width="40">B4</td>
<td valign="top" width="658"><font face="Courier New">=&quot;[Date].[Calendar].[Calendar Year].&amp;[&quot; &amp; Year(B3) &amp; &quot;]&quot;</font></td>
</tr>
<tr>
<td valign="top" width="91">Month</td>
<td valign="top" width="40">B5</td>
<td valign="top" width="658"><font face="Courier New">=&quot;[Date].[Calendar].[Month].&amp;[&quot; &amp; Year(B3) &amp; &quot;]&amp;[&quot; &amp; Month(B3) &amp; &quot;]&quot;</font></td>
</tr>
<tr>
<td valign="top" width="91">Day</td>
<td valign="top" width="40">B6</td>
<td valign="top" width="658"><font face="Courier New">=&quot;[Date].[Calendar].[Date].&amp;[&quot; &amp; 10000*Year(B3)+100*Month(B3)+Day(B3) &amp;&quot;]&quot;</font></td>
</tr>
</tbody>
</table>
<p>Of course you could also add fields for the previous month, the week etc., just depending on the needs of your scorecard. I named the cells B4 as MDXYear, B5 as MDXMonth, B6 as MDXDay. This is how the result looks like:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p9.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p9" border="0" alt="p9" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p9_thumb.png" width="554" height="137" /></a></p>
<p>I had to fake the current date in order to see some values. Therefore I replaced the formula for today with this one:</p>
<p><font face="Courier New">=Date(2004, Month(Now()), Day(Now()))</font></p>
<p>Of course, you won’t want to do this in a real life scenario but since the sample dataset contains no data for 2011 I had to use this “time machine formula”.</p>
<p>Before you start wondering what all this is good for, let’s query some data. For example, let’s assume that we want to see the operating profit (which is on the account ‘Operating Profit’) for the current year. So this would by our Excel formula:</p>
<p><font face="Courier New">=CUBEVALUE(OLAPConnection,&quot;[Measures].[Amount]&quot;,&quot;[Account].[Accounts].[Operating Profit]&quot;,MDXYear)</font></p>
<p>In order to show this value in our gadget, I placed it on a new sheet and adjusted the column width and height a little bit.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p10.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p10" border="0" alt="p10" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p10_thumb.png" width="168" height="83" /></a></p>
<p>In order to get a nice flyout, I also created a simple pivot chart in the Excel sheet, showing the operational profit during the year. After saving the Excel file, our gadget now looks like this:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p12.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p12" border="0" alt="p12" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p12_thumb.png" width="213" height="154" /></a></p>
<p>And here is the flyout:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p13.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p13" border="0" alt="p13" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p13_thumb.png" width="298" height="270" /></a></p>
<p>&#160;</p>
<p><strong><u>3. (Conditional) background colors and fonts are preserved in the REST API</u></strong></p>
<p>In order to include a kind of traffic light approach, we already found out that Excel indicators are not yet supported in the REST API. However, conditional formatting is supported, so you can easily create a scorecard like the follow:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p14.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p14" border="0" alt="p14" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p14_thumb.png" width="170" height="209" /></a></p>
<p>Also KPI indicators can be created using special characters, for example from the WingDings font as shown in the following example:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p15.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p15" border="0" alt="p15" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p15_thumb.png" width="155" height="200" /></a></p>
<p>For this example, I used a separate table of banding ranges and an Excel VLookup to find the appropriate color for the indictor. Here, 1=green, 2=yellow, 3=red. In the Excel cell I used conditional formatting to choose the text color appropriately. But as we always want to display a certain element (here, the diamond from the WingDings font), I used a custom format for each of the cells, so the number (1, 2 or 3) is not shown but only one character. The corresponding character for the diamond is “u”, so the custom format looks like this:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p20.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p20" border="0" alt="p20" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p20_thumb.png" width="365" height="327" /></a></p>
<p>And of course, there is a lot more you can do with all these formatting, cube functions etc.</p>
<p>&#160;</p>
<p><strong><u>3. Make changes to the source code of the gadget</u></strong></p>
<p>You can extract the gadget or modify the source code of the gadget yourself. After installing the gadget, the extracted sources can be found here: </p>
<p>%LOCALAPPDATA%\Microsoft\Windows Sidebar\Gadgets</p>
<p>After modifying the sources, the gadgets need to be switched off and on in order for the changes to apply. The main file is the gadget.html here. For example you could change the link “By Excel Services” to point on your SharePoint server. To do so, a simple change in the source is needed:</p>
<p>Before:    <br /><font face="Courier New">&lt;tr&gt;&lt;td id=&quot;dockedTitle&quot; width=&quot;100%&quot;&gt;      <br />&lt;a id=&quot;leftDockedTitleLink&quot; href=&quot;</font><font face="Courier New">http://blogs.msdn.com/cumgranosalis/pages/excel-services-windows-7-gadget.aspx&quot;</font><font face="Courier New">&gt;By Excel Services&lt;/a&gt;      <br />&lt;/td&gt;&lt;td&gt;</font></p>
<p>After:    <br /><font face="Courier New">&lt;tr&gt;&lt;td id=&quot;dockedTitle&quot; width=&quot;100%&quot;&gt;      <br />&lt;a id=&quot;leftDockedTitleLink&quot; href=&quot;</font><font face="Courier New">http://srv1/PowerPivot/Forms/AllItems.aspx&quot;</font><font face="Courier New">&gt;All reports&lt;/a&gt;      <br />&lt;/td&gt;&lt;td&gt;</font></p>
<p>I also changed the background color here, so this is how the result looks like:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/p17.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="p17" border="0" alt="p17" src="http://blog.oraylis.de/wp-content/uploads/2011/10/p17_thumb.png" width="198" height="244" /></a></p>
<p>As you can see, you can do a lot of interesting things with this simple but very powerful desktop gadget.</p>
<p>&#160;</p>
<p><strong><u>4. Use parameters</u></strong></p>
<p>If you want to use the same Excel Services file for more than one user you may want to pass parameters from each individual instance of the desktop gadget to the Excel Services file. This is also possible, however there are some things to take care of.</p>
<p>The syntax for passing a parameter is </p>
<p><font face="Courier New">Ranges(&#8216;cellname&#8217;)=value</font></p>
<p>Here, cellname is a named cell in Excel that we want to pass the value to. This is how it is entered in the desktop gadget, if our named cell is named ‘value1’ and we want to pass ‘xyz’:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/z1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="z1" border="0" alt="z1" src="http://blog.oraylis.de/wp-content/uploads/2011/10/z1_thumb.png" width="244" height="214" /></a></p>
<p>Multiple parameters may be passed by separating them with an ampersand, for example</p>
<p><font face="Courier New">Ranges(&#8216;value1&#8242;)=xyz&amp;Ranges(&#8216;value2&#8242;)=42&amp;Ranges(&#8216;value3&#8242;)=01</font></p>
<p>This could be our corresponding view in the desktop gadget:</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/10/z2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="z2" border="0" alt="z2" src="http://blog.oraylis.de/wp-content/uploads/2011/10/z2_thumb.png" width="102" height="109" /></a></p>
<p>I just added a field that concatenates all three parameters to show that the Excel Services sheet is recomputed based on the passed values.</p>
<p>As you can see, all parameters are passed to the gadget. However, numeric parameters are considered as numbers in Excel, so 01 was changed to 1. If you want to prevent this, add a &#8216; in front of each text. </p>
<p>This is how the parameters should look like when you want to make sure, text is passed as text (and not converted to a number or date) in Excel:</p>
<p><font face="Courier New">Ranges(&#8216;value1&#8242;)=<font color="#ff0000">&#8216;</font>xyz&amp;Ranges(&#8216;value2&#8242;)=42&amp;Ranges(&#8216;value3&#8242;)=<font color="#ff0000">&#8216;</font>01</font></p>
<p>You should also be aware, that this string is passed to the URL “as it is”. So you have to encode all characters that are not allowed in a URL.</p>
<p>For example, if you want to pass the year 2006 from AdventureWorks, the unique name of the date member would be:</p>
<p><font face="Courier New">[Date].[Calendar].[Calendar Year].&amp;[2006]</font></p>
<p>In order to pass this to the gadget, you have to encode blanks, the square brackets and the ampersand. So the result would look like this:</p>
<p><font face="Courier New">Ranges(&#8216;parDate&#8217;)=%5BDate%5D.%5BCalendar%5D.%5BCalendar%20Year%5D.%26%5B2006%5D</font></p>
<p>This is very difficult to read. Therefore I recommend just to pass the key (2006 in this case) as the parameter and to construct the unique name in Excel using a formula like </p>
<p><font face="Courier New">=&quot;[Date].[Calendar].[Calendar Year].&amp;[&quot; &amp; parDate &amp; &quot;]&quot;</font></p>
<p>Of course, there are a lot more things you can do with this simple, yet powerful Windows desktop gadget. Like with most other gadget you may also place more than one instance of the gadget on your desktop, so you can have different scorecards. You can also add links to your Excel sheet, so that you can jump directly to a dashboard for a specific key performance indicator. Just start playing with the gadget and see how powerful und useful it is.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2011/10/excel-services-scorecard-as-windows-desktop-gadget/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 incl. Updates installieren</title>
		<link>http://blog.oraylis.de/2011/09/sharepoint-2010-incl-update-installieren/</link>
		<comments>http://blog.oraylis.de/2011/09/sharepoint-2010-incl-update-installieren/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 19:21:54 +0000</pubDate>
		<dc:creator>Daniel Snellen</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Slipstream]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2011/09/sharepoint-2010-incl-update-installieren/</guid>
		<description><![CDATA[<p>Wenn man einen neuen SharePoint Server Installieren möchte, ist in der Regel der erste Schritt, dass man sich das passende Installationsmedium besorgt.</p>
<p>Leider musste ich dann feststellen das Microsoft für den SharePoint 2010 die Installationsmedien nicht zeitnah aktualisiert bereitstellt.    <br />Zum heutigem Stand z.B. ist für den SharePoint 2010 das Servicepack 1 und ein Cummulative Update Juni verfügbar.     <br />In den bereitstehenden Downloads bei Microsoft sind diese Aktualisierungen leider noch nicht enthalten.</p>
<p>  <span id="more-1288"></span>
<p>Um nun bei der Installation des SharePoint Servers Zeit zu sparen und nach der Installation noch die ganzen Updates manuell einspielen zu müssen, kann auch eine Silpstream Installation erstellt werden.    <br />Diese kann man auch schon vor einem Kundentermin erstellen und dann eine vollständige Installation inklusiver der Updates mit zum Kunden bringen.</p>
<p>Hier für erstelle ich ein Verzeichnis in dem ich die gesamte Installationsdateien von der CD kopiere, bzw. in den ich Installation entpacke. </p>
<p>In meinem Beispiel lege ich einen Ordner \SP2010 direkt im Root meines Laufwerks C an, also c:\SP2010.    <br />Nach dem die Installationsdateien dort abgelegt wurden, muss manuell noch ein Ordner Namens \Updates angelegt werden.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb.png" width="166" height="244" /></a></p>
<p>Nun können die Updates bei Microsoft heruntergeladen werden. Eine Übersicht welche Updates für den SharePoint gerade aktuell sind findet man hier <a title="http://technet.microsoft.com/de-DE/office/ee748587.aspx" href="http://technet.microsoft.com/de-DE/office/ee748587.aspx">http://technet.microsoft.com/de-DE/office/ee748587.aspx</a>.</p>
<p>Meine Empfehlung wäre die Updates in einem Temporären Ordner zu speichern, weil diese noch entpackt werden müssen.    <br />In meinem Beispiel werde ich nur das ServicePack 1 in die Installation einbinden, alle weiteren Cummulativen Updates würden dann im Anschluss ähnlich behandelt.</p>
<p>Ich habe den Download auf C:\Temp abgelegt.    <br />Dort erstelle ich ein Unterverzeichnis \SP1, in welches ich die Updatedateien exportieren.     </p>
<p>Um die Daten zu exportieren, muss nur der Befehl     <br /><font color="#c0504d" face="Courier New"><strong>officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe /extract:sp1</strong>       <br /></font>ausgeführt werden, wobei der Dateiname sich bei jedem Update ändert.     <br />Der Schalter <strong>/extract</strong> gibt an das die Pakete entpackt werden sollen und “<strong>:SP1</strong>&quot; gibt das Zielverzeichnis an, hier könnte auch der vollständige Pfad angegeben werden z.B. C:\TEMP\SP1.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image1.png"><img style="border-right-width: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb1.png" width="244" height="123" /></a></p>
<p>Wenn das Entpacken gestartet wurde, muss man noch den Lizenzbestimmungen zustimmen.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image2.png"><img style="border-right-width: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb2.png" width="244" height="152" /></a></p>
<p>Wenn das Entpacken erfolgreich abgeschlossen ist sollten sich einige MSP-Dateien in dem Verzeichnis befinden. Es gibt dort noch andere Dateien, es werden aber nur die .msp Dateien benötigt.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image3.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb3.png" width="244" height="220" /></a></p>
<p>Als letzten Schritt müssen jetzt nur die .msp Dateien in das Updates Verzeichnis kopiert werden.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image4.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb4.png" width="244" height="221" /></a></p>
<p>Wenn jetzt weitere Updates vorliegen, können diese auf dem selben Weg in das Updates Verzeichnis abgelegt werden. Es kann dann vorkommen das einige Dateien in dem Verzeichnis bereits vorhanden sind, diese müssen dann durch die aktuellste Version ersetzt werden.</p>
<p>Das Setup des SharePoint 2010 überprüft am Ende ob es .msp Dateien im Updates Verzeichnis gibt und wenn ja dann werden diese noch installiert.</p>
<div style="display:block"><small><em>by Daniel Snellen <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2011%2F09%2Fsharepoint-2010-incl-update-installieren%2F&amp;linkname=SharePoint%202010%20incl.%20Updates%20installieren"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Wenn man einen neuen SharePoint Server Installieren möchte, ist in der Regel der erste Schritt, dass man sich das passende Installationsmedium besorgt.</p>
<p>Leider musste ich dann feststellen das Microsoft für den SharePoint 2010 die Installationsmedien nicht zeitnah aktualisiert bereitstellt.    <br />Zum heutigem Stand z.B. ist für den SharePoint 2010 das Servicepack 1 und ein Cummulative Update Juni verfügbar.     <br />In den bereitstehenden Downloads bei Microsoft sind diese Aktualisierungen leider noch nicht enthalten.</p>
<p>  <span id="more-1288"></span>
<p>Um nun bei der Installation des SharePoint Servers Zeit zu sparen und nach der Installation noch die ganzen Updates manuell einspielen zu müssen, kann auch eine Silpstream Installation erstellt werden.    <br />Diese kann man auch schon vor einem Kundentermin erstellen und dann eine vollständige Installation inklusiver der Updates mit zum Kunden bringen.</p>
<p>Hier für erstelle ich ein Verzeichnis in dem ich die gesamte Installationsdateien von der CD kopiere, bzw. in den ich Installation entpacke. </p>
<p>In meinem Beispiel lege ich einen Ordner \SP2010 direkt im Root meines Laufwerks C an, also c:\SP2010.    <br />Nach dem die Installationsdateien dort abgelegt wurden, muss manuell noch ein Ordner Namens \Updates angelegt werden.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb.png" width="166" height="244" /></a></p>
<p>Nun können die Updates bei Microsoft heruntergeladen werden. Eine Übersicht welche Updates für den SharePoint gerade aktuell sind findet man hier <a title="http://technet.microsoft.com/de-DE/office/ee748587.aspx" href="http://technet.microsoft.com/de-DE/office/ee748587.aspx">http://technet.microsoft.com/de-DE/office/ee748587.aspx</a>.</p>
<p>Meine Empfehlung wäre die Updates in einem Temporären Ordner zu speichern, weil diese noch entpackt werden müssen.    <br />In meinem Beispiel werde ich nur das ServicePack 1 in die Installation einbinden, alle weiteren Cummulativen Updates würden dann im Anschluss ähnlich behandelt.</p>
<p>Ich habe den Download auf C:\Temp abgelegt.    <br />Dort erstelle ich ein Unterverzeichnis \SP1, in welches ich die Updatedateien exportieren.     </p>
<p>Um die Daten zu exportieren, muss nur der Befehl     <br /><font color="#c0504d" face="Courier New"><strong>officeserver2010sp1-kb2460045-x64-fullfile-en-us.exe /extract:sp1</strong>       <br /></font>ausgeführt werden, wobei der Dateiname sich bei jedem Update ändert.     <br />Der Schalter <strong>/extract</strong> gibt an das die Pakete entpackt werden sollen und “<strong>:SP1</strong>&quot; gibt das Zielverzeichnis an, hier könnte auch der vollständige Pfad angegeben werden z.B. C:\TEMP\SP1.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image1.png"><img style="border-right-width: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb1.png" width="244" height="123" /></a></p>
<p>Wenn das Entpacken gestartet wurde, muss man noch den Lizenzbestimmungen zustimmen.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image2.png"><img style="border-right-width: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb2.png" width="244" height="152" /></a></p>
<p>Wenn das Entpacken erfolgreich abgeschlossen ist sollten sich einige MSP-Dateien in dem Verzeichnis befinden. Es gibt dort noch andere Dateien, es werden aber nur die .msp Dateien benötigt.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image3.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb3.png" width="244" height="220" /></a></p>
<p>Als letzten Schritt müssen jetzt nur die .msp Dateien in das Updates Verzeichnis kopiert werden.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/09/image4.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/09/image_thumb4.png" width="244" height="221" /></a></p>
<p>Wenn jetzt weitere Updates vorliegen, können diese auf dem selben Weg in das Updates Verzeichnis abgelegt werden. Es kann dann vorkommen das einige Dateien in dem Verzeichnis bereits vorhanden sind, diese müssen dann durch die aktuellste Version ersetzt werden.</p>
<p>Das Setup des SharePoint 2010 überprüft am Ende ob es .msp Dateien im Updates Verzeichnis gibt und wenn ja dann werden diese noch installiert.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2011/09/sharepoint-2010-incl-update-installieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Document Sets in SharePoint 2010</title>
		<link>http://blog.oraylis.de/2011/08/document-sets-in-sharepoint-2010/</link>
		<comments>http://blog.oraylis.de/2011/08/document-sets-in-sharepoint-2010/#comments</comments>
		<pubDate>Sat, 27 Aug 2011 19:10:59 +0000</pubDate>
		<dc:creator>Sandra Erb</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Document Set]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2011/08/document-sets-in-sharepoint-2010/</guid>
		<description><![CDATA[<p>&#160;</p>
<p>Während in SharePoint 2007 Dokumente lediglich über Ordner strukturiert werden konnten, bietet SharePoint 2010 ein neues Feature, mit welchem Dokumente und zugehörige Metadaten einfach strukturiert und verwaltet werden können – das Document Set. </p>
<p>Das Document Set bietet die folgenden neuen Kernfunktionen:</p>
<ul>
<li>Definition der in einem Document Set erlauben Content Types </li>
<li>Definition von Dateien, welche in jedem Dokument Set vorhanden sein sollen </li>
<li>Alle Dokumente innerhalb eines Document Sets teilen die selben Metadaten </li>
<li>Eine Welcome Page, welche eine Zusammenfassung der wichtigsten Metadaten liefert </li>
<li>Das gesamte Set kann versioniert werden </li>
<li>Einfache Verwaltung über die SharePoint Oberfläche </li>
<li>Document Sets basieren auf den SharePoint Content Types, es können also beliebig viele Document Set Content Types mit verschiedenen Inhalten vordefiniert werden </li>
</ul>
<p><strong>     <br />Hinweis</strong>: Document Sets sind ein Feature des SharePoint Servers 2010, sie sind also nicht in den SharePoint Foundations vorhanden.</p>
<p>Document Sets bieten sich immer dann an, wenn es ein oder mehr Standarddokumente gibt, die in verschiedenen Bereichen benötigt werden, oder wenn verschiedene Dokumente dieselben Eigenschaften teilen müssen.</p>
<h3>Die einzelnen Features im Detail</h3>
<p><strong>Definition von erlaubten Content Types</strong></p>
<p>Man kann selbst bestimmen, welche Content Types innerhalb eines Document Sets erlaubt sind, unabhängig von den erlaubten Content Types der übergeordneten Document Library.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image5.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb5.png" width="619" height="260" /></a> </p>
<p><strong><strong>Standarddokumente</strong></strong></p>
<p>Dokumente, welche als Default Content, zu einem Document Set hinzugefügt werden, werden automatisch in jedem neuen Document Set erstellt. Zusätzlich kann definiert werden, ob jede Datei automatisch den Namen des Document Sets als Präfix erhalten soll.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image6.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb6.png" width="619" height="158" /></a></p>
<p><strong>Geteilte Metadaten</strong></p>
<p>Die Inhalte, der unter Shared Columns ausgewählten Spalten, werden auf alle Dokumente innerhalb des Document Sets synchronisiert.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image7.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb7.png" width="620" height="150" /></a> </p>
</p>
</p>
<p><strong>Welcome Page</strong></p>
<p>Die Welcome Page zeigt zum einen eine Zusammenfassung der wichtigsten Metadaten (Welcome Page Columns) und kann zum anderen einen eigenen View zur Verfügung stellen, mit dem die Dokumente innerhalb des Document Sets angezeigt werden sollen (Welcome Page View). Dies ermöglicht es innerhalb des Dokument Sets andere Spalten anzuzeigen, als auf Bibliotheksebene.</p>
<p>Man kann die Standard Welcome Page verwenden, oder diese an die eigenen Bedürfnisse anpassen. Hierzu stehen dieselben Möglichkeiten zur Verfügung, wie bei der Bearbeitung einer normalen SharePoint Seite.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image8.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb8.png" width="620" height="266" /></a></p>
<p><strong>Versionierung</strong></p>
<p>Das Document Set bietet die Möglichkeit unabhängig von den einzelnen Dokumentenversionen eine Gesamtversion des Document Sets zu erstellen. So ist es möglich, erst verschiedene Versionen der in dem Document Set enthaltenen Dokumente zu erstellen, bevor eine gemeinsame Document Set Version erstellt wird.</p>
<p>Die einzelnen Dokumente werden wie gewohnt anhand der Versionierungseinstellungen der Bibliothek versioniert und verfügen alle über eine eigene Versionshistorie.</p>
<p>Um nun eine Version des gesamten Document Sets zu erstellen, gibt es innerhalb des Document Sets die Schaltfläche “Capture Version” in der Ribbonleiste.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image9.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb9.png" width="355" height="120" /></a> </p>
<p>Die Versionierung des Document Sets erlaubt es uns selbst, zu entscheiden, welche Versionen der einzelnen Dokumente in die Version des Document Sets gehören. So können z.B. nur die letzten Hauptversionen aller Dokumente beachtet werden.</p>
<p>Zusätzlich kann ein Versionskommentar gesetzt werden.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image10.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb10.png" width="490" height="294" /></a>&#160;</p>
<p>Die Versionshistorie des Document Sets zeigt sowohl die Versionen des Document Set selbst, als auch die Versionen der einzelnen Dokumente an.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image11.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb11.png" width="450" height="400" /></a> </p>
</p>
<p><strong>Workflows</strong></p>
<p>Genau wie auf einzelnen Dokumenten können auch auf Document Sets Workflows gestartet werden. Dies ermöglicht z.B. einen globalen Genehmigungsprozess für alle Dokumente innerhalb des Document Sets. Zusätzlich können natürlich auch für alle Dokumente innerhalb des Document Sets einzelne Workflows gestartet werden.</p>
<p><strong>Der Document Set Content Type</strong></p>
<p>Das Document Set ist ein normaler SharePoint Content Type. So kann das Document Set z.B. global über die Site Content Types angepasst werden, oder für jede einzelne Bibliothek, in welcher es verwendet wird. Zusätzlich können neue Content Types basierend auf dem Document Set erzeugt werden.</p>
<h3>Verwendung von Document Sets</h3>
<p>Der Document Set Content Type ist im SharePoint standardmäßig nicht verfügbar. Dieser muss erst mit dem “Document Sets Feature” auf Site Collection Ebene aktiviert werden.</p>
<p>Um Document Sets verwenden zu können, müssen die folgenden Schritte ausgeführt werden:</p>
<ol>
<li>Unter Site Collection Features muss das Document Set Feature aktiviert werden      </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image12.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb12.png" width="527" height="72" /></a>       </p>
<p>Damit ist der Document Set Content Type verfügbar </li>
<li>In der Bibliothek, in welcher das Document Set verwendet werden soll, muss dieses als Content Type hinzugefügt werden. Hierzu unter Library Settings –&gt; Advanced Settings den Punkt “Allow management of content types” aktivieren.
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image13.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb13.png" width="527" height="74" /></a>       </p>
<p>In den Einstellungen für die Bibliothek erscheint nun ein neuer Bereich &#8211; “Content Types” </li>
<li>Unter Einstellungen einen existierenden Content Type hinzufügen und den Document Set Content Type auswählen
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image14.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb14.png" width="525" height="256" /></a>       </p>
<p>Das Document Set kann ab jetzt in der Bibliothek verwendet werden       </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image15.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb15.png" width="244" height="175" /></a> </li>
<li>Alle oben genannten Einstellungen für das Document Set können über die Eigenschaften des Content Types unter “Document Set Settings” vorgenommen werden. </li>
</ol>
<div style="display:block"><small><em>by Sandra Erb <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2011%2F08%2Fdocument-sets-in-sharepoint-2010%2F&amp;linkname=Document%20Sets%20in%20SharePoint%202010"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Während in SharePoint 2007 Dokumente lediglich über Ordner strukturiert werden konnten, bietet SharePoint 2010 ein neues Feature, mit welchem Dokumente und zugehörige Metadaten einfach strukturiert und verwaltet werden können – das Document Set. </p>
<p>Das Document Set bietet die folgenden neuen Kernfunktionen:</p>
<ul>
<li>Definition der in einem Document Set erlauben Content Types </li>
<li>Definition von Dateien, welche in jedem Dokument Set vorhanden sein sollen </li>
<li>Alle Dokumente innerhalb eines Document Sets teilen die selben Metadaten </li>
<li>Eine Welcome Page, welche eine Zusammenfassung der wichtigsten Metadaten liefert </li>
<li>Das gesamte Set kann versioniert werden </li>
<li>Einfache Verwaltung über die SharePoint Oberfläche </li>
<li>Document Sets basieren auf den SharePoint Content Types, es können also beliebig viele Document Set Content Types mit verschiedenen Inhalten vordefiniert werden </li>
</ul>
<p><strong>     <br />Hinweis</strong>: Document Sets sind ein Feature des SharePoint Servers 2010, sie sind also nicht in den SharePoint Foundations vorhanden.</p>
<p>Document Sets bieten sich immer dann an, wenn es ein oder mehr Standarddokumente gibt, die in verschiedenen Bereichen benötigt werden, oder wenn verschiedene Dokumente dieselben Eigenschaften teilen müssen.</p>
<h3>Die einzelnen Features im Detail</h3>
<p><strong>Definition von erlaubten Content Types</strong></p>
<p>Man kann selbst bestimmen, welche Content Types innerhalb eines Document Sets erlaubt sind, unabhängig von den erlaubten Content Types der übergeordneten Document Library.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image5.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb5.png" width="619" height="260" /></a> </p>
<p><strong><strong>Standarddokumente</strong></strong></p>
<p>Dokumente, welche als Default Content, zu einem Document Set hinzugefügt werden, werden automatisch in jedem neuen Document Set erstellt. Zusätzlich kann definiert werden, ob jede Datei automatisch den Namen des Document Sets als Präfix erhalten soll.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image6.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb6.png" width="619" height="158" /></a></p>
<p><strong>Geteilte Metadaten</strong></p>
<p>Die Inhalte, der unter Shared Columns ausgewählten Spalten, werden auf alle Dokumente innerhalb des Document Sets synchronisiert.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image7.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb7.png" width="620" height="150" /></a> </p>
</p>
</p>
<p><strong>Welcome Page</strong></p>
<p>Die Welcome Page zeigt zum einen eine Zusammenfassung der wichtigsten Metadaten (Welcome Page Columns) und kann zum anderen einen eigenen View zur Verfügung stellen, mit dem die Dokumente innerhalb des Document Sets angezeigt werden sollen (Welcome Page View). Dies ermöglicht es innerhalb des Dokument Sets andere Spalten anzuzeigen, als auf Bibliotheksebene.</p>
<p>Man kann die Standard Welcome Page verwenden, oder diese an die eigenen Bedürfnisse anpassen. Hierzu stehen dieselben Möglichkeiten zur Verfügung, wie bei der Bearbeitung einer normalen SharePoint Seite.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image8.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb8.png" width="620" height="266" /></a></p>
<p><strong>Versionierung</strong></p>
<p>Das Document Set bietet die Möglichkeit unabhängig von den einzelnen Dokumentenversionen eine Gesamtversion des Document Sets zu erstellen. So ist es möglich, erst verschiedene Versionen der in dem Document Set enthaltenen Dokumente zu erstellen, bevor eine gemeinsame Document Set Version erstellt wird.</p>
<p>Die einzelnen Dokumente werden wie gewohnt anhand der Versionierungseinstellungen der Bibliothek versioniert und verfügen alle über eine eigene Versionshistorie.</p>
<p>Um nun eine Version des gesamten Document Sets zu erstellen, gibt es innerhalb des Document Sets die Schaltfläche “Capture Version” in der Ribbonleiste.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image9.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb9.png" width="355" height="120" /></a> </p>
<p>Die Versionierung des Document Sets erlaubt es uns selbst, zu entscheiden, welche Versionen der einzelnen Dokumente in die Version des Document Sets gehören. So können z.B. nur die letzten Hauptversionen aller Dokumente beachtet werden.</p>
<p>Zusätzlich kann ein Versionskommentar gesetzt werden.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image10.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb10.png" width="490" height="294" /></a>&#160;</p>
<p>Die Versionshistorie des Document Sets zeigt sowohl die Versionen des Document Set selbst, als auch die Versionen der einzelnen Dokumente an.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image11.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb11.png" width="450" height="400" /></a> </p>
</p>
<p><strong>Workflows</strong></p>
<p>Genau wie auf einzelnen Dokumenten können auch auf Document Sets Workflows gestartet werden. Dies ermöglicht z.B. einen globalen Genehmigungsprozess für alle Dokumente innerhalb des Document Sets. Zusätzlich können natürlich auch für alle Dokumente innerhalb des Document Sets einzelne Workflows gestartet werden.</p>
<p><strong>Der Document Set Content Type</strong></p>
<p>Das Document Set ist ein normaler SharePoint Content Type. So kann das Document Set z.B. global über die Site Content Types angepasst werden, oder für jede einzelne Bibliothek, in welcher es verwendet wird. Zusätzlich können neue Content Types basierend auf dem Document Set erzeugt werden.</p>
<h3>Verwendung von Document Sets</h3>
<p>Der Document Set Content Type ist im SharePoint standardmäßig nicht verfügbar. Dieser muss erst mit dem “Document Sets Feature” auf Site Collection Ebene aktiviert werden.</p>
<p>Um Document Sets verwenden zu können, müssen die folgenden Schritte ausgeführt werden:</p>
<ol>
<li>Unter Site Collection Features muss das Document Set Feature aktiviert werden      </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image12.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb12.png" width="527" height="72" /></a>       </p>
<p>Damit ist der Document Set Content Type verfügbar </li>
<li>In der Bibliothek, in welcher das Document Set verwendet werden soll, muss dieses als Content Type hinzugefügt werden. Hierzu unter Library Settings –&gt; Advanced Settings den Punkt “Allow management of content types” aktivieren.
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image13.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb13.png" width="527" height="74" /></a>       </p>
<p>In den Einstellungen für die Bibliothek erscheint nun ein neuer Bereich &#8211; “Content Types” </li>
<li>Unter Einstellungen einen existierenden Content Type hinzufügen und den Document Set Content Type auswählen
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image14.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb14.png" width="525" height="256" /></a>       </p>
<p>Das Document Set kann ab jetzt in der Bibliothek verwendet werden       </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image15.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb15.png" width="244" height="175" /></a> </li>
<li>Alle oben genannten Einstellungen für das Document Set können über die Eigenschaften des Content Types unter “Document Set Settings” vorgenommen werden. </li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2011/08/document-sets-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 offline Installation</title>
		<link>http://blog.oraylis.de/2011/08/sharepoint-2010-offline-installation/</link>
		<comments>http://blog.oraylis.de/2011/08/sharepoint-2010-offline-installation/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 11:55:00 +0000</pubDate>
		<dc:creator>Daniel Snellen</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[offline Installation]]></category>
		<category><![CDATA[rerequisiteInstallerFiles]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2011/08/sharepoint-2010-offline-installation/</guid>
		<description><![CDATA[<p>Ein Horror für jeden Admin der seinen Server liebt, da kommt ein externer Consultant und soll einen SharePoint 2010 installieren, wenn das für den Admin nicht schon schlimm genug ist, benötigt dieser auch noch vom Server aus Zugriff aufs Internet um die Installation durchzuführen.</p>
<p>Für die Consultants untern den Leser sei gesagt, das in vielen Firmen das Servernetzwerk keinen Zugriff auf das Internet haben darf.</p>
<p>Jetzt kann der gut vorbereitet Consultant glänzen, in dem er eine DVD oder einen USB Stick aus der Tasche zieht, auf der die benötigten Dateien und das Installationsscript zu finden sind. </p>
<h4>Benötigte Dateien</h4>
<p>Als erstes sollten die in der folgenden Tabelle aufgelisteten Dateien bei Microsoft heruntergeladen werden.</p>
<table border="0" cellspacing="0" cellpadding="2" width="616">
<tbody>
<tr>
<td valign="top" width="348"><strong><font size="2">Paket</font></strong></td>
<td valign="top" width="266"><strong><font size="2">Download</font></strong></td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Sync Framework Runtime v1.0 (x64)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=141512" target="_blank">http://go.microsoft.com/fwlink/?LinkID=141237&amp;clcid=0&#215;409</a> </td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Chart Controls for the Microsoft .NET Framework 3.5</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=141512" target="_blank">http://go.microsoft.com/fwlink/?LinkID=141512</a></td>
</tr>
<tr>
<td valign="top" width="348">Microsoft .NET Framework 3.5 Service Pack 1</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkId=131037" target="_blank">http://go.microsoft.com/fwlink/?LinkId=131037</a> </td>
</tr>
<tr>
<td valign="top" width="348">Windows PowerShell 2.0</td>
<td valign="top" width="266"><a href="http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu" target="_blank">http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu</a></td>
</tr>
<tr>
<td valign="top" width="348">Windows Identity Framework (Win2008 R2)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166363" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166363</a></td>
</tr>
<tr>
<td valign="top" width="348">WCF fix for Win2008 SP2</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?linkID=160770" target="_blank">http://go.microsoft.com/fwlink/?linkID=160770</a> </td>
</tr>
<tr>
<td valign="top" width="348">Windows Identity Framework (Win2008 SP2)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=160381" target="_blank">http://go.microsoft.com/fwlink/?LinkID=160381</a></td>
</tr>
<tr>
<td valign="top" width="348">SQL Server 2008 Native Client</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkId=123718&amp;clcid=0x409" target="_blank">http://go.microsoft.com/fwlink/?LinkId=123718&amp;clcid=0&#215;409</a></td>
</tr>
<tr>
<td valign="top" width="348">Microsoft SQL Server 2008 Analysis Services ADOMD.NET</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=160390&amp;clcid=0x409" target="_blank">http://go.microsoft.com/fwlink/?LinkID=160390&amp;clcid=0&#215;409</a></td>
</tr>
<tr>
<td valign="top" width="348">ADO.NET Data Services v1.5 CTP2 (Win2008 SP2)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkId=158354" target="_blank">http://go.microsoft.com/fwlink/?LinkId=158354</a></td>
</tr>
<tr>
<td valign="top" width="348">IIS management cmdlets</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/?linkid=9655704" target="_blank">http://go.microsoft.com/?linkid=9655704</a> </td>
</tr>
<tr>
<td valign="top" width="348">SQL 2008 R2 Reporting Services SharePoint 2010 Add-in</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166379" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166379</a> </td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Server Speech Platform Runtime</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166378" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166378</a> </td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Server Speech Recognition Language &#8211; TELE(en-US)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166371" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166371</a> </td>
</tr>
</tbody>
</table>
<p><font color="#0000ff" size="1">Die angegebenen Links sind ohne Gewähr, als dieser Blog erstellt wurde, waren sie noch aktuell.</font></p>
<p>Ich habe mir für die SharePoint 2010 Installation einen Ordner angelegt, in dem ich auch die Installationsdateien von der SharePoint CD abgelegt hab.    <br />C:\SP2010     <br />Wenn die gesamte CD in dieses Verzeichnis kopiert wurde, dann existiert dort auch schon ein Verzeichnis Namens PrerequisiteInstallerFiles.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image2.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb2.png" width="166" height="244" /></a></p>
<p>In diesem Verzeichnis lege ich nun die heruntergeladenen Dateien ab. </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image3.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb3.png" width="244" height="184" /></a>     <br />Das FilterPack wird von Microsoft direkt mit geliefert und muss nicht noch zusätzlich installiert werden.</p>
<h4>Installationsscript</h4>
<p>Wenn man den normalen Weg der SharePoint 2010 Installation geht, starte man hier und installiert die Prerequisite.    <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image4.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb4.png" width="244" height="184" /></a>     <br />Bei dieser Variante wird jedoch ein Internetzugriff benötigt.</p>
<p>Man kann die <strong>PrerequisiteInstaller.exe</strong> aber auch mit Parametern starten und somit dazu bringen die bereits heruntergeladenen Dateien zu verwenden.</p>
<p>Die <strong>PrerequisiteInstaller.exe </strong>befindet sich im Root Verzeichnis der SharePoint Installationscd.</p>
<p>Bei meiner Verzeichnisstruktur sieht der Aufruf der <strong>PrerequisiteInstaller.exe </strong>wie folgt aus:</p>
<p><font color="#c0504d" face="Courier New">C:\SP2010\PrerequisiteInstaller.exe /SQLNCli:&quot;c:\sp2010\PrerequisiteInstallerFiles\sqlncli.msi&quot; /ChartControl:&quot;c:\sp2010\PrerequisiteInstallerFiles\MSChart.exe&quot; /NETFX35SP1:&quot;c:\sp2010\PrerequisiteInstallerFiles\dotnetfx35.exe&quot; /PowerShell:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.0-KB968930-x64.msu&quot; /KB976394:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.0-KB976394-x64.msu&quot; /KB976462:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.1-KB976462-v2-x64.msu&quot; /IDFX:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.0-KB974405-x64.msu&quot; /Sync:&quot;c:\sp2010\PrerequisiteInstallerFiles\Synchronization.msi&quot; /FilterPack:&quot;c:\sp2010\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi&quot; /ADOMD:&quot;c:\sp2010\PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi&quot; /ReportingServices:&quot;c:\sp2010\PrerequisiteInstallerFiles\rsSharePoint.msi&quot; /Speech:&quot;c:\sp2010\PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi&quot; /SpeechLPK:&quot;c:\sp2010\PrerequisiteInstallerFiles\MSSpeech_SR_en-US_TELE.msi&quot;</font></p>
<p><font color="#000000">Auch wenn es jetzt hier so dargestellt wird, sind in diesem Befehl keine Zeilenumbrüche enthalten.      <br />Zwischen den einzelnen Parametern ist immer ein Leerzeichen innerhalb des Parameters dann nicht mehr.</font></p>
<p><font color="#000000">In meinem Beispiel liegen die Dateien auf der lokalen Festplatte, diese könnten aber auch im Netzwerk abgelegt werden. Dann würden die Parameter z.B. so aus sehen:      <br /></font><font color="#c0504d" face="Courier New">/SQLNCLi:”\\SERVER\Freigabe\sqlncli.msi</font></p>
<p><font color="#000000">Es gibt noch einen weiteren Parameter der gesetzt werden kann,&#160; <font color="#c0504d" face="Courier New">/unattended</font> ,durch diesen wird die Installation ohne Benutzer eingriff durchgeführt.</font></p>
<p>Wenn alle notwendigen Dateien installiert wurden, kann mit der Installation des SharePoint2010 begonnen werden.</p>
<p>Bei der Installation des SharePoint 2010 kann auch einiges vorbereitet und automatisiert werden, dazu werde ich aber in kürze einen weiteren Blogeitrag erstellen.</p>
<div style="display:block"><small><em>by Daniel Snellen <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2011%2F08%2Fsharepoint-2010-offline-installation%2F&amp;linkname=SharePoint%202010%20offline%20Installation"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Ein Horror für jeden Admin der seinen Server liebt, da kommt ein externer Consultant und soll einen SharePoint 2010 installieren, wenn das für den Admin nicht schon schlimm genug ist, benötigt dieser auch noch vom Server aus Zugriff aufs Internet um die Installation durchzuführen.</p>
<p>Für die Consultants untern den Leser sei gesagt, das in vielen Firmen das Servernetzwerk keinen Zugriff auf das Internet haben darf.</p>
<p>Jetzt kann der gut vorbereitet Consultant glänzen, in dem er eine DVD oder einen USB Stick aus der Tasche zieht, auf der die benötigten Dateien und das Installationsscript zu finden sind. </p>
<h4>Benötigte Dateien</h4>
<p>Als erstes sollten die in der folgenden Tabelle aufgelisteten Dateien bei Microsoft heruntergeladen werden.</p>
<table border="0" cellspacing="0" cellpadding="2" width="616">
<tbody>
<tr>
<td valign="top" width="348"><strong><font size="2">Paket</font></strong></td>
<td valign="top" width="266"><strong><font size="2">Download</font></strong></td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Sync Framework Runtime v1.0 (x64)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=141512" target="_blank">http://go.microsoft.com/fwlink/?LinkID=141237&amp;clcid=0&#215;409</a> </td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Chart Controls for the Microsoft .NET Framework 3.5</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=141512" target="_blank">http://go.microsoft.com/fwlink/?LinkID=141512</a></td>
</tr>
<tr>
<td valign="top" width="348">Microsoft .NET Framework 3.5 Service Pack 1</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkId=131037" target="_blank">http://go.microsoft.com/fwlink/?LinkId=131037</a> </td>
</tr>
<tr>
<td valign="top" width="348">Windows PowerShell 2.0</td>
<td valign="top" width="266"><a href="http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu" target="_blank">http://download.microsoft.com/download/2/8/6/28686477-3242-4E96-9009-30B16BED89AF/Windows6.0-KB968930-x64.msu</a></td>
</tr>
<tr>
<td valign="top" width="348">Windows Identity Framework (Win2008 R2)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166363" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166363</a></td>
</tr>
<tr>
<td valign="top" width="348">WCF fix for Win2008 SP2</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?linkID=160770" target="_blank">http://go.microsoft.com/fwlink/?linkID=160770</a> </td>
</tr>
<tr>
<td valign="top" width="348">Windows Identity Framework (Win2008 SP2)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=160381" target="_blank">http://go.microsoft.com/fwlink/?LinkID=160381</a></td>
</tr>
<tr>
<td valign="top" width="348">SQL Server 2008 Native Client</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkId=123718&amp;clcid=0x409" target="_blank">http://go.microsoft.com/fwlink/?LinkId=123718&amp;clcid=0&#215;409</a></td>
</tr>
<tr>
<td valign="top" width="348">Microsoft SQL Server 2008 Analysis Services ADOMD.NET</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=160390&amp;clcid=0x409" target="_blank">http://go.microsoft.com/fwlink/?LinkID=160390&amp;clcid=0&#215;409</a></td>
</tr>
<tr>
<td valign="top" width="348">ADO.NET Data Services v1.5 CTP2 (Win2008 SP2)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkId=158354" target="_blank">http://go.microsoft.com/fwlink/?LinkId=158354</a></td>
</tr>
<tr>
<td valign="top" width="348">IIS management cmdlets</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/?linkid=9655704" target="_blank">http://go.microsoft.com/?linkid=9655704</a> </td>
</tr>
<tr>
<td valign="top" width="348">SQL 2008 R2 Reporting Services SharePoint 2010 Add-in</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166379" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166379</a> </td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Server Speech Platform Runtime</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166378" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166378</a> </td>
</tr>
<tr>
<td valign="top" width="348">Microsoft Server Speech Recognition Language &#8211; TELE(en-US)</td>
<td valign="top" width="266"><a href="http://go.microsoft.com/fwlink/?LinkID=166371" target="_blank">http://go.microsoft.com/fwlink/?LinkID=166371</a> </td>
</tr>
</tbody>
</table>
<p><font color="#0000ff" size="1">Die angegebenen Links sind ohne Gewähr, als dieser Blog erstellt wurde, waren sie noch aktuell.</font></p>
<p>Ich habe mir für die SharePoint 2010 Installation einen Ordner angelegt, in dem ich auch die Installationsdateien von der SharePoint CD abgelegt hab.    <br />C:\SP2010     <br />Wenn die gesamte CD in dieses Verzeichnis kopiert wurde, dann existiert dort auch schon ein Verzeichnis Namens PrerequisiteInstallerFiles.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image2.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb2.png" width="166" height="244" /></a></p>
<p>In diesem Verzeichnis lege ich nun die heruntergeladenen Dateien ab. </p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image3.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb3.png" width="244" height="184" /></a>     <br />Das FilterPack wird von Microsoft direkt mit geliefert und muss nicht noch zusätzlich installiert werden.</p>
<h4>Installationsscript</h4>
<p>Wenn man den normalen Weg der SharePoint 2010 Installation geht, starte man hier und installiert die Prerequisite.    <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image4.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb4.png" width="244" height="184" /></a>     <br />Bei dieser Variante wird jedoch ein Internetzugriff benötigt.</p>
<p>Man kann die <strong>PrerequisiteInstaller.exe</strong> aber auch mit Parametern starten und somit dazu bringen die bereits heruntergeladenen Dateien zu verwenden.</p>
<p>Die <strong>PrerequisiteInstaller.exe </strong>befindet sich im Root Verzeichnis der SharePoint Installationscd.</p>
<p>Bei meiner Verzeichnisstruktur sieht der Aufruf der <strong>PrerequisiteInstaller.exe </strong>wie folgt aus:</p>
<p><font color="#c0504d" face="Courier New">C:\SP2010\PrerequisiteInstaller.exe /SQLNCli:&quot;c:\sp2010\PrerequisiteInstallerFiles\sqlncli.msi&quot; /ChartControl:&quot;c:\sp2010\PrerequisiteInstallerFiles\MSChart.exe&quot; /NETFX35SP1:&quot;c:\sp2010\PrerequisiteInstallerFiles\dotnetfx35.exe&quot; /PowerShell:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.0-KB968930-x64.msu&quot; /KB976394:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.0-KB976394-x64.msu&quot; /KB976462:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.1-KB976462-v2-x64.msu&quot; /IDFX:&quot;c:\sp2010\PrerequisiteInstallerFiles\Windows6.0-KB974405-x64.msu&quot; /Sync:&quot;c:\sp2010\PrerequisiteInstallerFiles\Synchronization.msi&quot; /FilterPack:&quot;c:\sp2010\PrerequisiteInstallerFiles\FilterPack\FilterPack.msi&quot; /ADOMD:&quot;c:\sp2010\PrerequisiteInstallerFiles\SQLSERVER2008_ASADOMD10.msi&quot; /ReportingServices:&quot;c:\sp2010\PrerequisiteInstallerFiles\rsSharePoint.msi&quot; /Speech:&quot;c:\sp2010\PrerequisiteInstallerFiles\SpeechPlatformRuntime.msi&quot; /SpeechLPK:&quot;c:\sp2010\PrerequisiteInstallerFiles\MSSpeech_SR_en-US_TELE.msi&quot;</font></p>
<p><font color="#000000">Auch wenn es jetzt hier so dargestellt wird, sind in diesem Befehl keine Zeilenumbrüche enthalten.      <br />Zwischen den einzelnen Parametern ist immer ein Leerzeichen innerhalb des Parameters dann nicht mehr.</font></p>
<p><font color="#000000">In meinem Beispiel liegen die Dateien auf der lokalen Festplatte, diese könnten aber auch im Netzwerk abgelegt werden. Dann würden die Parameter z.B. so aus sehen:      <br /></font><font color="#c0504d" face="Courier New">/SQLNCLi:”\\SERVER\Freigabe\sqlncli.msi</font></p>
<p><font color="#000000">Es gibt noch einen weiteren Parameter der gesetzt werden kann,&#160; <font color="#c0504d" face="Courier New">/unattended</font> ,durch diesen wird die Installation ohne Benutzer eingriff durchgeführt.</font></p>
<p>Wenn alle notwendigen Dateien installiert wurden, kann mit der Installation des SharePoint2010 begonnen werden.</p>
<p>Bei der Installation des SharePoint 2010 kann auch einiges vorbereitet und automatisiert werden, dazu werde ich aber in kürze einen weiteren Blogeitrag erstellen.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2011/08/sharepoint-2010-offline-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Datenbank Anbindung</title>
		<link>http://blog.oraylis.de/2011/08/sharepoint-2010-datenbank-anbindung/</link>
		<comments>http://blog.oraylis.de/2011/08/sharepoint-2010-datenbank-anbindung/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 08:20:45 +0000</pubDate>
		<dc:creator>Daniel Snellen</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Datenbanken]]></category>
		<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2011/08/sharepoint-2010-datenbank-anbindung/</guid>
		<description><![CDATA[<p>Das Szenario kennt jeder Admin, irgendwann reichen die Kapazitäten eines Server nicht mehr aus und z.B. die SQL Datenbanken des SharePoint Servers sollen auf einen neuen oder anderen bestehenden Server umgezogen werden.</p>
<p>Da von so einer Umstellung oft auch andere System betroffen sind geschieht eine solche Umstellung meistens nicht auf einmal, sondern schritt weise, so das dem neuen System nicht einfach der Name des bisherigen Servers gegeben werden kann.</p>
<p>Nun ist hier die Empfehlung von Microsoft auf dem SharePoint Server für den neuen SQL Server einen SQL Alias im <strong>SQL Server Configuration Manager</strong> einzutragen.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb.png" width="244" height="83" /></a></p>
<p>Ich habe das so bei uns auch umgesetzt und es funktioniert ohne Probleme. Jedoch müssen hierfür die SQL Server Management Tools auf dem SharePoint Server installiert werden, was aus Sicherheitssicht auch nicht immer gewünscht wird.</p>
<p>Für eine saubere und logische Dokumentation ist dieser Weg auch keine schöne Lösung.    </p>
<p>Aus diesem Grund empfehle ich, sich bereits vor der SharePoint Installation einen Virtuellen Name für den SQL Server zu überlegen und dann für diesen im DNS Server einen CNAME Eintrag&#160; zu erstellen bzw. erstellen zulassen der dann auf den jeweils Produktiven SQL Server verweist.</p>
<p>Somit kann recht einfach der SQL Server gewechselt werden ohne die Konfiguration des SharePoint Servers anzupassen und in der Dokumentation muss nur der CNAME Eintrag angepasst werden.</p>
<p>[Update]</p>
<p>Die Einrichtung über einen CNAME ist jedoch nur sinnvoll wenn der Datenbankserver in der standard Instanz betrieben wird. Wenn dies nicht der Fall ist bleibt nur der weg über den SQL Alias.</p>
<div style="display:block"><small><em>by Daniel Snellen <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2011%2F08%2Fsharepoint-2010-datenbank-anbindung%2F&amp;linkname=SharePoint%202010%20Datenbank%20Anbindung"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Das Szenario kennt jeder Admin, irgendwann reichen die Kapazitäten eines Server nicht mehr aus und z.B. die SQL Datenbanken des SharePoint Servers sollen auf einen neuen oder anderen bestehenden Server umgezogen werden.</p>
<p>Da von so einer Umstellung oft auch andere System betroffen sind geschieht eine solche Umstellung meistens nicht auf einmal, sondern schritt weise, so das dem neuen System nicht einfach der Name des bisherigen Servers gegeben werden kann.</p>
<p>Nun ist hier die Empfehlung von Microsoft auf dem SharePoint Server für den neuen SQL Server einen SQL Alias im <strong>SQL Server Configuration Manager</strong> einzutragen.     <br /><a href="http://blog.oraylis.de/wp-content/uploads/2011/08/image.png"><img style="border-right-width: 0px;margin: 0px;padding-left: 0px;padding-right: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px;padding-top: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2011/08/image_thumb.png" width="244" height="83" /></a></p>
<p>Ich habe das so bei uns auch umgesetzt und es funktioniert ohne Probleme. Jedoch müssen hierfür die SQL Server Management Tools auf dem SharePoint Server installiert werden, was aus Sicherheitssicht auch nicht immer gewünscht wird.</p>
<p>Für eine saubere und logische Dokumentation ist dieser Weg auch keine schöne Lösung.    </p>
<p>Aus diesem Grund empfehle ich, sich bereits vor der SharePoint Installation einen Virtuellen Name für den SQL Server zu überlegen und dann für diesen im DNS Server einen CNAME Eintrag&#160; zu erstellen bzw. erstellen zulassen der dann auf den jeweils Produktiven SQL Server verweist.</p>
<p>Somit kann recht einfach der SQL Server gewechselt werden ohne die Konfiguration des SharePoint Servers anzupassen und in der Dokumentation muss nur der CNAME Eintrag angepasst werden.</p>
<p>[Update]</p>
<p>Die Einrichtung über einen CNAME ist jedoch nur sinnvoll wenn der Datenbankserver in der standard Instanz betrieben wird. Wenn dies nicht der Fall ist bleibt nur der weg über den SQL Alias.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2011/08/sharepoint-2010-datenbank-anbindung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Servicepack 1 f&#252;r den SharePoint Server 2010</title>
		<link>http://blog.oraylis.de/2011/08/servicepack-1-fr-den-sharepoint-server-2010/</link>
		<comments>http://blog.oraylis.de/2011/08/servicepack-1-fr-den-sharepoint-server-2010/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 07:56:00 +0000</pubDate>
		<dc:creator>Daniel Snellen</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Servicepack 1]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SP1]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2011/08/servicepack-1-fr-den-sharepoint-server-2010/</guid>
		<description><![CDATA[<p>Das erste Servicepack für den SharePoint 2010 wurde am 8. Juli von Microsoft veröffentlicht.</p>
<p>Details und Download: <a title="http://support.microsoft.com/kb/2460045" href="http://support.microsoft.com/kb/2460045">http://support.microsoft.com/kb/2460045</a></p>
<div style="display:block"><small><em>by Daniel Snellen <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2011%2F08%2Fservicepack-1-fr-den-sharepoint-server-2010%2F&amp;linkname=Servicepack%201%20f%26uuml%3Br%20den%20SharePoint%20Server%202010"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Das erste Servicepack für den SharePoint 2010 wurde am 8. Juli von Microsoft veröffentlicht.</p>
<p>Details und Download: <a title="http://support.microsoft.com/kb/2460045" href="http://support.microsoft.com/kb/2460045">http://support.microsoft.com/kb/2460045</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2011/08/servicepack-1-fr-den-sharepoint-server-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fast Search Vorschaubilder &#252;ber SSL</title>
		<link>http://blog.oraylis.de/2010/10/fast-search-vorschaubilder-ber-ssl/</link>
		<comments>http://blog.oraylis.de/2010/10/fast-search-vorschaubilder-ber-ssl/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 17:33:08 +0000</pubDate>
		<dc:creator>Sandra Erb</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[FAST Search]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2010/10/fast-search-vorschaubilder-ber-ssl/</guid>
		<description><![CDATA[<p>&#160;</p>
<p>Die neue Fast Search für SharePoint bietet viele neue Funktionen, u.a. eine Vorschau von Dokumenten. Für Word Dokumente wird die erste Seite angezeigt, für PowerPoint kann sogar die gesamte Präsentation als Preview eingesehen werden.</p>
<p>Läuft die SharePoint Seite unter SSL wird man statt mit der Preview, jedoch mit einem JavaScript Fehler begrüßt.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/JavaScriptError.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="JavaScript Error" src="http://blog.oraylis.de/wp-content/uploads/2010/10/JavaScriptError_thumb.png" width="201" height="244" /></a></p>
<p>Der Fehler betrifft nur die Vorschaubilder, während alle anderen Features der Fast Search anscheinend problemlos funktionieren.</p>
<p>Die Details des Fehlers lauten ungefähr wie folgt:</p>
<p><strong>Meldung: Syntaxfehler      <br />Zeile: 2       <br />Zeichen: 1       <br />Code: 0       <br />URI: </strong><a href="https://meinSharePoint.oraylis.de/personal/documents/_vti_bin/wacproxy.ashx?redirect=https%3A%"></a><strong>https://meinSharePoint.oraylis.de/personal/documents/_vti_bin/wacproxy.ashx?redirect=https%3A%</a>2F%2FmeinSharePoint.oraylis.de%2Fpersonal%2Fdocuments%2F_layouts%2FWordViewer.aspx<br />
%3Fid%3D2Fpersonal%2Fdocuments%2FShared%2520Documents%2F<br />
Der%2520ORAYLIS%2520Test.docx%26DefaultItemOpen%3D1&amp;spsite=https%3A%2F%2FmeinSharePoint.oraylis.de%2Fpersonal%</strong>     <br /><strong>2Fdocuments&amp;docType=docx&amp;zone=undefined&amp;callbackFunctionName=      <br />DelegateFn_SRB_g_3897520d_8fa6_4997_88c8_5ac1f1b642a5_5</a></strong></p>
<p>Um den Fehler zu lösen muss das Root-Zertifikat nicht nur am Server selbst und im IIS installiert werden, sondern auch noch einmal explizit in die SharePoint Trusts aufgenommen werden.</p>
<p>Hierzu in der SharePoint Central Administration in den Bereich Security wechseln und die Seite Manage trust aufrufen.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/image10.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2010/10/image_thumb10.png" width="323" height="171" /></a> </p>
<p>Hier auf New klicken und das Root Zertifikat hinzufügen.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/image11.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2010/10/image_thumb11.png" width="322" height="290" /></a> </p>
</p>
<p>Der JavaScript Fehler verschwindet sofort und auch die Vorschaubilder werden bei der nächsten Suche angezeigt. Sollte der JavaScript Fehler behoben sein, die Vorschaubilder jedoch nicht angezeigt werden, heißt es ein wenig Geduld haben. Die Dokumente müssen erst gecached werden.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/image12.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2010/10/image_thumb12.png" width="183" height="244" /></a></p>
<div style="display:block"><small><em>by Sandra Erb <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2010%2F10%2Ffast-search-vorschaubilder-ber-ssl%2F&amp;linkname=Fast%20Search%20Vorschaubilder%20%26uuml%3Bber%20SSL"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>&#160;</p>
<p>Die neue Fast Search für SharePoint bietet viele neue Funktionen, u.a. eine Vorschau von Dokumenten. Für Word Dokumente wird die erste Seite angezeigt, für PowerPoint kann sogar die gesamte Präsentation als Preview eingesehen werden.</p>
<p>Läuft die SharePoint Seite unter SSL wird man statt mit der Preview, jedoch mit einem JavaScript Fehler begrüßt.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/JavaScriptError.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="JavaScript Error" src="http://blog.oraylis.de/wp-content/uploads/2010/10/JavaScriptError_thumb.png" width="201" height="244" /></a></p>
<p>Der Fehler betrifft nur die Vorschaubilder, während alle anderen Features der Fast Search anscheinend problemlos funktionieren.</p>
<p>Die Details des Fehlers lauten ungefähr wie folgt:</p>
<p><strong>Meldung: Syntaxfehler      <br />Zeile: 2       <br />Zeichen: 1       <br />Code: 0       <br />URI: </strong><a href="https://meinSharePoint.oraylis.de/personal/documents/_vti_bin/wacproxy.ashx?redirect=https%3A%"></a><strong>https://meinSharePoint.oraylis.de/personal/documents/_vti_bin/wacproxy.ashx?redirect=https%3A%</a>2F%2FmeinSharePoint.oraylis.de%2Fpersonal%2Fdocuments%2F_layouts%2FWordViewer.aspx<br />
%3Fid%3D2Fpersonal%2Fdocuments%2FShared%2520Documents%2F<br />
Der%2520ORAYLIS%2520Test.docx%26DefaultItemOpen%3D1&amp;spsite=https%3A%2F%2FmeinSharePoint.oraylis.de%2Fpersonal%</strong>     <br /><strong>2Fdocuments&amp;docType=docx&amp;zone=undefined&amp;callbackFunctionName=      <br />DelegateFn_SRB_g_3897520d_8fa6_4997_88c8_5ac1f1b642a5_5</a></strong></p>
<p>Um den Fehler zu lösen muss das Root-Zertifikat nicht nur am Server selbst und im IIS installiert werden, sondern auch noch einmal explizit in die SharePoint Trusts aufgenommen werden.</p>
<p>Hierzu in der SharePoint Central Administration in den Bereich Security wechseln und die Seite Manage trust aufrufen.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/image10.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2010/10/image_thumb10.png" width="323" height="171" /></a> </p>
<p>Hier auf New klicken und das Root Zertifikat hinzufügen.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/image11.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2010/10/image_thumb11.png" width="322" height="290" /></a> </p>
</p>
<p>Der JavaScript Fehler verschwindet sofort und auch die Vorschaubilder werden bei der nächsten Suche angezeigt. Sollte der JavaScript Fehler behoben sein, die Vorschaubilder jedoch nicht angezeigt werden, heißt es ein wenig Geduld haben. Die Dokumente müssen erst gecached werden.</p>
<p><a href="http://blog.oraylis.de/wp-content/uploads/2010/10/image12.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" border="0" alt="image" src="http://blog.oraylis.de/wp-content/uploads/2010/10/image_thumb12.png" width="183" height="244" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2010/10/fast-search-vorschaubilder-ber-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Fehler &#8211; Event ID 7362 Publishing Cache Warnung</title>
		<link>http://blog.oraylis.de/2010/10/sharepoint-2010-fehler-event-id-7362-publishing-cache-warnung/</link>
		<comments>http://blog.oraylis.de/2010/10/sharepoint-2010-fehler-event-id-7362-publishing-cache-warnung/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 07:40:51 +0000</pubDate>
		<dc:creator>Sandra Erb</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Event ID]]></category>
		<category><![CDATA[Event Log]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Warnung]]></category>

		<guid isPermaLink="false">http://blog.oraylis.de/2010/10/sharepoint-2010-fehler-event-id-7362-publishing-cache-warnung/</guid>
		<description><![CDATA[<p>Der Object Cache wird vom Publishing Feature genutzt und speichert Eigenschaften von verschiedenen SharePoint Elementen. Das Ziel des Object Caches ist es u.a. die Last des SQL Servers zu reduzieren. Mehr Informationen zum Object Cache gibt es unter <a title="http://technet.microsoft.com/en-us/library/ff758656.aspx" href="http://technet.microsoft.com/en-us/library/ff758656.aspx">http://technet.microsoft.com/en-us/library/ff758656.aspx</a>.</p>
<p>Wurden die Standardeinstellungen des Object Caches übernommen und das Publishing Feature in einer Applikation aktiviert, so wird in regelmäßigen Abständen die folgende Warnung ins Windows Event Log geschrieben:</p>
<p><em>Event ID</em>: 7362</p>
<blockquote><p>Log Name:          Application<br />
Source:               Microsoft-SharePoint Products-Web Content Management<br />
Date:                  11.10.2010 12:03:30<br />
Event ID:           7362<br />
Task Category: Publishing Cache<br />
Level:                 Warning<br />
Keywords:<br />
User:                  &lt;SharePoint System Account&gt;<br />
Computer:          &lt;SharePoint Server&gt;<br />
Description:<br />
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.<br />
To configure the account use the following command &#8216;stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl&#8217;. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.<br />
Additional Data:<br />
Current default super user account: SHAREPOINT\system</p></blockquote>
<p><strong>Ursache</strong></p>
<p>Standardmäßig wird der SharePoint Systemaccount als Cache Super User Account eingetragen. Allerdings sollte dieser für jede Webapplikation, welche das Publishing Feature verwendet, auf zwei Domänenbenutzer aufgeteilt werden.</p>
<p><em>Warum zwei Benutzer?</em></p>
<p>Der Object Cache führt seine Abfragen als einer von zwei Benutzern aus, entweder als “Super User”, welcher vollen Zugriff auf alle Objekte im SharePoint hat (so z.B. auch auf Dokumente, welche noch den Status “Entwurf” haben), oder als “Super Reader”, welcher nur Zugriff auf veröffentlichte Objekte hat. Führt ein Benutzer nun z.B. eine Suche aus, so werden die Ergebnisse aus dem Cache angezeigt. Je nach dem, über welche Berechtigungen der Benutzer selbst verfügt, werden ihm entweder die Ergebnisse des “Super Users” oder des “Super Readers” angezeigt.</p>
<p><strong>Lösung</strong></p>
<p>Im Active Directory müssen zwei neue Benutzeraccounts angelegt werden. Diese Accounts benötigen keine besonderen Rechte oder Gruppenzugehörigkeiten. Die beiden Accounts sollten ausschließlich als Cache Accounts verwendet werden und niemals dafür die SharePoint Seite über den Browser aufzurufen.</p>
<p>Um die Benutzer nun richtig zu konfigurieren gibt es verschiedene Möglichkeiten. Diese Schritte müssen für alle Webapplikationen durchgeführt werden müssen, welche das Publishing Feature verwenden.</p>
<p><strong>Variante 1: Central Administration und Power Shell</strong></p>
<ol>
<li>In der SharePoint 2010 Central Administration im Bereich Application Management die Seite Manage web applications öffnen.</li>
<li>Den Namen der Webapplikation auswählen, für welche die Konfiguration vorgenommen werden soll.</li>
<li>Aus dem Web Applications Tab die Option User Policy auswählen.</li>
<li>Im “Policy for Web Application” Fenster auf “Add Users” klicken.</li>
<li>Als Zone “All zones” auswählen und auf “Next” klicken.</li>
<li>Den Namen des Super User Accounts eintragen und als Berechtigung “Full Control – Has full control” auswählen.</li>
<li>Auf “Finish” klicken und auf die selbe Art und Weise den Super Reader Account hinzufügen. Als Zone wieder “All zones” wählen und als Berechtigung “Full Read – Has full read-only access” einstellen.</li>
<li>Eine Power Shell/SharePoint 2010 Management Konsole öffnen die folgenden Befehle ausführen:
<pre><code>$wa = Get-SPWebApplication -Identity "&lt;Name oder URL der WebApplication&gt;"
$wa.Properties["portalsuperuseraccount"] = "&lt;SuperUser&gt;"
$wa.Properties["portalsuperreaderaccount"] = "&lt;SuperReader&gt;"
$wa.Update()</code></pre>
<p>Hierbei ist wichtig, dass die Namen der beiden Benutzer Accounts in der selben Schreibweise angegeben werden, wie sie im Fenster “Policy for Web Application” angezeigt werden.</li>
</ol>
<p>Tipp: Die oben gezeigten Befehle können auch als Power Shell Skript (.ps1 Datei) gespeichert werden.</p>
<p><strong>Variante 2: Power Shell</strong></p>
<p>Muss die Einstellung für mehrere Applikationen vorgenommen werden, lohnt sich die Automatisierung über ein Power Shell Script.</p>
<pre>$webapp = Get-SPWebApplication –Identity http://webapp

# Reader Account registrieren und berechtigen
$rdrcred = New-SPManagedAccount –Credential (Get-Credential)
$rdrpol = $webapp.Policies.Add($rdrcred.Username, $rdrcred.Username)
$rdrpol.PolicyRoleBindings.Add($webapp.PolicyRoles.GetSpecialRole(“FullRead”)) 

# Writer Account registrieren und berechtigen
$wrtcred = New-SPManagedAccount –Credential (Get-Credential)
$wrtpol = $webapp.Policies.Add($wrtcred.Username, $wrtcred.Username)
$wrtpol.PolicyRoleBindings.Add($webapp.PolicyRoles.GetSpecialRole(“FullControl”)) 

# Accounts zuweisen
$webapp.Properties["portalsuperuseraccount"] = $wrtcred.Username
$webapp.Properties["portalsuperreaderaccount"] = $rdrcred.Username 

$webapp.Update()
</pre>
<p><strong>Variante 3: Central Administration und STSADM</strong></p>
<p>Für alle, die sich noch nicht mit der PowerShell auseinander gesetzt haben, gibt es die Möglichkeit die Benutzer auch über stsadm zu konfigurieren. Ich lege allerdings jedem SharePoint 2010 Administrator ans Herz sich schnellstmöglich mit der Power Shell vertraut zu machen, da stsadm in Zukunft von dieser abgelöst wird.</p>
<ol>
<li>Die Schritte 1 bis 7 aus dem Abschnitt “Variante 1: Central Administration und Power Shell” ausführen, um die Benutzer der Web Applikation zuzuordnen.</li>
<li>Die nachfolgenden stsadm Befehle für jede Webapplikation ausführen:
<pre><code>stsadm -o setproperty -propertyname portalsuperuseraccount
                      -propertyvalue "&lt;SuperUser&gt;" -url "&lt;http://webapp&gt;"
stsadm -o setproperty -propertyname portalsuperreaderaccount
                      -propertyvalue "&lt;SuperReader&gt;" -url "&lt;http://webapp&gt;"  </code></pre>
</li>
</ol>
<div style="display:block"><small><em>by Sandra Erb <ul class="addtoany_list"><li><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fblog.oraylis.de%2F2010%2F10%2Fsharepoint-2010-fehler-event-id-7362-publishing-cache-warnung%2F&amp;linkname=SharePoint%202010%20Fehler%20%26ndash%3B%20Event%20ID%207362%20Publishing%20Cache%20Warnung"><img src="http://blog.oraylis.de/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a></li></ul></em></small></div>]]></description>
			<content:encoded><![CDATA[<p>Der Object Cache wird vom Publishing Feature genutzt und speichert Eigenschaften von verschiedenen SharePoint Elementen. Das Ziel des Object Caches ist es u.a. die Last des SQL Servers zu reduzieren. Mehr Informationen zum Object Cache gibt es unter <a title="http://technet.microsoft.com/en-us/library/ff758656.aspx" href="http://technet.microsoft.com/en-us/library/ff758656.aspx">http://technet.microsoft.com/en-us/library/ff758656.aspx</a>.</p>
<p>Wurden die Standardeinstellungen des Object Caches übernommen und das Publishing Feature in einer Applikation aktiviert, so wird in regelmäßigen Abständen die folgende Warnung ins Windows Event Log geschrieben:</p>
<p><em>Event ID</em>: 7362</p>
<blockquote><p>Log Name:          Application<br />
Source:               Microsoft-SharePoint Products-Web Content Management<br />
Date:                  11.10.2010 12:03:30<br />
Event ID:           7362<br />
Task Category: Publishing Cache<br />
Level:                 Warning<br />
Keywords:<br />
User:                  &lt;SharePoint System Account&gt;<br />
Computer:          &lt;SharePoint Server&gt;<br />
Description:<br />
Object Cache: The super user account utilized by the cache is not configured. This can increase the number of cache misses, which causes the page requests to consume unneccesary system resources.<br />
To configure the account use the following command &#8216;stsadm -o setproperty -propertyname portalsuperuseraccount -propertyvalue account -url webappurl&#8217;. The account should be any account that has Full Control access to the SharePoint databases but is not an application pool account.<br />
Additional Data:<br />
Current default super user account: SHAREPOINT\system</p></blockquote>
<p><strong>Ursache</strong></p>
<p>Standardmäßig wird der SharePoint Systemaccount als Cache Super User Account eingetragen. Allerdings sollte dieser für jede Webapplikation, welche das Publishing Feature verwendet, auf zwei Domänenbenutzer aufgeteilt werden.</p>
<p><em>Warum zwei Benutzer?</em></p>
<p>Der Object Cache führt seine Abfragen als einer von zwei Benutzern aus, entweder als “Super User”, welcher vollen Zugriff auf alle Objekte im SharePoint hat (so z.B. auch auf Dokumente, welche noch den Status “Entwurf” haben), oder als “Super Reader”, welcher nur Zugriff auf veröffentlichte Objekte hat. Führt ein Benutzer nun z.B. eine Suche aus, so werden die Ergebnisse aus dem Cache angezeigt. Je nach dem, über welche Berechtigungen der Benutzer selbst verfügt, werden ihm entweder die Ergebnisse des “Super Users” oder des “Super Readers” angezeigt.</p>
<p><strong>Lösung</strong></p>
<p>Im Active Directory müssen zwei neue Benutzeraccounts angelegt werden. Diese Accounts benötigen keine besonderen Rechte oder Gruppenzugehörigkeiten. Die beiden Accounts sollten ausschließlich als Cache Accounts verwendet werden und niemals dafür die SharePoint Seite über den Browser aufzurufen.</p>
<p>Um die Benutzer nun richtig zu konfigurieren gibt es verschiedene Möglichkeiten. Diese Schritte müssen für alle Webapplikationen durchgeführt werden müssen, welche das Publishing Feature verwenden.</p>
<p><strong>Variante 1: Central Administration und Power Shell</strong></p>
<ol>
<li>In der SharePoint 2010 Central Administration im Bereich Application Management die Seite Manage web applications öffnen.</li>
<li>Den Namen der Webapplikation auswählen, für welche die Konfiguration vorgenommen werden soll.</li>
<li>Aus dem Web Applications Tab die Option User Policy auswählen.</li>
<li>Im “Policy for Web Application” Fenster auf “Add Users” klicken.</li>
<li>Als Zone “All zones” auswählen und auf “Next” klicken.</li>
<li>Den Namen des Super User Accounts eintragen und als Berechtigung “Full Control – Has full control” auswählen.</li>
<li>Auf “Finish” klicken und auf die selbe Art und Weise den Super Reader Account hinzufügen. Als Zone wieder “All zones” wählen und als Berechtigung “Full Read – Has full read-only access” einstellen.</li>
<li>Eine Power Shell/SharePoint 2010 Management Konsole öffnen die folgenden Befehle ausführen:
<pre><code>$wa = Get-SPWebApplication -Identity "&lt;Name oder URL der WebApplication&gt;"
$wa.Properties["portalsuperuseraccount"] = "&lt;SuperUser&gt;"
$wa.Properties["portalsuperreaderaccount"] = "&lt;SuperReader&gt;"
$wa.Update()</code></pre>
<p>Hierbei ist wichtig, dass die Namen der beiden Benutzer Accounts in der selben Schreibweise angegeben werden, wie sie im Fenster “Policy for Web Application” angezeigt werden.</li>
</ol>
<p>Tipp: Die oben gezeigten Befehle können auch als Power Shell Skript (.ps1 Datei) gespeichert werden.</p>
<p><strong>Variante 2: Power Shell</strong></p>
<p>Muss die Einstellung für mehrere Applikationen vorgenommen werden, lohnt sich die Automatisierung über ein Power Shell Script.</p>
<pre>$webapp = Get-SPWebApplication –Identity http://webapp

# Reader Account registrieren und berechtigen
$rdrcred = New-SPManagedAccount –Credential (Get-Credential)
$rdrpol = $webapp.Policies.Add($rdrcred.Username, $rdrcred.Username)
$rdrpol.PolicyRoleBindings.Add($webapp.PolicyRoles.GetSpecialRole(“FullRead”)) 

# Writer Account registrieren und berechtigen
$wrtcred = New-SPManagedAccount –Credential (Get-Credential)
$wrtpol = $webapp.Policies.Add($wrtcred.Username, $wrtcred.Username)
$wrtpol.PolicyRoleBindings.Add($webapp.PolicyRoles.GetSpecialRole(“FullControl”)) 

# Accounts zuweisen
$webapp.Properties["portalsuperuseraccount"] = $wrtcred.Username
$webapp.Properties["portalsuperreaderaccount"] = $rdrcred.Username 

$webapp.Update()
</pre>
<p><strong>Variante 3: Central Administration und STSADM</strong></p>
<p>Für alle, die sich noch nicht mit der PowerShell auseinander gesetzt haben, gibt es die Möglichkeit die Benutzer auch über stsadm zu konfigurieren. Ich lege allerdings jedem SharePoint 2010 Administrator ans Herz sich schnellstmöglich mit der Power Shell vertraut zu machen, da stsadm in Zukunft von dieser abgelöst wird.</p>
<ol>
<li>Die Schritte 1 bis 7 aus dem Abschnitt “Variante 1: Central Administration und Power Shell” ausführen, um die Benutzer der Web Applikation zuzuordnen.</li>
<li>Die nachfolgenden stsadm Befehle für jede Webapplikation ausführen:
<pre><code>stsadm -o setproperty -propertyname portalsuperuseraccount
                      -propertyvalue "&lt;SuperUser&gt;" -url "&lt;http://webapp&gt;"
stsadm -o setproperty -propertyname portalsuperreaderaccount
                      -propertyvalue "&lt;SuperReader&gt;" -url "&lt;http://webapp&gt;"  </code></pre>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.oraylis.de/2010/10/sharepoint-2010-fehler-event-id-7362-publishing-cache-warnung/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

