<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>sharepoint &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://wordpress.com/tag/sharepoint/</link>
	<description>Feed of posts on WordPress.com tagged "sharepoint"</description>
	<pubDate>Fri, 05 Sep 2008 04:34:48 +0000</pubDate>

	<generator>http://wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[L²P und Google Chrome]]></title>
<link>http://cilblog.wordpress.com/?p=75</link>
<pubDate>Thu, 04 Sep 2008 19:11:51 +0000</pubDate>
<dc:creator>Philipp Rohde</dc:creator>
<guid>http://cilblog.wordpress.com/?p=75</guid>
<description><![CDATA[Der Internethype der Woche war natürlich der neue Browser Google Chrome. Mein erster Eindruck ist ]]></description>
<content:encoded><![CDATA[<p>Der Internethype der Woche war natürlich der neue Browser <em>Google Chrome</em>. Mein erster Eindruck ist der gleiche wie (wahrscheinlich) bei millionen anderen Erstnutzern: dieser Browser ist irre schnell. Mir gefällt auch, dass Chrome auf das Wesentliche reduziert ist.</p>
<p>Mein zweiter Blick galt natürlich <a title="L²P" href="http://www.elearning.rwth-aachen.de">L²P</a> und der Frage, ob es eventuell Probleme mit Chrome gibt. <em>Microsoft </em><em>SharePoint </em>und insbesondere L²P läuft auf den beiden Mainstream-Browser <em>Internet Explorer</em> und <em>FireFox</em> weitgehend problemlos, zumindest in den höheren Versionen ab IE 6 bzw. ab FF 2. Bei <em>Opera </em>und <em>Safari </em>gibt es schon eher mal Probleme, insbesondere beim HTML-Editor <em><a title="telerik radeditor" href="http://www.telerik.com/products/sharepoint/radeditor.aspx" target="_blank">RadEditor</a> </em>von <em><a title="telerik" href="http://www.telerik.com">telerik</a></em>, der in L²P eingebunden ist.</p>
<p>Mein erster Befund: Google Chrome hat keine Probleme mit L²P. Das Design ist wie gewünscht und alle Webparts und Menüs arbeiten korrekt. Und tatsächlich wirkt alles etwas schneller.</p>
<p>Allerdings macht auch hier der RadEditor Probleme: die Toolbar wird nicht richtig angezeigt. Gleiches gilt für den Wechsel zwischen Desgin- und HTML-Ansicht im Editor. Zwar scheinen die Menü-Buttons zu funktionieren. Aber man muss raten, wo man hinklicken soll.</p>
<p>Das Problem scheint allerdings auch schon bekannt zu sein, siehe den <a title="telerik Blog" href="http://blogs.telerik.com/VladimirMilev/Posts/08-09-03/Google_Chrome_-_The_browser_in_a_Pok_eacute_mon_ball.aspx" target="_blank">telerik Blog von Vladimir Milev</a>. Aberich bin guter Dinge: der RadEditor ist mittlerweile so weit verbreitet und Google Chrome wird sicher auch schnell einen ordentlichen Marktanteil erreichen, so dass telerik nachziehen und den RadEditor in einem Update entsprechend kompatibel machen wird. Wir sind gespannt.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Unauthorized exception even after using SPSecurity.RunWithElevatedPrivileges]]></title>
<link>http://sharenotes.wordpress.com/?p=68</link>
<pubDate>Thu, 04 Sep 2008 15:45:46 +0000</pubDate>
<dc:creator>svarukala</dc:creator>
<guid>http://sharenotes.wordpress.com/?p=68</guid>
<description><![CDATA[In various cases while developing custom web parts or controls for SharePoint we have to use the SP]]></description>
<content:encoded><![CDATA[<p>In various cases while developing custom web parts or controls for SharePoint we have to use the SPSecurity.RunWithElevatedPrivileges construct to execute some part of the code which needs elevated permissions or which cannot be run with the current user permissions. For example, updating a SPWeb object or SPList object needs elevated permissions.</p>
<p>If you are getting an unauhtorized access exception even after using this block then the reason could be as follows:</p>
<p>While using this construct: You cannot use the objects available through the <a id="ctl00_rs1_mainContentContainer_ctl08" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spcontext.current.aspx">Microsoft.SharePoint.SPContext.Current </a>property. That is because those objects were created in the security context of the current user.</p>
<p>So the best practice for using the SPSecurity.RunWithElevatedPrivileges is to get the SPSite/SPWeb objects using the SPContext.Current and then create the SPSite and SPWeb objects seperately. See the code below:</p>
<p> </p>
<blockquote>
<pre class="libCScode">SPSite siteColl = SPContext.Current.Site;
SPWeb site = SPContext.Current.Web;
SPSecurity.RunWithElevatedPrivileges(delegate() {
  <span>using</span> (SPSite ElevatedsiteColl = <span>new</span> SPSite(siteColl.ID)) {
    <span>using</span> (SPWeb ElevatedSite = ElevatedsiteColl.OpenWeb(site.ID)) {
        //Code to execute
    }
  }
});</pre>
</blockquote>
<p>The following code is wrong:</p>
<pre class="libCScode">
<blockquote>
<pre class="libCScode">SPSecurity.RunWithElevatedPrivileges(delegate() {</pre>
<pre class="libCScode">    SPSite siteColl =    SPContext.Current.Site;
    SPWeb site = SPContext.Current.Web;
 //Code to execute</pre>
<p>});</p></blockquote>
</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Reduce Tape Restoration with TimeData Operational Recovery Part 2]]></title>
<link>http://doubletakesoftware.wordpress.com/?p=164</link>
<pubDate>Thu, 04 Sep 2008 13:51:45 +0000</pubDate>
<dc:creator>brennels</dc:creator>
<guid>http://doubletakesoftware.wordpress.com/?p=164</guid>
<description><![CDATA[TimeData Remote Recovery
This design is almost a mirror image of the first where it may not be neces]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">TimeData Remote Recovery</span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">This design is almost a mirror image of the first where it may not be necessary to have the TimeData repository locally where retrieval isn’t performed often but still available if need. The TimeData repository is now located at the disaster recovery facility so operational recovery is still an option should the primary site go down and Double-Take is still used to provide high availability to the DR facility.</span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> <a href="http://FileURL"><img class="alignnone size-medium wp-image-168" src="http://doubletakesoftware.wordpress.com/files/2008/09/timedata-remote-recovery1.png?w=300" alt="" width="300" height="206" /></a></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Either of these solutions is perfectly acceptable to provide disaster recovery in combination with operational recovery and each will help eliminate the length of time associated with tape restorations. The decision will come down to where you want to have your TimeData repository and that will depend on couple of variables:</span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:0 0 0 0.75in;"><span style="font-size:8pt;font-family:Wingdings;"><span>q<span style="font-family:&#34;">  </span></span></span><span style="font-size:small;font-family:Times New Roman;">How often will you need to recover lost or corrupted files? If this is a regular and common occurrence in your environment then it may make sense to have the repository local. Otherwise having the repository at the disaster recovery facility add protection from a site failure and still provides the ability to retrieve lost files. </span></p>
<p class="MsoNormal" style="text-indent:-0.25in;margin:0 0 0 0.75in;"><span style="font-size:8pt;font-family:Wingdings;"><span>q<span style="font-family:&#34;">  </span></span></span><span style="font-size:small;font-family:Times New Roman;">What type of data will need to be retrieved? If you are only restoring an e-mail or word document now and then that is fine to transmit over a WAN but if you have retrieve regular CAD or other large image files then it may make sense to also have the repository local and on the same LAN.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">The other option that isn’t displayed in these diagrams is having Double-Take at both local and remote facilities to provide both High and Remote Availability while at the same time protecting the revisions of the server data for that additional operational recovery.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">For more information Marc LaFlure, TimeData Product Manager, will be presenting an in-depth look on how to use TimeData for operational recover and how to reduce tape restoration for business critical servers. Register </span><a href="https://www302.livemeeting.com/lrs/1100000418/Registration.aspx?PageName=7zm2fm5swpb0bz5l"><span style="font-size:small;font-family:Times New Roman;">here</span></a><span style="font-size:small;font-family:Times New Roman;"> for Sept 4<sup>th</sup> webinar at 11am EST.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Barcode Cover Sheets and SharePoint]]></title>
<link>http://scanningwithsharepoint.wordpress.com/?p=10</link>
<pubDate>Thu, 04 Sep 2008 04:45:55 +0000</pubDate>
<dc:creator>scanguru</dc:creator>
<guid>http://scanningwithsharepoint.wordpress.com/?p=10</guid>
<description><![CDATA[So, in my quest for the ultimate scanning application for SharePoint, I continue to test new technol]]></description>
<content:encoded><![CDATA[<p>So, in my quest for the ultimate scanning application for SharePoint, I continue to test new technologies, but there are just so many companies jumping on the SharePoint Bandwagon. The most recent technology is one that i have been testing quite a bit lately, and I have mentioned it quite a bit in this BLOG (PSI:Capture).</p>
<p>Imagine users from all over your organization walking up to Multi-Function Devices (MFDs or Copiers), and scanning their documents. Only they are using barcode separator/cover sheets. How do they work? Well, the sheet can serve two purposes: separation and data. The separation function allows you to take a stack of 10 documents, put the separator sheets between each, and then scan the whole stack. The software finds the separator sheets and knows when one document begins and another ends. The data in the barcode can also be read, and populated into columns within the SharePoint application. An example?</p>
<p>Take this paragraph:</p>
<p><em><strong>"Early on in his life as a midshipman at the Naval Academy, the most important lesson John McCain learned was that to sustain his self-respect for a lifetime it would be necessary for him to have the honor of serving something greater than his self-interest -- service to his country. John McCain has always put his country's interests before any party, special interest and even his own self-interest. He has always and will always do what is right for our country."</strong></em></p>
<p>I know, I know, a technology BLOG is no place for political innuendo...sorry. ; )  Needed a quick paragraph and the covention was on.</p>
<p>Now take this barcode:</p>
<p><img src="http://www.scanguru.com/e107_files/images/barcode55.png" alt="Separation barcode" /></p>
<p>The entire barcode is the paragraph above encoded.  It can be read, and entered into a column in SharePoint.  Now this is an extreme example, but these 2D barcodes allow over 1000 characters in a thumbnail sized symbol.  Barcode generators will also allow a separation character, so you can embed multiple pieces of data for different columns within the symbol.  So think of the possibilities...</p>
<p>Each user assigned to a project within SharePoint could have their own cover sheet that has their name, project, location embeded.  All they need to do is scan their documents with the cover sheet on top, and the next thing they know, their paper document is on the SharePoint site with their name attached, and all the fields filled in.</p>
<p>No, not science fiction and very affordable.  Their are several applications that support this function, most notably, PSIGEN products and Kofax products.  Some good additional info on <a href="http://www.scanguru.com">ScanGuru</a>.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Citizen Service Platform: Primera release en Codeplex!]]></title>
<link>http://jcgonzalezmartin.wordpress.com/2008/09/03/citizen-service-platform-primera-release-en-codeplex/</link>
<pubDate>Wed, 03 Sep 2008 21:59:19 +0000</pubDate>
<dc:creator>Juan Carlos González Martín</dc:creator>
<guid>http://jcgonzalezmartin.wordpress.com/2008/09/03/citizen-service-platform-primera-release-en-codeplex/</guid>
<description><![CDATA[Como sabéis, Microsoft ha realizado una apuesta firme de cara a contribuir a la administración ele]]></description>
<content:encoded><![CDATA[<p>Como sabéis, Microsoft ha realizado una apuesta firme de cara a contribuir a la administración electrónica mediante la aplicación de las nuevas tecnologías...y como prueba, aquí tenéis una gran noticia: Se acaba de liberar en Codeplex la primera release del <a href="http://www.codeplex.com/csp/"><strong>Citizen Service Platform (CSP)</strong></a>. Se trata de una plataforma que estará compuesta por soluciones al servicio de los ciudadanos y basadas en tecnologías clave de Microsoft como SharePoint, Microsoft Dynamics CRM y la plataforma Windows Live para entornos de administración local y regional.</p>
<p><img src="http://pserrano.blogscavedigital.com/content/binary/csp_main_header1.jpg" border="0"></p>
<p>Podéis encontrar más información del proyecto CSP en la propia página de Codeplex y en los siguientes enlaces:
<ul>
<li><a href="http://www.microsoft.com/csp">http://www.microsoft.com/csp</a>.
<li><a href="http://www.citizenserviceplatform.com">http://www.citizenserviceplatform.com</a>.
<li><a href="http://www.microsoftpsdemos.com">http://www.microsoftpsdemos.com</a>, dónde podréis encontrar una serie de demos para el sector público.
<li>Este <a href="http://pserrano.blogscavedigital.com/PermaLink,guid,6350eaf8-e052-410b-b304-f4ccafc4c7f6.aspx">post de Pedro Serrano en el que me enteré de la noticia</a>.</li>
</ul>
<p>Como muestra de uso de las tecnologías comentadas, podéis echar un vistazo a las plantillas de Agenda Management que utilizan MOSS.</p>
<p align="center"><img src="http://pserrano.blogscavedigital.com/content/binary/CSP_ScreenShot001.jpg" border="0"></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Firefox prompts for a login prompt]]></title>
<link>http://sharepointandbeyond.wordpress.com/?p=26</link>
<pubDate>Wed, 03 Sep 2008 21:38:35 +0000</pubDate>
<dc:creator>Adam</dc:creator>
<guid>http://sharepointandbeyond.wordpress.com/?p=26</guid>
<description><![CDATA[Working with a client who has a mixture of both IE and Firefox for connecting to SharePoint.  They ]]></description>
<content:encoded><![CDATA[<p>Working with a client who has a mixture of both IE and Firefox for connecting to SharePoint.  They are using internally and are currently using NTLM.  Firefox was prompting for a login prompt every time user was connecting to SharePoint and this was causing a headache.</p>
<p>It turns out the fix is not too difficult and I wanted to repost here.</p>
<ol>
<li><span style="font-size:x-small;font-family:Arial;"><em>Open up FireFox</em></span></li>
<li><em><span style="font-size:x-small;font-family:Arial;">Type about:config in the address bar</span></em></li>
<li><em><span style="font-size:x-small;font-family:Arial;">Locate the key named network.automatic-ntlm-auth.trusted-uris.</span></em></li>
<li><span style="font-size:x-small;font-family:Arial;"><em>Set that key’s value to a comma separated list of servers you want NTLM auth for</em></span></li>
</ol>
<p>This was posted on various blogs but wanted to point this out as the client couldn't seem to locate themselves.</p>
<p>Note: This is not a problem for those clients using Kerberos</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Chrome not so compatible with SharePoint]]></title>
<link>http://kartickapur.wordpress.com/?p=47</link>
<pubDate>Wed, 03 Sep 2008 21:06:32 +0000</pubDate>
<dc:creator>kartickapur</dc:creator>
<guid>http://kartickapur.wordpress.com/?p=47</guid>
<description><![CDATA[I decided to test the much hyped &#8216;Google Chrome&#8217; with SharePoint today. So, I set off do]]></description>
<content:encoded><![CDATA[<p style="line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">I decided to test the much hyped 'Google Chrome' with SharePoint today. So, I set off downloading the latest browser waiting in anticipation of what Google has to offer.</span></p>
<p style="line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">For a browser that is developed from scratch (I don’t see any point in that by the way!), it has some wonderful capabilities – drag tabs between windows, improved security against phishing and malware, improved features for developers, pop ups to appear in the tab it originated from and much more.</span></p>
<p style="line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">The problem started, however when I opened our SharePoint intranet site. Given below is the list of issues I noticed in the few minutes of testing:</span></p>
<p style="margin-left:36pt;text-indent:-18pt;line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';">         </span></span></span><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">Minor formatting issues. Some of the tables where out of formatting.</span></p>
<p style="margin-left:36pt;text-indent:-18pt;line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';">         </span></span></span><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">The drop down menus for the top navigation appeared hidden behind the embedded images on the page. I think it has something to do with how IE use z indexing on IE 6.</span></p>
<p style="margin-left:36pt;text-indent:-18pt;line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';">         </span></span></span><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">You cannot edit a document in Microsoft word, excel etc (right click on a document and edit in Microsoft word). Error Message: “<em>Edit document requires a windows SharePoint services compatible application and Microsoft internet explorer 6 or greater</em>”.</span></p>
<p style="margin-left:36pt;text-indent:-18pt;line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';">         </span></span></span><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">Drag and drop does not work in the edit page view.</span></p>
<p style="margin-left:36pt;text-indent:-18pt;line-height:14.25pt;"><span style="font-size:10pt;color:#000000;font-family:Symbol;"><span>·<span style="font-family:'Times New Roman';">         </span></span></span><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">Silver light web parts do not work. I think silverlight does not support this browser yet.</span></p>
<p class="MsoNormal"><span style="font-size:10pt;color:#000000;font-family:'Lucida Sans Unicode','sans-serif';">I am sure there might be more issues noticed by others. I am not suggesting anyone to use chrome for sharepoint in my organization.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[SharePoint Training Review: InfoPath]]></title>
<link>http://designshare.wordpress.com/?p=65</link>
<pubDate>Wed, 03 Sep 2008 20:13:44 +0000</pubDate>
<dc:creator>mpakron</dc:creator>
<guid>http://designshare.wordpress.com/?p=65</guid>
<description><![CDATA[I have been out of town for almost two weeks now. The last week of August, I went to Nashville for I]]></description>
<content:encoded><![CDATA[<p>I have been out of town for almost two weeks now. The last week of August, I went to Nashville for Infopath training. The day after I got back, I had to evacuate for Hurricane Gustav. I just got back home this morning. I'm trying to remember my training... ;)</p>
<p>I went to the InfoPath class offered by SharePoint Solutions. It was three days long and covered InfoPath, SharePoint, and Workflows. The instructor was very nice and knowledgeable. I have a much better understanding of how to use IP to create forms and even mimic applications. I really thingk that IP will become a primary means for my group to create small apps, as most of the apps we build are just web versions of print forms. The savings in development time will be huge. I will post more as I remember-still have hurricane brain fog ;)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Intro to SharePoint: Silverlight]]></title>
<link>http://lizsgeekyside.wordpress.com/?p=178</link>
<pubDate>Wed, 03 Sep 2008 19:04:27 +0000</pubDate>
<dc:creator>Liz</dc:creator>
<guid>http://lizsgeekyside.wordpress.com/?p=178</guid>
<description><![CDATA[I have been watching a series of webcasts created by Microsoft MVPs that introduce various features ]]></description>
<content:encoded><![CDATA[<p>I have been watching a series of webcasts created by Microsoft MVPs that introduce various features of SharePoint to .NET developers.  The entire series can be found <a href="http://www.andrewconnell.com/blog/archive/2008/05/13/ASP.NET-Developer-Looking-for-a-SharePoint-RampUp.aspx">here</a>.  These are my notes from the third webcast, on SharePoint and Silverlight.</p>
<p>PRESENTER:<br />
Andrew Connell<br />
MVP Office SP Server<br />
<a href="http://www.andrewconnell.com/blog">www.andrewconnell.com/blog</a><br />
<strong></strong></p>
<p><strong>SILVERLIGHT OVERVIEW</strong></p>
<p>Silverlight develops a rich user experience with zero postback</p>
<p>Some types of data Silverlight can provide:</p>
<ul>
<li>images, sounds, videos, rss</li>
<li>custom web service</li>
<li>existing intranet services</li>
<li>public internet mashup APIs</li>
</ul>
<p><strong>HISTORY OF SILVERLIGHT</strong></p>
<p>Silverlight 1.0:</p>
<ul>
<li>Silverlight 1.0 is the current production release (RTW) and was shipped in Q3 2007</li>
<li>It defines the render(design) part using XAML</li>
<li>Uses a WPF-based interface</li>
<li>A Silverlight application lives inside of a webpage</li>
<li>The webpage will include some custom JavaScript (AJAX) to talk to the Silverlight app and to the various web services.  I.E., the code-behind is 100% JavaScript-driven</li>
</ul>
<p>Silverlight 2.0:</p>
<ul>
<li>Today: Silverlight 2.0 is in beta.  It doesn't need JavaScript to talk to Silverlight</li>
<li>The Silverlight plugin deploys a tiny version into the .NET Framework, and now I can write C# or VB code and then complie the code into an asembly, and now the assembly will be part of the Silverlight file (control) and the assembly will be running on the client machine.  I.E., the code-behind uses managed code</li>
<li>Some of Silverlight 2.0 runtime features include 2-D, graphics, audio, video, animations, text, controls, layout, styles/templates, data binding, networking, .NET Support, LIN1, XML API's, generics, HTML integrtions, local storage, Crypto APIs, and threading</li>
</ul>
<p>Silverlight 2.0 SDK libraries include:</p>
<ul>
<li>Full support for dynamic languages</li>
<li>Addition controls like sliders, grid controls</li>
<li>LINQ for XML</li>
<li>XML Serialization</li>
<li>RSS feeds</li>
</ul>
<p><strong>SHAREPOINT AND SILVERLIGHT</strong></p>
<p>Environment needed:</p>
<ul>
<li>WSS 3.0 SP1</li>
<li>Config of IIS Web app</li>
</ul>
<p>Server config needed:</p>
<ul>
<li>.NET Framework 3.5 if using Silverlight 2.0, or .NET 2.0 for Silverlight 1.0</li>
<li>Deploy System.Web.Silverlight.dll in GAC</li>
<li>Extend web.config if ISS web app with ASP.NET extensions and SL 2.0 config elements</li>
<li>MIME type registration of the .XAP file extension for IIS web app (format: application/x-silverlight-2-b1</li>
</ul>
<p>Dev environment needed:</p>
<ul>
<li>Visual Studio 2008 extended with tools for Silverlight 2.0</li>
<li>Microsoft Expression Blend</li>
<li>Silverlight 2.0 SDK (which would be included in VS 2008 tools)</li>
</ul>
<p>Client prerequisites: Silverlight 2.0 plug-in must be installed</p>
<p>Scenarios for using Silverlight:</p>
<ul>
<li>Complex and dynamic interaction with dashboard data (visually impressive reports, etc)</li>
<li>Visualize multimedia data stored in SP</li>
<li>Rich navigation controls</li>
<li>Interactive field types, Web parts, and pages</li>
<li>Off-load more work to the clients (browsers)</li>
</ul>
<p><strong>SILVERLIGHT 2.0 AND SHAREPOINT</strong></p>
<p>Host containers that can be used to trigger a Silverlight control:</p>
<ul>
<li>Web Parts</li>
<li>App pages and site pages</li>
<li>Custom field types</li>
<li>Navigation control</li>
</ul>
<p>Data can be passed in both directions:</p>
<ul>
<li>InitParameters - passes data into Silverlight (like if you were calling a method)</li>
<li>Hidden Fields or XML Data Islands</li>
<li>Web Services</li>
<li>WPF</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[SharePoint y LINQ (I)!]]></title>
<link>http://jcgonzalezmartin.wordpress.com/2008/09/03/sharepoint-y-linq-i/</link>
<pubDate>Wed, 03 Sep 2008 18:50:10 +0000</pubDate>
<dc:creator>Juan Carlos González Martín</dc:creator>
<guid>http://jcgonzalezmartin.wordpress.com/2008/09/03/sharepoint-y-linq-i/</guid>
<description><![CDATA[Recientemente en uno de los proyectos en los que estamos trabajando surgió la necesidad de consulta]]></description>
<content:encoded><![CDATA[<p>Recientemente en uno de los proyectos en los que estamos trabajando surgió la necesidad de consultar datos de una lista de SharePoint y mostrarlos ordenados en base a uno de los campos de la misma. La primera alternativa en la que pensamos para solventar esta necesidad fue la de <a href="http://en.wikipedia.org/wiki/Collaborative_Application_Markup_Language">CAML</a>, pero entre medias también pensamos que <a href="http://en.wikipedia.org/wiki/Language_Integrated_Query">LINQ</a> era otra opción interesante. La primeras preguntas que nos surgieron aquí fueron <em><strong>¿cómo está la integración de SharePoint y LINQ?</strong></em>, <strong><em>¿puedo consultar datos de una lista de SharePoint mediante LINQ?</em></strong> La respuesta a al primera pregunta es que "más o menos", mientras que la respuesta a la segunda es que sí...y ahora os explicaré los motivos de estas respuestas. A la hora de consultar datos de SharePoint, tenemos dos alternativas:</p>
<ul>
<li>Usar <a href="http://www.codeplex.com/LINQtoSharePoint">LINQ To SharePoint</a>, que es una extensión de LINQ que traduce consultas LINQ a consultas CAML en SharePoint. El problema de esta extensión es que parece que está descontinuada, puesto que desde la versión alfa de noviembre de 2008 no ha habido nuevas versiones.
<li>Aprovecharnos la potencia que nos <a href="http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx">la clase List&#60;T&#62;</a> que nos permitirá construir un objeto consultable mediante LINQ a partir de los elementos de una lista de SharePoint (que&#160; no es consultable mediante LINQ).</li>
</ul>
<p>En este post os voy a mostrar el segundo punto y como superar algunas limitaciones a trabajar con objetos de tipo List&#60;SPListItem&#62;. Lo pasos iniciales que he seguido son los siguientes:</p>
<ul>
<li>Añadir unos datos de prueba a una lista tipo Links de SharePoint.
<li>Crear un proyecto de aplicación de consola de Visual Studio 2008.
<li>Añadir la referencia a Windows SharePoint Services 3.0. </li>
</ul>
<table cellspacing="0" cellpadding="2" width="750" border="0">
<tbody>
<tr>
<td valign="top" width="250"><a href="http://jcgonzalezmartin.files.wordpress.com/2008/09/image1.png"><img style="border-width:0;" height="110" alt="image" src="http://jcgonzalezmartin.files.wordpress.com/2008/09/image-thumb1.png" width="244" border="0"></a></td>
<td valign="top" width="250"><a href="http://jcgonzalezmartin.files.wordpress.com/2008/09/image2.png"><img style="border-width:0;" height="167" alt="image" src="http://jcgonzalezmartin.files.wordpress.com/2008/09/image-thumb2.png" width="244" border="0"></a></td>
<td valign="top" width="250"><a href="http://jcgonzalezmartin.files.wordpress.com/2008/09/image3.png"><img style="border-width:0;" height="210" alt="image" src="http://jcgonzalezmartin.files.wordpress.com/2008/09/image-thumb3.png" width="244" border="0"></a></td>
</tr>
</tbody>
</table>
<ul>
<li>En el código de la aplicación de consola, añadiremos las referencias necesarias para poder utilizar objetos de SharePoint por un lado, así como colecciones genéricas por otro.</li>
</ul>
<table class="MsoTableGrid" style="border-right:medium none;border-top:medium none;border-left:medium none;border-bottom:medium none;border-collapse:collapse;" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td style="border-right:black 1pt solid;border-top:black 1pt solid;background:#d9d9d9;border-left:black 1pt solid;width:432.2pt;border-bottom:black 1pt solid;padding:0 5.4pt;" valign="top" width="576">
<p class="MsoListParagraphCxSpFirst" style="line-height:normal;margin:0;"><span style="font-size:8pt;">//Espacios de nombres necesarios</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;">using Microsoft.SharePoint;</span></p>
<p class="MsoListParagraphCxSpLast" style="line-height:normal;margin:0;"><span style="font-size:8pt;">using System.Collections.Generic;</span></p>
</td>
</tr>
</tbody>
</table>
<ul>
<li>A continuación añadimos el código necesario para poder realizar la consulta a la lista de SharePoint:
<ul>
<li>Creamos una instancia de un objeto SPSite a partir de la url de nuestro sitio SharePoint.
<li>A partir del objeto SPSite, creamos una instancia de un objeto SPWeb.
<li>A partir del objeto SPWeb, creamos una instancia de un objeto SPList especificando además que sea la lista Links.
<li>Definimos un objeto de tipo List&#60;SPListItem&#62; que si permite consultas con LINQ.
<li>Añadimos elementos al objeto List&#60;SPListItem&#62; recorriéndonos la lista origen.
<li>Realizamos una consulta LINQ.
<li>Mostramos el resultado ejecutando la consulta con un foreach (recordar que LINQ aplica evaluación diferida de consultas).</li>
</ul>
</li>
</ul>
<table class="MsoTableGrid" style="border-right:medium none;border-top:medium none;border-left:medium none;border-bottom:medium none;border-collapse:collapse;" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td style="border-right:black 1pt solid;border-top:black 1pt solid;background:#d9d9d9;border-left:black 1pt solid;width:432.2pt;border-bottom:black 1pt solid;padding:0 5.4pt;" valign="top" width="576">
<p class="MsoListParagraphCxSpFirst" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>//Acceso al sitio de SharePoint</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>SPSite spsSite = new SPSite("http://win-amr7ey1djky/");</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>SPWeb spwWeb = spsSite.OpenWeb();</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>SPList splList = spwWeb.Lists["Links"];</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;">&#160;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span><span style="font-size:8pt;">//Construimos un objeto que se pueda consultar con LONQ<span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span><span lang="EN-US" style="font-size:8pt;">List&#60;SPListItem&#62; lItems = new List&#60;SPListItem&#62;();</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>foreach (SPListItem splItem in splList.Items)</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>{</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>lItems.Add(splItem);</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>}</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;">&#160;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>//Consulta LINQ</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>var LinqQuery = from l in lItems</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>orderby l.Title</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>select l;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;">&#160;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span><span style="font-size:8pt;">//Visualizamos los resultados</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>Console.WriteLine("***************Resultado Consulta LINQ # 1***************");</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span><span lang="EN-US" style="font-size:8pt;">foreach (var l in LinqQuery)</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span><span style="font-size:8pt;">{</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>Console.WriteLine(l.Name);</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;">&#160;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>}<span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;">&#160;</span></p>
<p class="MsoListParagraphCxSpLast" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>Console.ReadLine();</span></p>
</td>
</tr>
</tbody>
</table>
<ul>
<li>Sin más, mostramos el resultado:</li>
</ul>
<p align="center"><a href="http://jcgonzalezmartin.files.wordpress.com/2008/09/image4.png"><img style="border-width:0;" height="123" alt="image" src="http://jcgonzalezmartin.files.wordpress.com/2008/09/image-thumb4.png" width="244" border="0"></a> </p>
<p align="left">Pero, no todo es tan bonito como parece...si os fijáis en el código, únicamente estoy mostrando la propiedad Name de la lista. <strong><em>¿Se pueden mostrar más propiedades de la lista?</em></strong> La respuesta es que sí, pero no todas...esto lo he podido comprobar gracias al intellisense de Visual Studio. Por ejemplo, para esta lista no se muestra información como el usuario creador del ítem, la fecha de modificación, etc.</p>
<p align="center"><a href="http://jcgonzalezmartin.files.wordpress.com/2008/09/image5.png"><img style="border-width:0;" height="146" alt="image" src="http://jcgonzalezmartin.files.wordpress.com/2008/09/image-thumb5.png" width="244" border="0"></a> </p>
<p>Entonces, <strong><em>¿mi gozo en un pozo?</em></strong> La respuesta es que sí y que no...sí, porque no tengo accesibles todas las propiedades de manera indirecta, pero no porque si las tengo accesibles indirectamente gracias a que el objeto que almacena el resultado de la consulta LINQ ofrece una propiedad Xml en la que tenemos todos los campos de la lista de SharePoint...absolutamente todos. El código para comprobarlo es el siguiente:</p>
<table class="MsoTableGrid" style="border-right:medium none;border-top:medium none;border-left:medium none;border-bottom:medium none;border-collapse:collapse;" cellspacing="0" cellpadding="0" border="1">
<tbody>
<tr>
<td style="border-right:black 1pt solid;border-top:black 1pt solid;background:#d9d9d9;border-left:black 1pt solid;width:432.2pt;border-bottom:black 1pt solid;padding:0 5.4pt;" valign="top" width="576">
<p class="MsoListParagraphCxSpFirst" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>Console.WriteLine("***************Resultado Consulta LINQ # 2***************");</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span></span><span lang="EN-US" style="font-size:8pt;">foreach (var l in LinqQuery)</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>{</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>Console.WriteLine(l.Xml);</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;">&#160;</span></p>
<p class="MsoListParagraphCxSpMiddle" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>}</span></p>
<p class="MsoListParagraphCxSpLast" style="line-height:normal;margin:0;"><span lang="EN-US" style="font-size:8pt;"><span>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </span>Console.ReadLine();</span><span style="font-size:8pt;"></span></p>
</td>
</tr>
</tbody>
</table>
<p>Y el resultado que se visualiza por pantalla es:</p>
<p align="center"><a href="http://jcgonzalezmartin.files.wordpress.com/2008/09/image6.png"><img style="border-width:0;" height="244" alt="image" src="http://jcgonzalezmartin.files.wordpress.com/2008/09/image-thumb6.png" width="236" border="0"></a> </p>
<p align="left">Por lo tanto, tengo toda la información de cada ítem de la lista...en formato Xml, pero esto es tratable...con lo que lo tengo todo. Y hasta aquí llega este post sobre SharePoint y LINQ. Espero que os haya resultado interesante.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[SharePoint and SQL schemas]]></title>
<link>http://alexangas.wordpress.com/?p=41</link>
<pubDate>Wed, 03 Sep 2008 15:57:17 +0000</pubDate>
<dc:creator>Alex</dc:creator>
<guid>http://alexangas.wordpress.com/?p=41</guid>
<description><![CDATA[I&#8217;m just under two weeks away from installing the infrastructure update to a production enviro]]></description>
<content:encoded><![CDATA[<p>I'm just under two weeks away from installing the infrastructure update to a production environment. But of course these things need testing first so I started the install on the development environment. Thing's went hairy for a while...</p>
<p>First I must admit I'm not running the update as the service account, <a href="http://technet.microsoft.com/en-us/library/cc671413.aspx">recommended by Microsoft</a>. This is because I'm working in a locked down environment where trying to get the permission to do this requires a lot of questions, moaning and red tape. However both my account and the service account (there's only one service account in use here) are local administrators.</p>
<p>The log file pointed to by the SharePoint Configuration Wizard contains this ever so helpful line: "An exception of type Microsoft.SharePoint.PostSetupConfiguration.PostSetupConfigurationTaskException was thrown.  Additional exception information: Failed to upgrade SharePoint Products and Technologies." However, with a little more digging there are details located at C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\LOGS. (This isn't actually the folder where I have directed diagnostic logs to, but for the purposes of an upgrade it seems SharePoint sometimes redirects it!) The logs contain errors over the several times I tried to upgrade...</p>
<p>Upgrade.log:</p>
<ul>
<li>SqlException: The default schema does not exist.</li>
<li>SqlException: Cannot find the object 'MFN_Epm_GetAllCustomFieldsInformation', because it does not exist or you do not have permission.</li>
<li>SqlException: Cannot drop the function 'dbo.MFN_Epm_GetAllCustomFieldsInformation', because it does not exist or you do not have permission.</li>
</ul>
<p>Then in the ULS logs:</p>
<ul>
<li>The schema version (3.1.4.0) of the database SharePoint_AdminContent on server_x is not consistent with the expected database schema version (3.1.5.0) on server_x.  Connections to this database from this server have been blocked to avoid data loss.  Upgrade the web front end or the content database to ensure that these versions match.</li>
<li>SqlException: Cannot find the user 'DOMAIN\myusername', because it does not exist or you do not have permission.</li>
<li>Queue unable to interact with SQL. Queue type (Project Queue, Timesheet Queue etc): ProjectQ Exception: Microsoft.Office.Project.Server.BusinessLayer.Queue.QueueSqlException: PeriodicTasks failed ---&#62; System.Data.SqlClient.SqlException: Invalid object name 'MSP_QUEUE_RENDEZVOUS'.</li>
</ul>
<p>It appears that I don't have permission to the databases. However, my account is db_owner on every database The service account permissions haven't been changed. What's going on?!! It turns out the root of the cause was described this exception: <strong>The default schema does not exist</strong>.</p>
<p>I don't know a great deal about the schema feature introduced with SQL 2005, however with every user added to a SQL 2005 box, an accompanying schema with the same name is also created. A colleague of mine who was doing some spring cleaning on our databases removed the schema for our service account, however the service account's SQL user was still trying to use it as its default schema! The solution was to change the schema to <strong>dbo</strong>.</p>
<p>Unfortunately the upgrade still didn't quite complete since I was part of the way through the upgrade when it fell over... I also had to create a fake MFN_Epm_GetAllCustomFieldsInformation function in the Reporting database so the upgrade could find and drop it (fortunately replaced with the new version in the upgrade).</p>
<p>It was a big relief that this ended up working. The downside is that my user account and a schema for it have been created on the database server. It can't be removed right now because the new database objects that come with the update have my schema set as their owner! Now I have to change them all...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[...interessante Kontakte...]]></title>
<link>http://controllingthemes.wordpress.com/?p=286</link>
<pubDate>Wed, 03 Sep 2008 14:17:00 +0000</pubDate>
<dc:creator>"Consultant"</dc:creator>
<guid>http://controllingthemes.wordpress.com/?p=286</guid>
<description><![CDATA[&#8230;sowohl alte wie auch neue habe ich heute, am ersten Tag der It Trends in der Medizin gemacht.]]></description>
<content:encoded><![CDATA[<p>...sowohl alte wie auch neue habe ich heute, am ersten Tag der It Trends in der Medizin gemacht. Ich habe meinen ehemaligen Chef von der APB Unternehmensberatung, mittlerweile <a href="http://adveris.de/front_content.php?idcat=2" target="_blank">Adversis</a>, Herrn <a href="https://www.xing.com/profile/Michael_Greiling" target="_blank">Prof Dr. rer. oec. Michael <span class="hl-value">Greiling,</span></a> der mittlerweile Lehrstuhlinhaber an der FH Gelsenkirchen ist und dort das <a href="http://www.iwig-institut.de/dt/" target="_blank">IWIG </a>leitet, wiedergetroffen. Es war interessant zu hören, wie weit er mittlerweile im Bereich der Prozessoptimierung im Krankenhaus ist. Wir werden nächste Woche telefonieren, ggf. können wir ihm bei einem konkreten Projekt helfen.</p>
<p>Weiterhin habe ich Herrn Dr. Thomas Lux von der Ruhr Uni Bochum getroffen, der dort am <a href="http://134.147.68.66/olap/olap.nsf/mainframe?OpenFrameSet&#38;Frame=mitte&#38;Src=%2F__c12569b300377905.nsf%2Fdd64b176c8f20ddac12569f1005486f8%3FOpenPage" target="_blank">Competence Centrum für Data Warehouse und Business Intelligence</a> arbeitet. Mit ihm habe ich lange über Problem von BI Lösungen im Krankenhaus gesprochen und wir haben uns über Microsoft BI Produkte und die Forschungsschwerpunkte des Competence Centrum unterhalten. Ich denke ich werde  mich nächste Woche auch bei Ihm einmal melden und schauen, ob wir hier vielleicht konkret zusammenarbeiten können, oder einen Erfahrungsaustausch anstoßen können.</p>
<p>Ich bin gespannt, was der morgige Tag so bringen wird...</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Chrome and SharePoint (Summary)]]></title>
<link>http://sharepointkb.wordpress.com/?p=163</link>
<pubDate>Wed, 03 Sep 2008 13:04:23 +0000</pubDate>
<dc:creator>rharbridge</dc:creator>
<guid>http://sharepointkb.wordpress.com/?p=163</guid>
<description><![CDATA[Hello Everyone,
So I have decided to just list my observations good and bad with Google Chrome, let ]]></description>
<content:encoded><![CDATA[<p>Hello Everyone,</p>
<p>So I have decided to just list my observations good and bad with Google Chrome, let me preface this with the fact I am very happy with how close to Firefox google chrome is, but that IE and even firefox are still better (at this early stage) than google chrome is for SharePoint.</p>
<p><strong>The Nutshell:</strong> From an anonymous user and a web browsing perspective Google Chrome does everything you could want it to do. I didn't even see a single obvious styling issue (from anonymous perspective) with all of the SharePoint internet facing websites I have worked on.</p>
<p><strong>The Cons:</strong></p>
<ul>
<li>Clicking a file results in a "Save to" scenario instead of opening it in client applications.</li>
<li>"Edit in" menu option results in a Windows SharePoint Services message asking for IE 6.0 or greater.</li>
<li>Supports only single upload, not multiple upload in document libraries.</li>
<li>Rich Text Controls (Content Editor and Page Editor) only display an HTML box.</li>
<li>No drag and drop support for web parts.</li>
<li>Minor styling things like the My Links shifting up and some tiny pixel like differences that I noticed.</li>
<li>MySites also show some more styling differences - Personally the image being partly out of the left box made me snicker.</li>
<li>No Edit in Datasheet for Lists and Libraries.</li>
<li>No Open with Windows Explorer for Libraries.</li>
</ul>
<p><strong>The Pros:</strong></p>
<ul>
<li>Speedy javascript. (Similar to firefox in terms of speed for JavaScript rendering).</li>
<li>Love the "Create Application Shortcut" feature. Allows you to basically create desktop, start menu, or quicklaunch short cuts. These even open up in a sort of 'full screen view', which is pretty nice looking (and saves time).</li>
<li>It's in Beta still.</li>
</ul>
<p>That's what I have for now, I will try to keep this updated if I notice anything else.</p>
<p>Take Care,<br />
Richard Harbridge</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Reduce Tape Restoration with TimeData Operational Recovery Part 1]]></title>
<link>http://doubletakesoftware.wordpress.com/?p=161</link>
<pubDate>Wed, 03 Sep 2008 13:02:05 +0000</pubDate>
<dc:creator>brennels</dc:creator>
<guid>http://doubletakesoftware.wordpress.com/?p=161</guid>
<description><![CDATA[Have you ever accidently deleted an e-mail or worse yet an entire mailbox and wished you had it back]]></description>
<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Have you ever accidently deleted an e-mail or worse yet an entire mailbox and wished you had it back? How about you were the one that opened the virus contaminated e-mail that spread throughout your organization, on your behalf? In these times you wish for something straight out of a H.G. Wells novel. A time machine that allows you to go back to that exact point in time right before you clicked that button. The good news is you don’t need a time machine to perform point in time operational recovery. Continuous data protection products like TimeData do exactly that. Double-Take has combined the best in real-time asynchronous replication with operational recovery to be able to not only protect in the event of nature disasters but those disasters that occur by users or and accidental whoops action of a data center staff.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">Why Do I Need It?</span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Over the years I have had to many customers ask me questions about operational recovery.</span></p>
<ul>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">What if I corrupt a database table? </span></div>
</li>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">What if I get a virus? </span></div>
</li>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">What if I only need one file or a revision before the final version?</span></div>
</li>
</ul>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">The truth is that business continuity does not translate into operational recovery or necessarily provide the option to recover at a very granular level. Business continuity is designed to resume business operations to a functional level in the event of a site wide disaster. You wouldn’t be implementing your BCP plans if you had a server failure or met the requirements from one of the questions listed above. In that case you would probably be restoring from your local back up copy which would likely be on tape if anything. And we all know what that restoration process looks like. Roll the dice, and ask yourself the questions.</span></p>
<ul>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:8pt;font-family:Wingdings;"><span><span style="font-family:'Times New Roman';"> </span></span></span><span style="font-size:small;font-family:Times New Roman;">Is the data there? </span></div>
</li>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Can it be restored? </span></div>
</li>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">And how long before I have that server up and operational?</span></div>
</li>
</ul>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Tape does what it is designed to but the effort involved with actually acquiring the tape and then restoring it is often tedious work at best. However, it does serve a purpose for those extensive archiving requirements defined by industry regulations such as HIPPA, SEC and or other Sarbanes Oxley requirements.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Here are a few options that you have available using TimeData to provide that TiVo® like operational recovery at a granular scale with out needing to restore from tape for everytime a user deletes a file.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><strong><span style="text-decoration:underline;"><span style="font-size:small;"><span style="font-family:Times New Roman;">TimeData Local Recovery Design</span></span></span></strong></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">The first design includes the TimeData repository at the primary facility to easily retrieve data whenever needed. Double-Take is then also used to replicate the primary servers offsite to the disaster recovery facility. This solution design gives you the best of both worlds with local operation al recovery as well as offsite availability in the event of a site wide disaster. Below is an example of the design configuration:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
[caption id="attachment_162" align="aligncenter" width="300" caption="Time Data Local Recovery Architecture"]<a href="http://doubletakesoftware.files.wordpress.com/2008/09/timedata-local-recovery.png"><img class="size-medium wp-image-162 " src="http://doubletakesoftware.wordpress.com/files/2008/09/timedata-local-recovery.png?w=300" alt="Time Data Local Recovery Architecture" width="300" height="208" /></a>[/caption]
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">For more information Marc LaFlure, TimeData Product Manager, will be presenting an in-depth look on how to use TimeData for operational recover and how to reduce tape restoration for business critical servers. Register </span><a href="https://www302.livemeeting.com/lrs/1100000418/Registration.aspx?PageName=7zm2fm5swpb0bz5l"><span style="font-size:small;color:#800080;font-family:Times New Roman;">here</span></a><span style="font-size:small;font-family:Times New Roman;"> for the Sept 4<sup>th</sup> webinar at 11am EST.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times New Roman;">Stay tuned for part 2 of this TimeData Operational Recovery post.</span></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Modify WSS content under the System credentials]]></title>
<link>http://butaji.wordpress.com/?p=202</link>
<pubDate>Wed, 03 Sep 2008 07:24:45 +0000</pubDate>
<dc:creator>butaji</dc:creator>
<guid>http://butaji.wordpress.com/?p=202</guid>
<description><![CDATA[Чтобы изменять контент WSS через API под системными права]]></description>
<content:encoded><![CDATA[<p>Чтобы изменять контент WSS через API под системными правами (от имени аккаунта "SharePoint\system"). Необходимо выполнить статический метод класса SPSecurity, RunWithElevatedPrivileges, принимающего как параметр делегат с необходимым для исполнения кодом.</p>
<p>SPSecurity.RunWithElevatedPrivileges(delegate()<br />
{<br />
// Code runs as the "SharePoint\system" user<br />
});</p>
<p>Ещё одним важным замечанием является то, что SPSite необходимо инициировать внутри делегата, для достижения необходимого эффекта, если он будет инициализирован снаружи, то выполнение данного метода не даст никаких изменений.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Forecasting the Future of Documentum and SharePoint]]></title>
<link>http://wordofpie.wordpress.com/2008/09/02/forecasting-the-future-of-documentum-and-sharepoint/</link>
<pubDate>Wed, 03 Sep 2008 02:08:32 +0000</pubDate>
<dc:creator>Pie</dc:creator>
<guid>http://wordofpie.wordpress.com/2008/09/02/forecasting-the-future-of-documentum-and-sharepoint/</guid>
<description><![CDATA[I look at the numbers.  I know that I get a bump in readership just by using the workword SharePoin]]></description>
<content:encoded><![CDATA[<p>I look at the numbers.  I know that I get a bump in readership just by using the <span style="text-decoration:line-through;">work</span>word SharePoint.  It also happens to be a vital issue to the Documentum world.  Aside from the future of <a href="http://developer-beta.emc.com/community/labs/kw">CenterStage</a> vs. SharePoint, which is a non-starter until we see a non-beta CenterStage, there is this simple fact.  People are adopting SharePoint and are looking for help more and more often.  This can be in the way of services, but can also be from and enhanced architecture created with the help of Documentum.</p>
<p>Well, we've been patient, and <a href="http://nevertalkwhenyoucannod.com/">Andrew</a> has begun to share some of his thinking with us.  Andrew Chapman is a great person and lets his sense of humor show in his blog.  If you don't find it funny, you are doomed in the ECM world.  If there is any field that requires a sense of humor, it is <a href="http://bmoc.wordpress.com/2008/08/05/the-ecm-architects-creed/">ECM</a>.</p>
<h4>A Long Term Strategy</h4>
<p>It has been said <a href="http://wordofpie.wordpress.com/2008/02/18/embracing-sharepoint-recipe-for-death/">here</a>, and <a href="http://bmoc.wordpress.com/2008/02/14/warning-to-cms-vendors-sharepoint-doesnt-need-you/">elsewhere</a>, that for the ECM vendors to survive SharePoint, they can't just offer architectural support.  They need to offer value that transcends performance and scalability.  Microsoft will eventually solve the problem and then what will the vendors do to coexist?  Well, last week Andrew <a href="http://nevertalkwhenyoucannod.com/2008/08/26/sharepoint-archiving--rbs-vs-ebs-vs-content-transfer-vs-shortcuts.aspx">started talking about the additional value that can be gained from combining SharePoint and an ECM system</a>.</p>
<p>Andrew framed it fairly well.  While I don't think he place enough emphasis on the workflow and lifecycle benefits of placing content in an underlying system, he does get several benefits across:</p>
<ul>
<li>Hierarchical Storage Management: Store it cheaply when it is old and on expensive, fast performing, storage when it is young.  That simplifies it, but that is the gist.</li>
<li>eDiscovery: Fancy word for the intersection of retention and search.  Okay, there is a little more than that, but it is something that resonates with businesses and that can lead to real ROI.</li>
<li>Performance: Hey, while you gain all of these benefits, things will happen to start working faster now, not with the next two or three releases of SQL Server and/or SharePoint.</li>
</ul>
<p>The performance goes from being the reason to a beneficial side effect.  That is a GREAT approach.  That puts things into the terms of an arms race that ECM vendors might possibly win.</p>
<p>Let us not forget, this solution should be transparent to the user, or as Andrew put it, non-invasive.</p>
<h4>What is Coming?</h4>
<p>If you have read Andrew's blog in the past, just reading the entry will give you a good idea.  The goal is to provide ECM functionality transparently to the user.  He mentions a few technologies and will be debating the merits of them in future posts.</p>
<p>I've actually talked to Andrew about the future about a month ago.  While I can't share anything specific, aside from telling you to read his posts and apply some brain power, I can tell you that it is very exciting.  I am excited, as are a couple of others in my organization that will remain nameless to protect them from the inquisition.  If you want to know, keep reading Andrew's blog and then do some research of your own.</p>
<p>I will say that the plans do not eliminate the need for the slew of products that are out there, both EMC and partner products.  Those are still complementary.  This approach just answers almost all of my challenges to the SharePoint products that I put to him at EMC World.  That is quite a feat as I can be quite annoying with questions about security and transparency.</p>
<p>I am forecasting good things in the upcoming future for those that use both Documentum and SharePoint.  Sooner would be better than later, but sometimes predicting software development is imprecise at best.</p>
<p>Time for some more <a href="http://wordofpie.wordpress.com/2008/06/12/sharepoint-and-documentum-patience-is-a-virtue/">patience</a>.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Google Chrome + SharePoint]]></title>
<link>http://grumpywookie.wordpress.com/2008/09/03/google-chrome-sharepoint/</link>
<pubDate>Tue, 02 Sep 2008 22:15:54 +0000</pubDate>
<dc:creator>Chris</dc:creator>
<guid>http://grumpywookie.wordpress.com/2008/09/03/google-chrome-sharepoint/</guid>
<description><![CDATA[Lots of excitement and buzz on the interwebs this morning, with the release of the new Google Chrome]]></description>
<content:encoded><![CDATA[<p>Lots of excitement and buzz on the interwebs this morning, with the release of the new Google Chrome web browser.</p>
<blockquote><p>Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
<p>Click <a target="_blank" href="http://www.google.com/chrome">here</a> to download.</p>
</blockquote>
<p>Flying in the face of all the high-tech demo's, video's and animations, Google instead announced Google Chrome - and essentially a "white paper" - using a comic book format.</p>
<blockquote><p><a target="_blank" href="http://grumpywookie.files.wordpress.com/2008/09/image2.png"><img style="border-bottom:0;border-left:0;border-top:0;border-right:0;" border="0" alt="image" src="http://grumpywookie.files.wordpress.com/2008/09/image-thumb2.png" width="354" height="201"></a> </p>
<p>Click <a target="_blank" href="http://www.google.com/googlebooks/chrome/">here</a> to see the full comic (30+ pages).&#160; </p>
</blockquote>
<p>The comic details how the browser has been written from the ground-up, using a different memory management model (one process per tab - not just a new 'thread') - and that it's Open Source also !&#160;&#160;&#160; </p>
<p>I'm only just starting to have a look/play with it - but seems very fast, and will be a decent match-up to <a target="_blank" href="http://www.microsoft.com/windows/internet-explorer/beta/">Internet Explorer 8</a> (Beta 2 just been released).&#160; And also needs to be as good as, if not better, than <a target="_blank" href="http://www.mozilla.com/en-US/firefox/">Firefox 3</a> (Mozilla).</p>
<p>For those who use SharePoint - how does the new Google Chrome browser stack-up ?&#160;&#160;&#160; <a target="_blank" href="http://weblogs.asp.net/erobillard/default.aspx">Eli Robillard</a> has a post about SharePoint - with the conclusion that it "works for users" - but less so for administrators.</p>
<blockquote><p>Today I downloaded and installed the just-released <a href="http://tools.google.com/chrome/">Google Chrome</a> browser, ran it through some preliminary tests with SharePoint 2007 and so far, acceptable but missing a few key things. </p>
<p>Chrome supports NTLM authentication, uploads (though not multiple uploads), renders all the usual menus correctly, and generally does a good job of rendering SharePoint pages. And it's screaming fast.</p>
<p>Conclusion: not bad for an initial beta, but when you write anything from the ground up in a mature industry you can expect several releases to get the important parts right.</p>
<p>Source : <a href="http://weblogs.asp.net/erobillard/archive/2008/09/02/google-chrome-works-for-sharepoint-users-less-so-for-administrators.aspx">Eli Robillard's World of Blog.</a> </p>
</blockquote>
<p><font color="#999999">With that in mind, I'll have to try out some of the new features in Google Chrome - and see what the "developer tools" are like.</font></p>
<p><font color="#999999">It will be hard to beat "FireBug" in FireFox - and "IE Dev ToolBar" in Internet Explorer.</font></p>
<p><font color="#999999">But - some less than "flattering" ho-hum reactions from people like <a target="_blank" href="http://www.winsupersite.com/">Paul Thurrott</a> :</font></p>
<blockquote><p>What we've really got here is an example of Google pulling a Microsoft: Creating an unnecessary me-too product that they can use for product tie-ins. All of the features here are present in exisiting browsers, all of them. So what does Google really bring to the table? Not much, it seems.</p>
<p>Source : <a target="_blank" href="http://community.winsupersite.com/blogs/paul/archive/2008/09/01/it-s-real-google-to-launch-web-browser-tomorrow.aspx">It's real: Google to launch Web browser tomorrow</a></p>
</blockquote>
<p>And this article :</p>
<blockquote><p>Is there anything original in Google Chrome?</p>
<p>Most of the features look like "me-too", but then, that's what some people thought about Gmail....</p>
<p>As with Gmail, Chrome may be a big hit if it's brilliantly executed, especially given Firefox's general crashiness and bad memory leaks (which, to be fair, used to be part of IE too). But if it's more like Google Base, Knol, Orkut, Froogle and similar rubbish, it may not catch on.</p>
<p>Source : <a target="_blank" href="http://blogs.guardian.co.uk/technology/2008/09/02/is_there_anything_original_in_google_chrome.html">Is there anything original in Google Chrome?</a></p>
</blockquote>
<p>Will have to try it out and see - expect to see some "chroming" in the office place today !&#160;&#160;&#160; (and no - not the "inhaling fumes from spray-paint-cans" way !)</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Hide Content or Controls Based on Permissions]]></title>
<link>http://sharepointkb.wordpress.com/?p=158</link>
<pubDate>Tue, 02 Sep 2008 19:17:17 +0000</pubDate>
<dc:creator>rharbridge</dc:creator>
<guid>http://sharepointkb.wordpress.com/?p=158</guid>
<description><![CDATA[One of the little controls SharePoint possesses that gets missed often is the SPSecurityTrimmedContr]]></description>
<content:encoded><![CDATA[<p>One of the little controls SharePoint possesses that gets missed often is the SPSecurityTrimmedControl (http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.spsecuritytrimmedcontrol.aspx) which is a wonderful little thing that actually hides whatever the content is based on the permissions you define.</p>
<p>As an example I can hide controls or content from anonymous users, and show them for logged in users using the following code:</p>
<p class="libCScode"><span style="color:#800080;"><span style="color:#0000ff;">&#60;</span>SharePoint:SPSecurityTrimmedControl<span style="color:#ff0000;"> </span></span><span style="color:#ff0000;">ID</span><span style="color:#0000ff;">=”SPSecurityTrimmedControlID″</span><br />
<span style="color:#ff0000;">PermissionsString</span><span style="color:#0000ff;">=”BrowseDirectories”</span> <span style="color:#ff0000;">runat</span><span style="color:#0000ff;">=”server”&#62;</span><br />
<span style="color:#0000ff;">&#60;</span><span style="color:#800080;">DIV</span><span style="color:#0000ff;">&#62;</span>THIS TEXT IS HIDDEN UNLESS YOU ARE LOGGED IN<span style="color:#0000ff;">&#60;/</span><span style="color:#800080;">DIV</span><span style="color:#0000ff;">&#62;</span><br />
<span style="color:#0000ff;">&#60;/</span><span style="color:#800080;">SharePoint:SPSecurityTrimmedControl</span><span style="color:#0000ff;">&#62;</span></p>
<p>This results in the DIV control and it's contents only being displayed to users who have the BrowseDirectories Permission.</p>
<p>There are many ways this can be used from hiding navigation items, to the hiding the Sign In link effectively.</p>
<p>The permissions you can select and use for this control can be found here: <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spbasepermissions.aspx</a></p>
<p>Hope this helps,<br />
Richard Harbridge</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[MOSS 2007 con SQL 2008]]></title>
<link>http://mgiulian.wordpress.com/?p=8</link>
<pubDate>Tue, 02 Sep 2008 14:01:39 +0000</pubDate>
<dc:creator>errakis</dc:creator>
<guid>http://mgiulian.wordpress.com/?p=8</guid>
<description><![CDATA[Confermata la compatibilità ed il supporto a far eseguire Microsoft Office System Server 2007 su pi]]></description>
<content:encoded><![CDATA[<p>Confermata la compatibilità ed il supporto a far eseguire Microsoft Office System Server 2007 su piattaforma Microsoft Windows server 2008 e servizi Microsoft SQL Server 2008</p>
<p>maggiori informazioni le trovate presso il <a id="ctl00___ctl00___bth___BlogTitle" class="headermaintitle" href="http://mgiulian.wordpress.com/sharepoint/default.aspx">Microsoft SharePoint Team Blog</a></p>
<p>ed informazioni di dettaglio</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Customize ItemStyle.xsl for ContentQuery Webpart]]></title>
<link>http://panvega.wordpress.com/?p=16</link>
<pubDate>Tue, 03 Jun 2008 19:27:35 +0000</pubDate>
<dc:creator>spanvega</dc:creator>
<guid>http://panvega.wordpress.com/?p=16</guid>
<description><![CDATA[If you want to preserve the look and feel of a Web page by applying certain custom styles to the pag]]></description>
<content:encoded><![CDATA[<p>If you want to preserve the look and feel of a Web page by applying certain custom styles to the page content by including a WepPart, you can change the definition of style sheets "<strong>ItemStyles.xsl</strong>" without affecting the page content in the future.You find the file in under your domain/Style Library/XSL Style Sheets. Open the file in an editor of choice (eg. Microsoft Office SharePoint Designer). Next check it out to be able to make changes to the file.</p>
<p>Using the Content Query Web Part you can display a dynamic view of content from your site on a web page. The web part can be configured to retrieve items from a single list, a single site and subsites or the entire site collection. It builds a CAML (Collaborative Application Markup Language) query and uses the new Microsoft.SharePoint.SPSiteDataQuery class to query the server. Filtering, sorting, ordering and grouping can all be configured in the Web Part properties.</p>
<p>The approach to use if you are using a different style than the out of the box style is to deploy your own .<strong>webpart </strong>of the <strong>Content Query Web Part</strong> that references a different style sheet than the ItemStyle.xsl file. A Content Query Web Part displays a dynamic view of content on a page in your Microsoft Office SharePoint Server 2007 site. The Web Part runs a query that can span lists and sites in your site collection, and then presents the results of that query on the page. You can, for example, use this Web Part to display the five most recently published articles in your Web site, regardless of where they are stored.</p>
<p>Now edit the the template like you normaly do XSLT formating. I also included for example a JS funktion in the Style for custom Window Popup configuration.</p>
<p>Here is an example:</p>
<p>&#60;xsl:template name="Name" match="Row[@Style='Name']" mode="itemstyle"&#62;<br />
&#60;xsl:variable name="SafeLinkUrl"&#62;<br />
&#60;xsl:call-template name="OuterTemplate.GetSafeLink"&#62;<br />
&#60;xsl:with-param name="UrlColumnName" select="'LinkUrl'"/&#62;<br />
&#60;/xsl:call-template&#62;<br />
&#60;/xsl:variable&#62;<br />
&#60;xsl:variable name="DisplayTitle"&#62;<br />
&#60;xsl:call-template name="OuterTemplate.GetTitle"&#62;<br />
&#60;xsl:with-param name="Title" select="@Title"/&#62;<br />
&#60;xsl:with-param name="UrlColumnName" select="'LinkUrl'"/&#62;<br />
&#60;/xsl:call-template&#62;<br />
&#60;/xsl:variable&#62;<br />
&#60;xsl:variable name="LinkTarget"&#62;<br />
&#60;xsl:if test="@OpenInNewWindow = 'True'" &#62;_blank&#60;/xsl:if&#62;<br />
&#60;/xsl:variable&#62;<br />
&#60;div&#62;<br />
&#60;tr&#62;<br />
&#60;td id="linkitem" class="item link-item"&#62;<br />
&#60;a href="" target="_blank" onclick="javascript:customPopup('{$SafeLinkUrl}');return false;"&#62;<br />
&#60;xsl:value-of select="$DisplayTitle"/&#62; -<br />
&#60;xsl:value-of select="@Name_x005F_x0020_Year" /&#62;<br />
(&#60;xsl:value-of select="@Languages" /&#62;, &#60;xsl:value-of select="@Document_x005F_x0020_Type" /&#62;)<br />
&#60;/a&#62;<br />
&#60;/td&#62;<br />
&#60;/tr&#62;<br />
&#60;tr height="8px"&#62;<br />
&#60;td&#62;&#60;/td&#62;&#60;/tr&#62;<br />
&#60;script type="text/javascript"&#62;<br />
function customPopup(url)<br />
{<br />
Report = window.open(url,'Report','status=1,width=750,height=650,resizable=no,scrollbars=no');<br />
Report.moveTo(0,0);<br />
}<br />
&#60;/script&#62;<br />
&#60;/div&#62;<br />
&#60;/xsl:template&#62;</p>
<blockquote><p><em><strong>Note</strong></em>:</p></blockquote>
<blockquote><p>In the XSL file you'll find <strong>xsl:template</strong> elements for each selectable style in the Content Query Web Part style drop down. As a best practice I won’t modify any of the default styles, but rather adding my own style.</p>
<p>The easy approach is to copy the xsl:template element of the style that matches your style the most,and make alterations to it.</p>
<p>- Copy the &#60;xsl:template name="Default" match="*" mode="itemstyle"&#62;element<br />
- Change the name attribute to  	  <strong>"DetailedStyle"</strong><br />
- Change the match attribute to  	  <strong>"Row[@Style='DetailedStyle']"</strong></p></blockquote>
<p style="text-align:left;">Here you can select your template you created before. You have to add a simple CQWP to your page and select your site or list, type and aproriate Content Type. In the next step export the Webpart to your local maschine an edit the file.</p>
<p style="text-align:left;"><a href="http://panvega.wordpress.com/files/2008/09/xslt-display_2.jpg"><img class="size-full wp-image-27 aligncenter" title="xslt-display_2" src="http://panvega.wordpress.com/files/2008/09/xslt-display_2.jpg" alt="" width="278" height="332" /></a></p>
<p>By default, the XSL style sheet that controls the presentation of the Content Query Web Part renders the <strong>Title</strong>, <strong>Description</strong>, <strong>ImageUrl</strong>, and <strong>LinkUrl</strong> columns (if present) of the items the query returns. The Web Part renders the <strong>ImageUrl</strong> and <strong>LinkUrl</strong> columns as an image and as a hyperlink, respectively. The Content Query Web Part uses XSL style sheets to render these columns by default. If you want to query for custom content types and render specific columns from those content types in the Web Part, you need to perform some minor customization in the .webpart file.</p>
<p>You only have to do change the webaprt file, when you want to present your own columns in the style in adition to default values. Open the .webpart go to line &#60;property name="<strong>CommonViewFields</strong>" type="string"&#62;. Follow the instruction from this post <a title="CommonViewField Types" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldtype.aspx" target="_blank">CommonViewFiled Types</a>.</p>
<p>E.g. &#60;property name="CommonViewFields" type="string"&#62;Previews, PublishingRollupImage;FileSizeDisplay,Computed;File_x0020_Size,Lookup;Product, Choice;ProductGroup, Choice;DownloadIT, String;&#60;/property&#62;</p>
<blockquote><p><strong><em>Important Note!</em></strong></p></blockquote>
<blockquote><p>You cannot use your columns' display names in this property. You can find the internal column names by checking the properties of the column in the list or document library. Right-click the column, and then click <strong>Properties</strong>. The internal name of a column appears in the <strong>Address</strong> (URL) property after <tt>'Field='</tt>. In the Knowledge Base Articles scenario, the columns are <strong>Knowledge Base Article</strong> and <strong>Product</strong> and their internal names are KB_x0020_Title and Product, respectively.</p></blockquote>
<p>In the next step, import your new webpart file to the CQWP. Choose your custom ItemStyle in the list and thats all.</p>
<p>Read more on</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms551040.aspx">http://msdn.microsoft.com/en-us/library/ms551040.aspx</a></p>
<p><a href="http://msdn.microsoft.com/en-us/library/aa981241.aspx">http://msdn.microsoft.com/en-us/library/aa981241.aspx</a></p>
<p><a href="http://www.microsoft.com/belux/msdn/nl/community/columns/stevenvandecraen/contentquerywebpart.mspx" target="_self">http://www.microsoft.com/belux/msdn/nl/community/columns/stevenvandecraen/contentquerywebpart.mspx</a><img src="/Users/ALEXAN%7E1.PXP/AppData/Local/Temp/moz-screenshot.jpg" alt="" /><img src="/Users/ALEXAN~1.PXP/AppData/Local/Temp/moz-screenshot-2.jpg" alt="" /></p>
]]></content:encoded>
</item>

</channel>
</rss>
