<?xml version="1.0" encoding="UTF-8"?><!--RSS generated by Windows SharePoint Services V3 RSS Generator on 2/22/2012 8:15:26 PM--><?xml-stylesheet type="text/xsl" href="/websites/spblog/_layouts/RssXslt.aspx?List=d51383ba-7c1d-496d-aba6-7b07d4791ec3" version="1.0"?><rss version="2.0"><channel><title>SPBombshell</title><link>http://www.dataone.de/websites/spblog</link><description>RSS feed for the Posts list.</description><lastBuildDate>Wed, 22 Feb 2012 19:15:26 GMT</lastBuildDate><generator>SharePoint CKS:EBE</generator><ttl>60</ttl><image><title>SPBombshell</title><url>http://www.dataone.de/websites/spblog/_layouts/images/homepage.gif</url><link>http://www.dataone.de/websites/spblog</link></image><item><title>Blog has been discontinued</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2009/11/02/blog-has-been-discontinued.aspx</link><guid>/websites/spblog/archive/2009/11/02/blog-has-been-discontinued.aspx</guid><description><![CDATA[This blog has been discontinued in favor of an aggregation over a number of blogs from our developers and consultants, which can be found here: 
<a href="http://www.dataone.de/de/unternehmen/Seiten/blogaggregator.aspx">
http://www.dataone.de/de/unternehmen/Seiten/blogaggregator.aspx</a>
<br><br>
This additional variety will provide you with even more information about SharePoint and other .NET-related topics.
<br>
Thank you very much for your understanding.]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\mab</dc:creator><pubDate>Mon, 02 Nov 2009 09:32:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Data One/default.aspx">Data One</category></item><item><title>New in Nintex Workflow 2007: Inline Functions</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2009/04/16/new-in-nintex-workflow-2007-inline-functions.aspx</link><guid>/websites/spblog/archive/2009/04/16/new-in-nintex-workflow-2007-inline-functions.aspx</guid><description><![CDATA[<p>With the latest build Nintex added again lots of new features. Besides the product now supports multilingual user interfaces, it also offers the possibility to use inline functions. These functions focus on manipulating and formatting string and date values and are mostly clones of existing functions known from the .net Framework. You can use the functions in any inputbox within the Nintex Workflow Designer, see the example below.
</p><p><img src="http://www.dataone.de/websites/spblog/Lists/Photos/041609_1025_NewinNintex1.png" alt="">
	</p><p>This is how it works:
</p><p><em>"The parsing engine first replaces any inserted reference tokens, and then the resulting text is evaluated for functions. If a function contains another function as an argument, the inner most function will be evaluated first. As reference tokens are replaced first, the reference token can also contain function syntax that will be evaluated. If text contains function syntax (i.e. a brace or comma character) but is not intended to be interpreted by the parser, wrap the text with {TextStart} and {TextEnd} markers to inform the parser that the block should only be treated as text and not evaluated. For example, if a number variable that contains a decimal value is passed to the function, and the decimal separator for your region is a comma, the {TextStart} and {TextEnd} tokens will need to be used."
</em></p><p>The current build [10903] supports the following functions:
</p><div><table style="border-collapse:collapse" border="0"><colgroup><col style="width:268px"><col style="width:373px"></colgroup><tbody valign="top"><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  solid black 0.5pt; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p><strong>Function </strong></p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  solid black 0.5pt; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p><strong>Description</strong></p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-FormatDate</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Represents a date time value in text of a specific format.<br>Information on how to format the value can be found on this page: <a href="http://msdn.microsoft.com/en-us/library/az4se3k1.aspx">Standard Date and Time Format Strings</a> and this page <a href="http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx">Custom Date and Time Format Strings</a>.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Currency</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Represents a numeric value as a currency formatted text.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Substring</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Extracts a portion of text from a string.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Replace</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Replaces a section of text in a larger string.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-ToTitleCase</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Formats text in a string to title case.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-ToUpper</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Formats text in a string to all upper case.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-ToLower</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Formats text in a string to all lower case.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Length</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Returns the number of characters in a string.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-PadLeft</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Returns the provided string right aligned and padded to the total length with a specific character.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-PadRight</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Returns the provided string left aligned and padded to the total length with a specific character.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Remove</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Removes a section of text in a larger string.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Insert</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Adds text in to a larger string.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Trim</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Removes leading and trailing whitespace from a string</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Abs</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Returns the absolute value of a number</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Max</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Returns the greater of two numbers.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Min</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Returns the lesser of two numbers</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Round</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Rounds a decimal value to the nearest integer.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-Power</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Raises a number to the specified power.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-DateDiffDays</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Determines the number of days between two dates</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-DateDiffHours</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Determines the number of hours between two dates</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-DateDiffMinutes</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Determines the number of minutes between two dates</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-DateDiffSeconds</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Determines the number of seconds between two dates.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-XmlEncode</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Encodes a string to make it safe for viewing in html.</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-XmlDecode</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Decodes a html safe string to regular text</p></td></tr><tr><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  solid black 0.5pt; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>fn-NewGuid</p></td><td style="padding-left: 7px; padding-right: 7px; border-top:  none; border-left:  none; border-bottom:  solid black 0.5pt; border-right:  solid black 0.5pt"><p>Generate a globally unique identifier.</p></td></tr></tbody></table></div><p><br><br>That´s rich! <span style="font-family:Wingdings">J</span><br>
	</p><p>Markus<br><br><br><br></p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Thu, 16 Apr 2009 12:26:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category></item><item><title>Set user permissions for a Website with Nintex</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2009/04/08/set-user-permissions-for-a-website-with-nintex.aspx</link><guid>/websites/spblog/archive/2009/04/08/set-user-permissions-for-a-website-with-nintex.aspx</guid><description><![CDATA[<p>If you use the "Create a Site" activity with Nintex Workflow 2007, there is no way to assign detailed user permissions for the newly created site - you can only choose to either inherit the permissions from the parent site or you can manually set a single user as site owner. 
</p><p><img src="http://www.dataone.de/websites/spblog/Lists/Photos/040809_1343_Setuserperm1.jpg" alt="">
	</p><p><b>But here is the solution: Use the <a href="http://www.dataone.de/de/Loesungen/sharepointportale/Seiten/DataOnePowerActivity.aspx">Data One PowerActivity</a> and a few straightforward lines of PowerShell code to manage the user permissions and roles in detail!</b> </p><p> 
 </p><p><span style="color:purple"> $webDestination</span><span style="color:black">
		</span><span style="color:red">=</span><span style="color:black"> get-spweb </span><span style="color:maroon">"{WorkflowVariable:AbsolutURL}"</span><span style="color:black">
		</span>
	</p><p><span style="color:purple">$webDestination</span><span style="color:black">.BreakRoleInheritance(</span><span style="color:blue">$true</span><span style="color:black">) </span>
	</p><p><span style="color:purple">$roleAssignment</span><span style="color:black">
		</span><span style="color:red">=</span><span style="color:black">
		</span><span style="color:cadetblue"><strong>new-object</strong></span><span style="color:black">
		</span><span style="color:maroon">Microsoft.SharePoint.SPRoleAssignment</span><span style="color:black">
		</span><span style="color:cadetblue"><em>-argumentList</em></span><span style="color:black">
		</span><span style="color:maroon">"domain\user"</span><span style="color:black">
		</span>
	</p><p><span style="color:purple">$roleDefinition</span><span style="color:black">
		</span><span style="color:red">=</span><span style="color:black">
		</span><span style="color:purple">$webDestination</span><span style="color:black">.RoleDefinitions[</span><span style="color:maroon">"Contribute"</span><span style="color:black">] </span>
	</p><p><span style="color:purple">$roleAssignment</span><span style="color:black">.RoleDefinitionBindings.Add(</span><span style="color:purple">$roleDefinition</span><span style="color:black">) </span>
	</p><p><span style="color:purple">$webDestination</span><span style="color:black">.RoleAssignments.Add(</span><span style="color:purple">$roleAssignment</span><span style="color:black">) </span>
	</p><p><span style="color:purple">$webDestination</span><span style="color:black">.Dispose()</span>
	</p><p><span style="color:black">Insert the PowerActivity after the "Create a site" activity within the Nintex Workflow Designer canvas. Paste the PowerShell snippet into the PowerActivity. Use</span><span style="color:purple"> $webDestination</span><span style="color:black"> to set the new site's URL, which you can easily obtain from the "Create a site" activity (configuration dialog &gt; Store URL in). Set </span><span style="color:cadetblue"><em>-argumentList</em></span><span style="color:black"> and RoleDefinitions[</span><span style="color:maroon">"Contribute"</span><span style="color:black">] according to your requirements. Run your workflow and see for yourself that all permissions have been created automatically.</span>
	</p><p><span style="color:black">Regards,</span>
	</p><p><span style="color:black">Andreas</span></p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ak</dc:creator><pubDate>Wed, 08 Apr 2009 17:02:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/PowerActivity/default.aspx">PowerActivity</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Twitter Action for Nintex Workflow 2007</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2009/03/05/twitter-action-for-nintex-workflow-2007.aspx</link><guid>/websites/spblog/archive/2009/03/05/twitter-action-for-nintex-workflow-2007.aspx</guid><description><![CDATA[<p>In preparation of our slot at Basta 2009! we were thinking about a neat custom Activitiy which could be developed in a quick live coding session. The activity should be easy to understand and for demo purposes come off in a "just for fun" vibe. So, in consideration of the current hype surrounding Twitter we decided to do a tiny Twitter Action that can process Tweets, integrates TinyUrl and validates the length of the tweet. 
</p><p>Even if this project was done for "fun" you can still think of some realistic scenarios. Image you have a company account at Twitter and your Public Relations Manager wants to approve the tweets before they get send to your public timeline. Collect your tweets in custom SharePoint list (anybody could add items there) and let PR approve them. A workflow could then look like this: 
</p><p><img src="http://www.dataone.de/websites/spblog/Lists/Photos/030509_1531_TwitterActi1.png" alt="">
	</p><p>Since tweets are supposed to be current, you can build in an escalation branch (left side) to remind the manager to approve the tweet (i.e. after 1 hour). If nothing happens, we just delete the tweet from our list because it can be considered "old". 
</p><p>The configuration dialog page uses default Nintex Controls (Credential Picker &amp; Plain Text), so you can benefit from all Nintex features like item property lookups or the site credential store. 
</p><p>You can download the action <a href="http://www.dataone.de/websites/spblog/Media/Twitter_Action_for_Nintex_Workflow_2007.zip">here</a>. It´s deployed as a Site Feature and has to be activated explicitly. <br>If you are interested in the PowerPoint slides from our Basta session, the slides are available <a href="http://www.dataone.de/websites/spblog/Media/Präsentation%20Nintex.pptx">here</a>.
</p><p>Note: this is not an official project. It´s not on codeplex and there is no support or any warranties.</p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Thu, 05 Mar 2009 16:31:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category></item><item><title>Data One PowerActivity for Nintex Workflow 2007</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2009/02/23/data-one-poweractivity-for-nintex-workflow-2007.aspx</link><guid>/websites/spblog/archive/2009/02/23/data-one-poweractivity-for-nintex-workflow-2007.aspx</guid><description><![CDATA[<div><table style="border-collapse:collapse" border="0"><colgroup><col style="width:318px"><col style="width:318px"></colgroup><tbody valign="top"><tr><td style="padding-left: 7px; padding-right: 7px"><p><img src="http://www.dataone.de/websites/spblog/Lists/Photos/022309_1523_DataOnePowe1.png" alt=""></p></td><td style="padding-left: 7px; padding-right: 7px"> </td></tr></tbody></table></div><p>
 </p><p>For advanced users who want to create individual activities for Nintex Workflow 2007<br>as quickly as never before, Data One offers a one-of-a-kind tool: Data One PowerActivity.
</p><p>Data One PowerActivity features the seamless integration of arbitrary Windows PowerShell scripts with Nintex Workflows and offers additional functionalities to integrate PowerShell and SharePoint developments.
</p> <p>Use this activity to:
</p><ul style="margin-left: 90pt"><li>Look up data on different sites and site collections
</li><li>Start workflows on different lists
</li><li>Manage site permissions
</li><li>Integrate APIs
</li></ul><p>
 </p><div><table style="border-collapse:collapse" border="0"><colgroup><col style="width:425px"><col style="width:212px"></colgroup><tbody valign="top"><tr><td style="padding-left: 7px; padding-right: 7px"> <p>
 </p><p>Benefit from Nintex Workflow to automate your business processes and administrative tasks.<br>Reach your goals even faster now using Data One PowerActivity, the ideal tool for rapid development, prototypes, proof-of-concept studies and agile SharePoint development.
</p><p>If you are interested in this product you can now download a fully functional <a href="http://www.dataone.de/en/solutions/sharepointportals/Seiten/NintexWorkflowPowerActivity.aspx">30 days trial version</a>!</p> </td><td style="padding-left: 7px; padding-right: 7px"><p style="text-align: right"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/022309_1523_DataOnePowe2.png" alt=""></p></td></tr><tr style="height: 21px"><td style="padding-left: 7px; padding-right: 7px"> </td><td style="padding-left: 7px; padding-right: 7px"><p>
 </p></td></tr></tbody></table></div> ]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Mon, 23 Feb 2009 16:24:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Data One/default.aspx">Data One</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Use display names in people lookup fields</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2009/01/26/use-displaynames-in-people-lookup-fields.aspx</link><guid>/websites/spblog/archive/2009/01/26/use-displaynames-in-people-lookup-fields.aspx</guid><description><![CDATA[<p>Sometimes you need to assign values to people lookup fields when you don´t know the exact login name of that certain user. 
</p><p>In this case, you will fail assigning the plain displayname. However, there´s a small workaround to handle this problem. 
</p><p>You need to build your own "technical" lookup value in a simple text variable ("Person") and use -1 as fake user id. 
</p><p>For example in the following way: 
</p><p><img src="http://www.dataone.de/websites/spblog/Lists/Photos/012609_1610_Usedisplayn1.png" alt="">
	</p><p> 
 </p><p>You can assign "Person" now to people fields <span style="font-family:Wingdings"></span>
	</p><p>Keep in mind that you will run into trouble if there´s persons with the same name.
</p><p> 
 </p><p>Markus Alt</p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Mon, 26 Jan 2009 17:11:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category></item><item><title>The new Nintex Enterprise Features - Introduction</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2008/12/18/die-neuen-nintex-enterprise-features-einstieg.aspx</link><guid>/websites/spblog/archive/2008/12/18/die-neuen-nintex-enterprise-features-einstieg.aspx</guid><description><![CDATA[<p>Nintex added a set of new activities to the latest build of Workflow 2007, especially the enterprise version experienced a real boost. Doing so, Nintex intends to delimitate the standard and enterprise versions of the product. In the upcoming articles, I`ll give you a short breakdown on the latest additions. 
</p><p>First off, there´s a list of the new activities – we´re planning to do webcasts and real life scenarios later on. I´ll take the opportunity here and will work with the German version of Nintex Workflow 2007 for the frist time! 
</p><div><table style="border-collapse:collapse" border="0"><colgroup><col style="width:75px"><col style="width:81px"><col style="width:116px"><col style="width:165px"><col style="width:194px"></colgroup><tbody valign="top"><tr style="background: #e5e5e5"><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  solid 0.5pt; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p><strong>Original name</strong></p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  solid 0.5pt; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><strong>Category</strong></p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  solid 0.5pt; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><strong>Deutsche Version</strong></p></td><td valign="middle" style="padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  solid 0.5pt; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><strong>Kategorie</strong></p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  solid 0.5pt; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><strong>Icon</strong></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Submit to record center</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Publishing</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">An Datenarchiv senden</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Veröffentlichung</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin1.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Query MOSS user profiles</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Sharepoint-Profiles</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Benutzerprofil abfragen</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">SharePoint-Profile</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin2.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Update MOSS user profiles</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Sharepoint-Profiles</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Benutzerprofil aktualisieren</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">SharePoint-Profile</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin3.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Create Audience</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Sharepoint-Profiles</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Eine Zielgruppe erstellen</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">SharePoint-Profile</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin4.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Compile Audience</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Sharepoint-Profiles</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Zielgruppe zusammenstellen</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">SharePoint-Profile</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin5.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Delete Audience</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Sharepoint-Profiles</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Zielgruppe löschen</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">SharePoint-Profile</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin6.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Query Excel Services</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Integration</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Excel Services-Abfrage</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Integration</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin7.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Query the Business Data Catalog</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Integration</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">BDC-Abfrage</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Integration</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin8.jpg" alt=""></p></td></tr><tr><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  solid 0.5pt; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p>Remove an AD Security Group</p></td><td valign="middle" style="background: #dbe5f1; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Provisioning</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">AD-Benutzergruppe löschen</p></td><td valign="middle" style="background: #eaf1dd; padding-top: 1px; padding-left: 1px; padding-bottom: 1px; padding-right: 1px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center">Benutzerkontenverwaltung</p></td><td valign="middle" style="padding-top: 2px; padding-left: 2px; padding-bottom: 2px; padding-right: 2px; border-top:  none; border-left:  none; border-bottom:  solid 0.5pt; border-right:  solid 0.5pt"><p style="text-align: center"><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1635_DieneuenNin9.jpg" alt=""></p></td></tr></tbody></table></div><p>   
 </p><p>Expect detailed instructions in further articles @SPBombShell soon! 
</p><p>By Markus Alt 
</p><p>Technorati-Tags: <a href="http://technorati.com/tag/Sharepoint">Sharepoint</a>, <a href="http://technorati.com/tag/Nintex">Nintex</a></p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Fri, 19 Dec 2008 10:29:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Nintex and the NWAdmin Tool</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2008/12/18/nintex-und-das-nwadmin-tool.aspx</link><guid>/websites/spblog/archive/2008/12/18/nintex-und-das-nwadmin-tool.aspx</guid><description><![CDATA[<p>A commonly underrated tool for the Nintex Workflow Engine is the included console application NWAdmin! A reason for this may be its limited functionality in former Nintex builds. But with the latest update, Nintex made a remarkable step forward and enhanced the tool with a lot of new operations. So by now, you can do administrative tasks which you can´t do via the user interface by default. 
</p><p>To name some of them: 
</p><ul><li>Deletion of Workflow Actions [-o removeaction] 
</li><li>Deployment of Workflows [-o deployworkflow] 
</li><li>Cleanup of WF histories [-o purgeworkflowdata] 
</li><li>Batch delegation of WF tasks [-o delegatealltasks] 
</li><li>List all active WF [-o findworkflows] 
</li></ul><p>When you process a default Nintex installation you find the tool residing at c:\program files\Nintex\Nintex Workflow 2007. The help-parameter will deliver further information on the capabilities: 
</p><p><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1808_Nintexundda1.png" alt="">
	</p><p>You gain most benefits if you integrate the tool in your scripts, for example to deploy a workflow to several sites or to move a whole set of custom activities to your production environment. Even within the latest builds, you are not able to do this via the user interface. 
</p><p>Examples: 
</p><ul><li>A certain workflow activity is obsolete and you want to delete it completely <br><strong>NWAdmin -o RemoveAction –ID &lt;ActionID&gt;</strong>
		</li><li>A co-worker gets sick and will not be able to work for a longer period. What happens to his existing workflow tasks? <br><strong>NWAdmin -o DelegateAllTasks –currentUser <em>domäne\name_alt</em> –newUser <em>domäne\name_neu</em> –username <em>UserMitBerechtigung</em> –password *******</strong>  
</li><li>You have intensively test-driven your workflows and the site can now go live. You need to get rid of hundreds entries all over the workflow histories <br><strong>NWAdmin -o PurgeWorkflowData -state ALL -url <a href="http://server/sites/teamsite">http://server/sites/teamsite</a>
				<br><br></strong>the PurgeWorkflowData operation offers a lot of useful parameters: <br><br>-workflowname &lt;name&gt; <br>-state [ALL|Completed|Running|Cancelled|Error] <br>-url &lt;teamsite url&gt; <br>-listId &lt;guid&gt; <br>-itemId &lt;int&gt; 
</li></ul><p>      
 </p><ul><li><div>You need to know which workflows are currently active? <br><strong>NWAdmin –o FindWorkflows</strong>
				<br><br>Output:<br><img src="http://www.dataone.de/websites/spblog/Lists/Photos/121808_1808_Nintexundda2.png" alt="">
			</div><p style="margin-left: 18pt">      
 </p></li></ul><p>By Markus Alt   
</p><p>Technorati-Tags: <a href="http://technorati.com/tag/Sharepoint">Sharepoint</a>, <a href="http://technorati.com/tag/Nintex">Nintex</a></p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Fri, 19 Dec 2008 10:28:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Nintex Workflow/default.aspx">Nintex Workflow</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Synchronize document versions and SharePoint versions with PowerShell</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2008/12/15/migration-der-sharepoint-version-nach-dokumentenimport-1.aspx</link><guid>/websites/spblog/archive/2008/12/15/migration-der-sharepoint-version-nach-dokumentenimport-1.aspx</guid><description><![CDATA[<p>Imagine you import some documents from file system to sharepoint. You may experience that your former document versions do not match the item versions created by sharepoint. Since the version field is readonly, it is not possible for you to manipulate that value by default. 
</p><p>In this article, I´ll show you one possibility (there´s many) how you can solve that kind of problem. To keep it short, I decided to choose a "no build" approach and just do it with a tiny little helper called PowerShell (PoSH)! That means there´s NO visual studio involved and NO deployment is necessary to get this done. 
</p><p>Before we start scripting we should investigate on the way how SharePoint is handling and managing versions internally. Do to this, activated versioning on list-level is mandatory: 
</p><p><a href="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Versionierung_Liste_1.jpg"><img src="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Versionierung_Liste_thumb_1.jpg" alt="" border="0"></a>
	</p><p>If we take a look at a version history inside the PoSH, we recognize a certain but unexpected pattern (at a first glance) and two relevant fields: 
</p><p><a href="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Powershell1_1.jpg"><img src="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Powershell1_thumb_1.jpg" alt="" border="0"></a>
	</p><p>VersionId: 512 <br>VersionLabel: 1.0 
</p><p>If you process updates on an item, the output will change as follows: 
</p><p>VersionId: 513 <br>VersionLabel: 1.1 
</p><p>You can approve the item, and the output will be: 
</p><p>VersionId: 1024 <br>VersionLabel: 2.0 
</p><p>You see, there´s a simple formula which we have to keep in consideration later in the script: <br>VersionId = (MainVersion * 512) + Subversion 
</p><p>Next we need to add a field to our list to store the former document version of the file system: <br>Name: ImportVersion, Type: Text 
</p><p><a href="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/ImportVersion_4.jpg"><img src="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/ImportVersion_thumb_1.jpg" alt="" border="0"></a>
	</p><p>Now we can finally open up the PoSH. If you are working with PowerShell and SharePoint, I recommend you to modify your profile as described on <a href="http://cglessner.blogspot.com/2008/06/powershell-sharepoint.html">iLoveSharepoint</a>
	</p><p>The script is pretty straight forward though: 
</p><p><pre><code><span style="color:purple">$web </span><span style="color:red">= </span><span style="color:black">get-spweb http:</span><span style="color:red">/</span><span style="color:black">/localhost/websites/spbombshell <br></span><span style="color:purple">$list </span><span style="color:red">= </span><span style="color:purple">$web</span><span style="color:black">.Lists[</span><span style="color:maroon">"ListName"</span><span style="color:black">] <br></span><span style="color:purple">$item </span><span style="color:red">= </span><span style="color:purple">$list</span><span style="color:black">.Items[0] <br></span><span style="color:purple">$importVersion </span><span style="color:red">= </span><span style="color:black">[</span><span style="color:teal">int</span><span style="color:black">]</span><span style="color:purple">$item</span><span style="color:black">[</span><span style="color:maroon">"ImportVersion"</span><span style="color:black">] <br></span><span style="color:purple">$itemVersion </span><span style="color:red">= </span><span style="color:black">[</span><span style="color:teal">int</span><span style="color:black">](</span><span style="color:purple">$item</span><span style="color:black">.Versions[0].VersionId </span><span style="color:red">/ </span><span style="color:black">512) <br></span> <br><span style="color:purple">$count </span><span style="color:red">= </span><span style="color:purple">$importVersion </span><span style="color:red">- </span><span style="color:purple">$itemVersion <br></span> <br><span style="color:blue">for </span><span style="color:black">(</span><span style="color:purple">$index </span><span style="color:red">= </span><span style="color:black">0; </span><span style="color:purple">$index </span><span style="color:red">-lt </span><span style="color:purple">$count</span><span style="color:black">; </span><span style="color:purple">$index</span><span style="color:red">++</span><span style="color:black">) { <br>    </span><span style="color:purple">$item</span><span style="color:black">.File.CheckOut() <br>    </span><span style="color:purple">$item</span><span style="color:black">.File.CheckIn(</span><span style="color:maroon">"PoSH Check-In"</span><span style="color:black">) <br>    </span><span style="color:purple">$item</span><span style="color:black">.File.Approve(</span><span style="color:maroon">"PoSH Approve"</span><span style="color:black">) <br>} </span>
			</code></pre></p><p><pre><code>             
</code></pre></p><p>Check back the version history of the modified item: 
</p><p><a href="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Versionshistorie_2.jpg"><img src="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Versionshistorie_thumb.jpg" alt="" border="0"></a>
	</p><p>We must get rid of the history lines, so we add one more line to our script: 
</p><p><span style="color:purple">$item</span><span style="color:black">.File.</span>Versions.RecycleAll() 
</p><p><a href="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Versionshistorie_recycled_2.jpg"><img src="http://www.dataone.de/websites/spblog/Media/WindowsLiveWriter/MigrationderSharepointVersionnachDokumen_104B3/Versionshistorie_recycled_thumb.jpg" alt="" border="0"></a>
	</p><p>That´s it – your versions are synchronized. 
</p><p>By Markus Alt 
</p><p>   
 </p><p>Technorati-Tags: <a href="http://technorati.com/tags/Sharepoint">Sharepoint</a>,<a href="http://technorati.com/tags/Powershell">Powershell</a></p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\ma</dc:creator><pubDate>Mon, 15 Dec 2008 10:28:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/PowerShell/default.aspx">PowerShell</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/SharePoint/default.aspx">SharePoint</category></item><item><title>Data One ist Exklusiver Sponsor der SharePoint Special Days 2009</title><link>http://www.dataone.de/websites/spblog/websites/spblog/archive/2008/12/12/data-one-ist-exklusiver-sponsor-der-sharepoint-special-days-2009.aspx</link><guid>/websites/spblog/archive/2008/12/12/data-one-ist-exklusiver-sponsor-der-sharepoint-special-days-2009.aspx</guid><description><![CDATA[<p>Auf der <a href="http://it-republik.de/dotnet/basta/" target="_blank">BASTA! Spring 2009</a>, der j&#228;hrlich stattfindenden Konferenz f&#252;r .NET und Visual Studio, hat die blo&#223;e Theorie ein Ende. Dann wird es Zeit f&#252;r die Praxis. Data One gibt Entwicklern, Administratoren und Beratern die bestm&#246;gliche Unterst&#252;tzung f&#252;r Ihre allt&#228;gliche Arbeit und ihre Projekte. In Form von Best Practices, Hands-on Power Workshops und interessanten Sessions bieten auf der BASTA! namhafte nationale und internationale .NET-Experten Tipps, Ideen, Unterst&#252;tzung und Antworten f&#252;r Ihre laufenden und zuk&#252;nftigen Projekte.</p>  <p>Im Rahmen der BASTA! Spring 2009 finden vom 25.-26. Februar 2009 die SharePoint Special Days statt - mit Data One als exklusivem Sponsor! Erleben Sie an unserem Stand hautnah, wie Sie das Maximum aus Microsoft Office SharePoint Server (MOSS) bzw. den Windows SharePoint Services (WSS) herausholen. Lernen Sie <a href="http://www.dataone.de/de/Loesungen/sharepointportale/Seiten/NintexWorkflow2007.aspx" target="_blank">Nintex Workflow</a> zur intuitiven Erstellung von Workflows kennen, das Data One Power WebPart zur Verkn&#252;pfung von SharePoint mit der Windows PowerShell und diskutieren Sie mit unseren Experten die neusten Trends rund um Microsoft SharePoint und .NET-Entwicklung. <a href="http://www.basta.net" target="_blank">www.basta.net</a></p>  <p>By Nadine Bosch</p>]]></description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DOHOME\nb</dc:creator><pubDate>Fri, 12 Dec 2008 09:20:00 GMT</pubDate><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/Data One/default.aspx">Data One</category><category domain="http://www.dataone.de/websites/spblog/websites/spblog/archive/tags/SharePoint/default.aspx">SharePoint</category></item></channel></rss>
