<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>_cyclops_'s blog</title>
	
	<link>http://cyclops.nettrends.nl/blog</link>
	<description>Bloggin' my world....</description>
	<lastBuildDate>Tue, 06 Apr 2010 18:36:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/CyclopsBlog" /><feedburner:info uri="cyclopsblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Creating a subsite using the client side object model in SharePoint 2010</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/B1xWNRoEn5I/</link>
		<comments>http://cyclops.nettrends.nl/blog/2010/04/creating-a-subsite-using-the-client-side-object-model-in-sharepoint-2010/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 18:36:26 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Work > PowerShell]]></category>
		<category><![CDATA[Work > SharePoint]]></category>
		<category><![CDATA[Work > SharePoint 2010]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=221</guid>
		<description><![CDATA[We&#8217;ve all seen loads of things to you can so with the new Client Side Object Model in SharePoint 2010. I&#8217;m personally loving it more and more! The only downside is, most examples and code is made to retrieve information. The object model can also be used to create things!
Here&#8217;s a quick post on how [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve all seen loads of things to you can so with the new <a href="http://msdn.microsoft.com/en-us/library/ee857094%28office.14%29.aspx">Client Side Object Model in SharePoint 2010</a>. I&#8217;m personally loving it more and more! The only downside is, most examples and code is made to retrieve information. The object model can also be used to create things!</p>
<p>Here&#8217;s a quick post on how we are creating subsites using the client side object model:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">using</span> <span style="color: #000000;">&#40;</span>ClientContext ctx <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> ClientContext<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;http://yoursite/&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
                WebCreationInformation wci <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> WebCreationInformation<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
                wci.<span style="color: #0000FF;">Url</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;YourSite&quot;</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">// Relative URL</span>
                wci.<span style="color: #0000FF;">Title</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;YourSite&quot;</span><span style="color: #008000;">;</span>
                wci.<span style="color: #0000FF;">Description</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;Your nice description.&quot;</span><span style="color: #008000;">;</span>
                wci.<span style="color: #0000FF;">UseSamePermissionsAsParentSite</span> <span style="color: #008000;">=</span> true<span style="color: #008000;">;</span>
                wci.<span style="color: #0000FF;">WebTemplate</span> <span style="color: #008000;">=</span> <span style="color: #666666;">&quot;STS#0&quot;</span><span style="color: #008000;">;</span>
                wci.<span style="color: #0000FF;">Language</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">1033</span><span style="color: #008000;">;</span> <span style="color: #008080; font-style: italic;">//LCID</span>
&nbsp;
                Web w <span style="color: #008000;">=</span> ctx.<span style="color: #0000FF;">Site</span>.<span style="color: #0000FF;">RootWeb</span>.<span style="color: #0000FF;">Webs</span>.<span style="color: #0000FF;">Add</span><span style="color: #000000;">&#40;</span>wci<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
                ctx.<span style="color: #0000FF;">ExecuteQuery</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>And that&#8217;s it :)</p>
<p>The WebTemplate might be a bit odd, check this PowerShell script to to retrieve the correct values you can enter. Also note, custom web templates are possible and are also retrieved using this PowerShell:</p>

<div class="wp_syntax"><div class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #008080; font-weight: bold;">PS</span> C:\Users\ruarco<span style="color: pink;">&gt;</span> <span style="color: #800080;">$s</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>SPSite<span style="color: #000000;">&#40;</span><span style="color: #800000;">&quot;http://yoursite/&quot;</span><span style="color: #000000;">&#41;</span>;
<span style="color: #008080; font-weight: bold;">PS</span> C:\Users\ruarco<span style="color: pink;">&gt;</span> <span style="color: #800080;">$s</span>.GetWebtemplates<span style="color: #000000;">&#40;</span><span style="color: #000000;">1033</span><span style="color: #000000;">&#41;</span> <span style="color: pink;">|</span> <span style="color: #008080; font-weight: bold;">select</span> Name<span style="color: pink;">,</span> Title</pre></div></div>

<p>Note the LCID in the <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsite.getwebtemplates.aspx">GetWebtemplates</a>. The select is handy because custom web templates get a long guid and you&#8217;ll only want to select Name at those things.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2010/04/creating-a-subsite-using-the-client-side-object-model-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2010/04/creating-a-subsite-using-the-client-side-object-model-in-sharepoint-2010/</feedburner:origLink></item>
		<item>
		<title>K2’s 4.5 RC is here.</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/Xq9PFBqbzTQ/</link>
		<comments>http://cyclops.nettrends.nl/blog/2010/03/k2s-4-5-rc-is-here/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 11:18:59 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work > K2 4.5]]></category>
		<category><![CDATA[Work > K2 Inline Functions]]></category>
		<category><![CDATA[Work > K2.net]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=206</guid>
		<description><![CDATA[Nearly every SharePoint blog is reporting on the release date of SharePoint 2010. You might have not noticed that K2 has released the RC version of the all important 4.5 :)
The RC version is available via the K2 Portal site under the beta download section. This also means it&#8217;s only available for the current partners, [...]]]></description>
			<content:encoded><![CDATA[<p>Nearly every SharePoint blog is reporting on the <a href="http://blogs.msdn.com/sharepoint/archive/2010/03/05/sharepoint-2010-office-2010-launch.aspx">release date of SharePoint 2010</a>. You might have not noticed that <a href="http://www.k2.com">K2</a> has released the RC version of the all important 4.5 :)<br />
The RC version is available via the <a href="http://portal.k2.com/downloads/beta.aspx">K2 Portal site under the beta download section</a>. This also means it&#8217;s only available for the current partners, customers and insiders.</p>
<p>Here are the main enhancements (copied from the release notes):</p>
<ol>
<li>New support for:</li>
<ul>
<li>Windows Server 2008, including R2</li>
<li>SQL Server 2008</li>
<li>Visual Studio 2008</li>
</ul>
<li>Non- AD Installation</li>
<li>SSL Support</li>
<li>Inline Functions</li>
<li>Reports</li>
<ul>
<li>New filters and parameters</li>
<li>Using SmartObject direct execution functionality</li>
</ul>
<li>Performance enhancements to SmartObjects and the K2 Workflow Server</li>
<li>In MOSS/WSS K2 configuration Features are deployed as solutions</li>
<li>K2 Designer for SharePoint enhancements include:</li>
<ul>
<li>Inline Functions</li>
<li>SmartObject Filters</li>
<li>Custom Work Item Notification</li>
<li>Process Data Fields</li>
<li>New Wizards</li>
</ul>
<li>Internationalization of the codebase</li>
<li>Numerous documentation updates</li>
<li>Inclusion of all Updates</li>
</ol>
<p>For more info, here are some links:<br />
<a href="http://www.k2underground.com/forums/default.aspx?GroupID=65">K2 Underground 4.5 RC Forum</a></p>
<p><a href="http://www.k2content.com/forms/SCUK2010Q1WhatsNewInK2Reg?elq=7e409b2f2b624346aaab38ba70675501">Registration form for What&#8217;s new to K2 4.5</a></p>
<p>Check out the <a href="http://www.k2.com/en/eventcalendar.aspx?elq=5b113564f79a4cc8b6c6ef3c24ab9451">K2 Event Calendar</a> for other webinars and events.</p>
<p><a href="http://srikantha.wordpress.com/2010/03/09/k2-4-5-rc-is-out/">Jey&#8217;s report on the release!</a></p>
<p><a href="http://www.petestilgoe.com/2010/03/k2-4-5-release-candidate-is-now-available/">PeteStilGoe.com&#8217;s post on 4.5</a></p>
<p><a href="http://www.k2.com/en/index.aspx">The new K2.com website showing 4.5 info!</a></p>
<p>More URL&#8217;s coming&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2010/03/k2s-4-5-rc-is-here/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2010/03/k2s-4-5-rc-is-here/</feedburner:origLink></item>
		<item>
		<title>K2’s 4.5 Release – Inline Functions</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/jHZ6h1S5LxI/</link>
		<comments>http://cyclops.nettrends.nl/blog/2010/01/k2s-4-5-release-inline-functions/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 22:02:27 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work > K2 API]]></category>
		<category><![CDATA[Work > K2 Inline Functions]]></category>
		<category><![CDATA[Work > K2 Insider Conf 2009]]></category>
		<category><![CDATA[Work > K2.net]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=181</guid>
		<description><![CDATA[Last October I had the privilege to visit the K2 Insiders conference. We all got to see a preview of K2&#8217;s new 4.5 release. Now (finally!) a targeted beta is available for selected partners, customers and insiders. This blog post will focus on Inline functions, a new feature of the 4.5 release which will be [...]]]></description>
			<content:encoded><![CDATA[<p>Last October I had the privilege to visit the K2 Insiders conference. We all got to see a preview of K2&#8217;s <a href="http://www.k2underground.com/blogs/labs/archive/2009/12/04/k2-4-5-update.aspx">new 4.5 release</a>. Now (finally!) a targeted beta is available for selected partners, customers and insiders. This blog post will focus on Inline functions, a new feature of the 4.5 release which will be available for <a href="http://www.k2.com/en/displaycontent.aspx?ID=901">K2 blackpoint</a> 4.5 and <a href="http://www.k2.com/en/displaycontent.aspx?ID=903">K2 blackpearl</a> 4.5. The new release also features improvements to the designers, as you can <a href="http://srikantha.wordpress.com/2010/01/16/progressing-with-the-process-designer/">read in Jey&#8217;s blogpost</a>.</p>
<h2>Why are inline functions so important?</h2>
<p>To explain why inline functions are so important for K2, it is needed to provide some background. Way back before the South African development team started working on K2 blackpearl, a vision was created on how to design processes from a business perspective. The current K2 architecture has a lot of features that can be mapped to that vision. An example of this is SmartObjects. The vision shows that (enterprise) data should not be included/part of the process and should be referred from within the process. SmartObjects do just that, making live a lot easier when working with the K2 platform.</p>
<p>Another big part of the vision is to allow you to design processes without the need to write code. A lot of processes can be implemented without code, but I&#8217;ve had lots of occasions where I still needed to write small pieces of code. Within the new K2 designer for SharePoint and K2 studio, you&#8217;re unable to write code and you&#8217;re stuck going back to Visual Studio. This isn&#8217;t how K2&#8217;s vision was created and so a solution was needed to reduce the use of code and allow you to call (simple) functions.</p>
<h2>What are inline functions?</h2>
<p>Every wizard within K2 uses input fields where you can drag and drop items from the Object Browser to the input fields. Inline functions allow you to call simple functions inside those input fields. The functions are categorized in groups, so all the Date and Time functions are together and all the Text manipulation functions are together. A complete list of inline functions will be listed in the product documentation which will also be up on the <a href="http://help.k2.com/en/blackpearlarticles.aspx">knowledge base site</a>. For now, you can check <a href="http://cyclops.nettrends.nl/blog/2010/01/all-inline-functions-in-sourcecode-workflow-functions/">this blog post</a>.</p>
<p>So, why is this so good?  Well, as stated in the previous paragraph, this will allow you to do more with the designers that do not support the use of code.</p>
<h2>How do they work?</h2>
<p>This <a href="http://www.youtube.com/watch?v=cuDA2wALr6I">youtube video</a> will hopefully explain how you use inline functions while designing a process.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/cuDA2wALr6I&amp;hl=en_GB&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/cuDA2wALr6I&amp;hl=en_GB&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>From a technical perspective, inline functions are executed within the workflow server.</p>
<p><strong>[UPDATE] I forgot to share the video for the public, it should be better now :-)</strong></p>
<h2>But, the function I need isn&#8217;t there!</h2>
<p>Ok, K2 can&#8217;t provide you with every function thinkable on the planet, but they always provide you with ways to extend the K2 platform. This is also the case with inline function! In the end, it all comes down to a simple .NET assembly with some class and method attributes. The <a href="http://help.k2.com/en/K2DevRef.aspx">developer reference</a> will have an article/how-to on this.</p>
<h2>Conclusion</h2>
<p>I hope this blog post makes you understand how valuable inline functions can be when designing a process. For myself, it&#8217;s another way of doing things and allows me to create processes more easy and (in a lot of occasions) without code!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2010/01/k2s-4-5-release-inline-functions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2010/01/k2s-4-5-release-inline-functions/</feedburner:origLink></item>
		<item>
		<title>All Inline Functions in SourceCode.Workflow.Functions</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/7XwbH_hKltM/</link>
		<comments>http://cyclops.nettrends.nl/blog/2010/01/all-inline-functions-in-sourcecode-workflow-functions/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 22:02:17 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work > K2 API]]></category>
		<category><![CDATA[Work > K2 Inline Functions]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=184</guid>
		<description><![CDATA[New in K2 4.5 are Inline Functions!  In this post, you&#8217;ll find a list of all the inline functions and description from the SourceCode.Workflow.Functions assembly. Which is the assembly that we get with our K2 installation.
This blogpost is part of a post on inline functions and only for reference!



Text


Find
Returns the index if the specified string [...]]]></description>
			<content:encoded><![CDATA[<p>New in K2 4.5 are Inline Functions!  In this post, you&#8217;ll find a list of all the inline functions and description from the SourceCode.Workflow.Functions assembly. Which is the assembly that we get with our K2 installation.</p>
<p>This blogpost is part of <a href="http://cyclops.nettrends.nl/blog/2010/01/k2s-4-5-release-inline-functions/">a post on inline functions</a> and only for reference!</p>
<table>
<tbody>
<tr>
<th colspan="2">Text</th>
</tr>
<tr>
<td>Find</td>
<td>Returns the index if the specified string is found within another string. Returns 0 if no match can be found.</td>
</tr>
<tr>
<td>Contains</td>
<td>Returns a true value if a substring is found within another string.</td>
</tr>
<tr>
<td>Left</td>
<td>Returns a subset of characters from the left side of a string.</td>
</tr>
<tr>
<td>Right</td>
<td>Returns characters from the right side of a string.</td>
</tr>
<tr>
<td>Mid</td>
<td>Returns a subset of characters from a string, starting at a specified index and continuing to the end of the string.</td>
</tr>
<tr>
<td>Mid</td>
<td>Returns a subset of characters from a string, starting at a specified index and continuing a specified length.</td>
</tr>
<tr>
<td>To Lower</td>
<td>Converts a string to lower case.</td>
</tr>
<tr>
<td>Length</td>
<td>Returns the length of a string.</td>
</tr>
<tr>
<td>To Upper</td>
<td>Converts a string to upper case.</td>
</tr>
<tr>
<td>Proper</td>
<td>Converts a string to proper case.</td>
</tr>
<tr>
<td>Replace</td>
<td>Replaces a substring within a string with a new substring.</td>
</tr>
<tr>
<td>Trim</td>
<td>Removes leading and trailing spaces and line breaks from a string.</td>
</tr>
<tr>
<td>Split</td>
<td>Splits text into substrings delimited by a specified separator value.</td>
</tr>
<tr>
<td>Join</td>
<td>Concatenates a list of text values or fields, delimiting each with a separator.</td>
</tr>
<tr>
<td>Pad Left</td>
<td>Pads a string with a padding character on the left side up to a specified length.</td>
</tr>
<tr>
<td>Pad Right</td>
<td>Pads a string with a padding character on the right side up to a specified length.</td>
</tr>
<tr>
<td>Insert</td>
<td>Inserts a substring into a string at a specified position.</td>
</tr>
<tr>
<td>URL Encode</td>
<td>Encodes a URL string.</td>
</tr>
<tr>
<td>URL Decode</td>
<td>Decodes a URL string.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">Mathematical</th>
</tr>
<tr>
<td>Power</td>
<td>Gets one value raised to the power of another.</td>
</tr>
<tr>
<td>Power</td>
<td>Gets one value raised to the power of another.</td>
</tr>
<tr>
<td>Square</td>
<td>Gets the square of a number.</td>
</tr>
<tr>
<td>Square</td>
<td>Gets the square of a number.</td>
</tr>
<tr>
<td>Square Root</td>
<td>Gets the square root of a positive number.</td>
</tr>
<tr>
<td>Square Root</td>
<td>Gets the square root of a positive number.</td>
</tr>
<tr>
<td>Root</td>
<td>Gets the positive nth root of a positive number.</td>
</tr>
<tr>
<td>Root</td>
<td>Gets the positive nth root of a positive number.</td>
</tr>
<tr>
<td>Absolute</td>
<td>The real number for which to get the absolute value.</td>
</tr>
<tr>
<td>Absolute</td>
<td>The real number for which to get the absolute value.</td>
</tr>
<tr>
<td>Maximum</td>
<td>Gets the maximum value of a list of values.</td>
</tr>
<tr>
<td>Maximum</td>
<td>Gets the maximum value of a list of values.</td>
</tr>
<tr>
<td>Minimum</td>
<td>Gets the minimum value of a set of values.</td>
</tr>
<tr>
<td>Minimum</td>
<td>Gets the minimum value of a set of values.</td>
</tr>
<tr>
<td>Random</td>
<td>Gets a random number less than or equal to a specified maximum value.</td>
</tr>
<tr>
<td>Random</td>
<td>Gets a random number less than or equal to a specified maximum value.</td>
</tr>
<tr>
<td>Random Between</td>
<td>Gets a random number between or equal to two specified values.</td>
</tr>
<tr>
<td>Random Between</td>
<td>Gets a random number between or equal to two specified values.</td>
</tr>
<tr>
<td>Round</td>
<td>Rounds a number up or down to a value with a specified precision.</td>
</tr>
<tr>
<td>Round Up</td>
<td>Rounds a value up.</td>
</tr>
<tr>
<td>Round Down</td>
<td>Rounds a value down.</td>
</tr>
<tr>
<td>Average</td>
<td>Calculates the average of a collection of values.</td>
</tr>
<tr>
<td>Average</td>
<td>Calculates the average of a collection of values.</td>
</tr>
<tr>
<td>Sum</td>
<td>Gets the sum of a set of values.</td>
</tr>
<tr>
<td>Sum</td>
<td>Gets the sum of a set of values.</td>
</tr>
<tr>
<td>Format Number</td>
<td>Formats a number to a text representation using a specified numeric format specifier.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">InfoPath</th>
</tr>
<tr>
<td>Get Attachment Content</td>
<td>Gets an attachment&#8217;s file content from an array of bytes.</td>
</tr>
<tr>
<td>Get Attachment Name</td>
<td>Gets an InfoPath attachment&#8217;s filename from an array of bytes.</td>
</tr>
<tr>
<td>Set Attachment</td>
<td>Creates an InfoPath attachment and returns it as a base-64 string.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">Lists</th>
</tr>
<tr>
<td>First Item</td>
<td>Gets the first value in a list.</td>
</tr>
<tr>
<td>Last Item</td>
<td>Gets the last value in a list.</td>
</tr>
<tr>
<td>Count</td>
<td>Counts the number of items in a list of values.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">Text</th>
</tr>
<tr>
<td>Hyperlink</td>
<td>Creates a hyperlink with a display name and URL.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">Date and Time</th>
</tr>
<tr>
<td>Today</td>
<td>Gets the current day.</td>
</tr>
<tr>
<td>Yesterday</td>
<td>Returns yesterday&#8217;s date.</td>
</tr>
<tr>
<td>Tomorrow</td>
<td>Return tomorrow&#8217;s date.</td>
</tr>
<tr>
<td>Maximum</td>
<td>Gets the maximum date and time from a list of values.</td>
</tr>
<tr>
<td>Minimum</td>
<td>Gets the minimum date and time from a list of values.</td>
</tr>
<tr>
<td>Add Days</td>
<td>Adds a specified number of days to a date.</td>
</tr>
<tr>
<td>Add Hours</td>
<td>Adds a specified number of hours to a date and time.</td>
</tr>
<tr>
<td>Add Minutes</td>
<td>Adds a specified number of minutes to a date and time.</td>
</tr>
<tr>
<td>Add Seconds</td>
<td>Adds a specified number of seconds to a date and time.</td>
</tr>
<tr>
<td>Day Difference</td>
<td>Determines the number of days between two dates, and hours are decimal fractions.</td>
</tr>
<tr>
<td>Day</td>
<td>Gets the day of a given date.</td>
</tr>
<tr>
<td>Month</td>
<td>Gets the month of a given date as a number.</td>
</tr>
<tr>
<td>Now</td>
<td>Gets the current date and time.</td>
</tr>
<tr>
<td>Subtract Days</td>
<td>Subtracts a specified amount of days from a date.</td>
</tr>
<tr>
<td>Subtract Hours</td>
<td>Subtracts a specified amount of hours from a date and time.</td>
</tr>
<tr>
<td>Subtract Minutes</td>
<td>Subtracts a specified amount of minutes from a date and time.</td>
</tr>
<tr>
<td>Subtract Seconds</td>
<td>Subtracts a specified number of seconds from a date and time.</td>
</tr>
<tr>
<td>Weekday</td>
<td>Gets the name of the day of the week from a specified date.</td>
</tr>
<tr>
<td>Week Number</td>
<td>Gets the week number of the year of a specified date.</td>
</tr>
<tr>
<td>Year</td>
<td>Gets the year of a date.</td>
</tr>
<tr>
<td>Format Date and Time</td>
<td>Formats a date and time to a text representation using a specified date and time format.</td>
</tr>
<tr>
<td>Start of Year</td>
<td>Gets the first day of a year.</td>
</tr>
<tr>
<td>End of Year</td>
<td>Gets the last day of a year.</td>
</tr>
<tr>
<td>Start of Month</td>
<td>Gets the first day of a month.</td>
</tr>
<tr>
<td>End of Month</td>
<td>Gets the last day of a month.</td>
</tr>
<tr>
<td>Start of Week</td>
<td>Gets the first day of a week.</td>
</tr>
<tr>
<td>End of Week</td>
<td>Gets the last day of a week.</td>
</tr>
<tr>
<td>Start of Quarter</td>
<td>Gets the first day of a quarter.</td>
</tr>
<tr>
<td>End of Quarter</td>
<td>Gets the last day of a quarter.</td>
</tr>
<tr>
<td>Start of Year</td>
<td>Gets the first day of a year.</td>
</tr>
<tr>
<td>End of Year</td>
<td>Gets the last day of a year.</td>
</tr>
<tr>
<td>Start of Month</td>
<td>Gets the first day of a month.</td>
</tr>
<tr>
<td>End of Month</td>
<td>Gets the last day of a month.</td>
</tr>
<tr>
<td>Start of Week</td>
<td>Gets the first day of a week.</td>
</tr>
<tr>
<td>End of Week</td>
<td>Gets the last day of a week.</td>
</tr>
<tr>
<td>Start of Quarter</td>
<td>Gets the first day of a quarter.</td>
</tr>
<tr>
<td>End of Quarter</td>
<td>Gets the last day of a quarter.</td>
</tr>
<tr>
<td>Quarter</td>
<td>Gets the quarter number a specified date is in.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">Logical</th>
</tr>
<tr>
<td>If</td>
<td>Returns one of two values based on a Boolean condition. Nested expressions are allowed.</td>
</tr>
<tr>
<td>True</td>
<td>Gets the Boolean value of true.</td>
</tr>
<tr>
<td>False</td>
<td>Gets the Boolean value of false.</td>
</tr>
<tr>
<td>Yes</td>
<td>Gets the Boolean value of true.</td>
</tr>
<tr>
<td>No</td>
<td>Gets the Boolean value of false.</td>
</tr>
<tr>
<td>And</td>
<td>Performs an And operation on two Boolean values, returning true if both values are true, false if any value is false.</td>
</tr>
<tr>
<td>Or</td>
<td>Performs an Or operation on two Boolean values, returning true if one of the values is true, false if both values are false.</td>
</tr>
<tr>
<td>Xor</td>
<td>Performs an Exclusive Or operation on two Boolean values, returning true if one and only one of the values is true.</td>
</tr>
<tr>
<td>Not</td>
<td>Returns a true value if the condition evaluates to false and a false value if the condition evaluates to true.</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<th colspan="2">Conversion</th>
</tr>
<tr>
<td>To Decimal</td>
<td>Converts a value to a Decimal data type.</td>
</tr>
<tr>
<td>To Boolean</td>
<td>Converts a value to a Boolean data type.</td>
</tr>
<tr>
<td>To Long</td>
<td>Converts a value to a Long data type.</td>
</tr>
<tr>
<td>To Integer</td>
<td>Converts a value to an Integer data type.</td>
</tr>
<tr>
<td>To Short</td>
<td>Converts a value to a Short data type.</td>
</tr>
<tr>
<td>To Double</td>
<td>Converts a value to a Double data type.</td>
</tr>
<tr>
<td>To DateTime</td>
<td>Converts a value to a DateTime data type.</td>
</tr>
<tr>
<td>To String</td>
<td>Converts a value to a String data type.</td>
</tr>
<tr>
<td>To Base-64 String</td>
<td>Converts an array of bytes to a base-64 encoded string.</td>
</tr>
<tr>
<td>To Binary</td>
<td>Converts a base-64 encoded string to an array of bytes.</td>
</tr>
<tr>
<td>To Bytes</td>
<td>Converts a string to an array of bytes using the default character encoding.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2010/01/all-inline-functions-in-sourcecode-workflow-functions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2010/01/all-inline-functions-in-sourcecode-workflow-functions/</feedburner:origLink></item>
		<item>
		<title>SharePoint Connection 2010 NL – Day 2</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/wC1aAwI4qm8/</link>
		<comments>http://cyclops.nettrends.nl/blog/2010/01/sharepoint-connection-2010-n-day-2/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 15:04:04 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Work > SharePoint]]></category>
		<category><![CDATA[Work > SharePoint Connection 2010]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=169</guid>
		<description><![CDATA[After the post from day 1, the post of day 2 couldn’t really be left behind. So here’s my take on the sessions I went to see.
MSOL06: Nintex Workflow 2010: Extending 2010-Era SharePoint Workflow to End User and Enterprise Needs Alike by Mike Fitzmaurize
As a K2 insider it seemed weird going to the Nintex session, [...]]]></description>
			<content:encoded><![CDATA[<p>After the post from <a href="../2010/01/sharepoint-connection-2010-n-day-1/">day 1</a>, the post of day 2 couldn’t really be left behind. So here’s my take on the sessions I went to see.</p>
<div id="attachment_165" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8971.jpg"><img class="size-medium wp-image-165" title="IMG_8971" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8971-300x200.jpg" alt="SharePoint Connection NL 2010" width="300" height="200" /></a><p class="wp-caption-text">SharePoint Connection NL 2010</p></div>
<h2>MSOL06: Nintex Workflow 2010: Extending 2010-Era SharePoint Workflow to End User and Enterprise Needs Alike by Mike Fitzmaurize</h2>
<p>As a K2 insider it seemed weird going to the Nintex session, but I went to see what they have to offer as it is always good to keep an open mind. I’ve already seen Nintex a while ago but now they showed its integration in SharePoint 2010. Mike is a nice speaker and listening to him was good, I also think nobody noticed that the workflow he build couldn’t actually start and he didn’t return to fix it. But then again, he was working on an alpha build of Nintex. Nintex still runs on the SharePoint WF, you can either see this as an advantage or a disadvantage. Also, the integration with backend systems is done via wizards. Nintex has a lot of those which makes the out of the box package product pretty complete. If I look at K2 from that perspective, it’s able to integrate with SmartObjects and more generic solutions which allow for more flexibility.</p>
<h2>MSC11: SharePoint 2010 Search by Richard Taylor</h2>
<div id="attachment_167" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8975.jpg"><img class="size-medium wp-image-167" title="IMG_8975" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8975-300x200.jpg" alt="Richard Taylor about to start" width="300" height="200" /></a><p class="wp-caption-text">Richard Taylor about make people smile!</p></div>
<p>Yesterday I really enjoyed listening to Richard, when I saw he did a functional session on Search, I was curious and went for it. The session had a lot of information on what search actually is. And that search is not actually what you want to do, you want to FIND things. This al leaded into explaining what Findability is and what you need to do for it. Interestingly, it wasn’t SharePoint that provided the solution according to Richard. He says if you have a mess that using SharePoint will not solve the problem, you need to structure your data and an Information Architect is crucial to get Search working correctly and make things findable. This was a valuable lesson and enjoyable to listen too, the hour flew by and everybody left with things to think about in the next SharePoint project.</p>
<h2>MSC27: Claims-based identity in SharePoint 2010 by Spencer Harbar</h2>
<p>I expected a lot from this session, but it didn’t really deliver. Partly because there was no demo but only slides and a lot of theoretical stuff on the claims based identity framework (Geneva).</p>
<p>The session did hold a lot of good content which is way too much to sum up here. It was important to note that with claims based authentication you’re not always able to eliminate Kerberos, this is because the backend system needs to be claims based aware, which some systems are simply not (yet). When you want to use Kerberos, you’ll need to use claims based authentication within SharePoint, which (from my understanding) will be able to create a windows identity and authenticate via Kerberos.</p>
<p>I really like the claims based authentication and really want to start working wit hit and try some different scenarios.</p>
<p>Spencer also noted that claims based identity (currently) only works with MSIE8. I presume that’s for the claims based identity to work as if it’s integrated authentication. So for older browsers we’ll probably see forms based authentication that uses claims based identification.</p>
<p><strong>UPDATE: Spencer commented to this article about the browser requirements. He also provided some tweets:</strong></p>
<p><strong><a href="http://twitter.com/harbars/status/8318105648">http://twitter.com/harbars/status/8318105648</a><br />
</strong></p>
<p><strong><a href="http://twitter.com/harbars/status/8318666635">http://twitter.com/harbars/status/8318666635</a></strong></p>
<p><strong><a href="http://twitter.com/harbars/status/8318676296">http://twitter.com/harbars/status/8318676296</a></strong></p>
<p><strong><a href="http://twitter.com/harbars/status/8318716190">http://twitter.com/harbars/status/8318716190</a><br />
</strong></p>
<div id="attachment_166" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8974.jpg"><img class="size-medium wp-image-166" title="IMG_8974" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8974-300x200.jpg" alt="SharePoint Connection NL 2010" width="300" height="200" /></a><p class="wp-caption-text">Ask the experts area</p></div>
<h2>MSC31: SharePoint UI Customizations by Marianne van Wanrooij</h2>
<p>This session was a ‘redeploy’ of the session already held in Las Vegas. <a href="http://information-worker.org/default.aspx">Marianne</a> made her own demo’s, which was good to see.</p>
<h3>JavaScript, Status bar and Notifications</h3>
<p>SharePoint has a nice feature called JavaScript on demand, which only gets the JavaScript if needed. This allows for a small size of the basic page that requests the correct JavaScript when you need it.<br />
After this, Marianne showed how the status bar and the notification area can be manipulated using JavaScript and the server client object model.</p>
<h3>Ribbon</h3>
<p>The ribbon is also extendable in SharePoint 2010, it allows you to add and remove buttons using a SharePoint feature which gives you very tight UI integration with SharePoint. The ribbon is actually one big image which is cut up by CSS. This is a very efficient technique that eliminating callbacks to the server. In the demo, a button was added to the ribbon and some simple code was run.</p>
<h3>Dialog framework</h3>
<p>The dialog framework was also part of the demonstration. There is not much to tell about it (which is a good thing!). You can open a dialog and provide it a URL to use as a page. The dialog framework hides all the html elements with the ‘s4-notdlg’ css class. This allows you to use one page for dialogs and for normal pages!</p>
<h2>MSC30: Advanced Web Part Development by Jan Tielens</h2>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8979.jpg"><img class="size-medium wp-image-168" title="IMG_8979" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2010/01/IMG_8979-300x200.jpg" alt="Jan Tielens about to start" width="300" height="200" /></a><p class="wp-caption-text">Jan Tielens ready to rock!</p></div>
<p>I can’t help saying it again, Jan Tielens his presentations and demo are super to see! They simply work and are so clear. He makes it look way to easy!<br />
The session covered topics on web part development in SharePoint 2010. There are some <a href="http://www.mattjimison.com/blog/2009/10/23/sharepoint-2010-webpart-enhancements/">new things, like XSS Safeguards</a> which are important to know about as a developer. A big improvement is the Virtual Web Part. For me, that’s nice to see, but I don’t understand why it was so important to drag and drop UI elements.  Apart from that, Jan showed how you can use the visual web part to create connect web parts. After that he went on and made two connected web parts update with Ajax.</p>
<h2>Conclusion</h2>
<p>I enjoyed the SharePoint Connections conference, although a lot of it was already known from Las Vegas, it still added knowledge for me. For me, that’s the most important part of going to a conference. Apart from that, it was nice to see all the SharePoint people again and shake some hands!</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 799px; width: 1px; height: 1px;">http://twitter.com/harbars/status/8318676296</div>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2010/01/sharepoint-connection-2010-n-day-2/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2010/01/sharepoint-connection-2010-n-day-2/</feedburner:origLink></item>
		<item>
		<title>SharePoint Connection 2010 NL – Day 1</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/uxqbo1mHhqU/</link>
		<comments>http://cyclops.nettrends.nl/blog/2010/01/sharepoint-connection-2010-n-day-1/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:30:35 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[Work > SharePoint]]></category>
		<category><![CDATA[Work > SharePoint Connection 2010]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=158</guid>
		<description><![CDATA[On the 18th of January, Microsoft Events organized a SharePoint Connection in the Amsterdam RAI. In this blog post I’ll post on the sessions I went to see. These are my notes and not a full report on the sessions.
Keynote by Matthijs Hoekstra and Mike Fitzmaurice
The keynote started with the nice promotional video that was [...]]]></description>
			<content:encoded><![CDATA[<p>On the 18th of January, Microsoft Events organized a <a href="http://www.devconnections.com/SPEurope/">SharePoint Connection</a> in the Amsterdam RAI. In this blog post I’ll post on the sessions I went to see. These are my notes and not a full report on the sessions.</p>
<h2>Keynote by Matthijs Hoekstra and Mike Fitzmaurice</h2>
<p>The keynote started with the nice promotional video that was also shown at the SharePoint Conference in Las Vegas back in October. It’s a nice movie with lots of fast moving images and music, good to wake up and get you in a good mood. <a href="http://blogs.microsoft.nl/blogs/mhoekstra/default.aspx">Matthijs Hoekstra</a> kicked of the keynote by introducing <a href="http://blogs.msdn.com/mikefitz/">Mike Fitzmaurice</a>.  Mike is always a good speaker and he told a story how SharePoint 2010 came to be as it is now. Starting in the pre-2001 age, Mike probably knows most about the revolution SharePoint has made. Although the story was nice to hear, it wasn’t what I expected from the keynote, as I expected a bit more ‘power-talk’. But then again, do we still need that?</p>
<h2>MSC34: Implementing Multi-Lingual Solutions on SharePoint 2010 by Spencer HarBar</h2>
<p>I’ve never done anything with Multi-lingual sites in SharePoint 2007. <a href="http://www.harbar.net/">Spencer</a> gave a good overview of what it is and when/how variations come into play when doing multi-lingual sites. The important message was to plan up front because turning on variations has a large impact on your SharePoint site, site collection and even farm.</p>
<h3>Language packs</h3>
<p>Language packs provide the SharePoint chrome in a different language, this makes the ribbon and menus (site actions, etc) show in a different language. These language packs basically provide site templates in different languages. After the installation of a language pack, you must rerun the configuration wizard. If you install multiple language packs, you only have to run it at the end of the process once.</p>
<h3>Variations</h3>
<p>Variations are there to provide your content in a different way. This also means that site targeting mobile devices are actually a variation too. It’s just shown in a different way. The same principle applies to languages. It’s the same site provided in a different language. There is always a Variation Source, which is where you place the initial and original content. Posting or editing content can kick of a process to provision that content to the variation targets. The variation target gets a draft version so the translators can translate that document into the language required for that variation.<br />
I’m pretty sure this content isn’t new for SharePoint 2010, but still nice to see when you’ve never done variations. Spencer did mention some new features in SharePoint 2010 like:</p>
<ul>
<li>View changes editing the draft document shows you the original and new version which makes editing easy.</li>
<li>The process that copies the documents from Variation Source to Variation Target has changed and is now more configurable.</li>
<li>Sites can have an alternative language, which makes it possible to have the chrome of SharePoint shown in a different language without having to create a variation of it.</li>
</ul>
<h2>MSC33: Understanding the Service Application Architecture of SharePoint 2010 by Richard Taylor</h2>
<p>This talk was about the new Service Application infrastructure which has completely been changed in SharePoint 2010. The room was packed so I was happy to get a seat, near a wall socket even :-)</p>
<p>In SharePoint 2007 there is one SSP that hosted services which sites could use. This is a monolithic design meaning that every service you need is hosted within that same SSP. In SharePoint 2010, this has all been changed and you can now run Services separately and only enable what you really need.</p>
<p>This changes a lot, it makes these services more secure because they can be run under different users and application pools, but it also makes things way more complex. For instance, every services uses its own database, this means that database management has become more complex. But also in terms of architecture, which site needs what service? Also note that some service application can be shared between farms, and some can’t be shared.</p>
<p>For every service application a proxy is created, so all the clients (features, webparts, etc) that need to request information from a service do that using a proxy.</p>
<p>I enjoyed <a href="http://www.linkedin.com/in/slickrickistheman">Richard</a>’s session a lot because it made me laugh when we got to the point about upgrading from SharePoint 2007 to SharePoint 2010. He basically says you should not do that unless you have a very simple site. The way this was told was pretty funny. It also made lots of people unhappy, but I think they didn’t notice until they walked out, as the session was funny, entertaining and informational!</p>
<h2>MSC01:  ECM for the Masses by Erica Toelle</h2>
<p>I’ve been to ECM for the masses at the Las Vegas conference, so I didn’t expect a lot of new stuff. The session covert most of the same topics but more from a business perspective. It showed the new capabilities of the metadata services and the document management features SharePoint 2010 has to offer (Unique document ID, Document sets, etc).</p>
<p>In general I really like this presentation but not having a live environment and using movies to show wasn’t helping a lot. I think the presentation was good and <a href="http://ericatoelle.com/">Erica</a> is nice to listen to but would rock if there was a live environment.</p>
<p>I was impressed by the last demo. It showed how you can change where SharePoint stores its blobs of data using configuration in SQL server. After that, a PowerShell script was used to import a directory structure into a SharePoint document library and create shortcuts on the FileSystem to keep the documents in place for the end user. SharePoint 2010 routed the document (based on metadata) to the correct folder in a SharePoint list. I was impressed!</p>
<p><strong>Update: Erica commented on this post (thanks!). Her VM wasn&#8217;t working correctly so the video&#8217;s used where a backup!</strong></p>
<h2>MSC06: Client-Side Technologies in SharePoint 2010 by Jan Tielens</h2>
<p>This session covered the 3 new client side object models available to the developer.</p>
<h3>The Client OM</h3>
<p>In the past, when coding a client side application you could only talk to the SharePoint web services which really wasn’t very nice to do. The new client side OM allows you to request and manipulate information using a normal .NET API on the client. You’ll use the ClientContext object to query SharePoint 2010 in a very efficient way. An example showed it getting information from a list. You can specify which columns you need and that makes the result set very small and efficient to transport over the network.</p>
<h3>ECMAScript</h3>
<p>This is the JavaScript version of the client side OM. It has all the benefits of the Client OM, but uses JavaScript. This will primarily help you create AJAX functionality that interacts with SharePoint data. The OM is also efficient using the same mechanism as the Client OM. I liked that Jan also dropped in some jQuery which is something more Developers should do and learn. But I guess that even counts for basic HTML and CSS skills.</p>
<h2>Silverlight client OM</h2>
<p>This is basically the same as the previous two, only in Silverlight. This Works very nice and very efficient.<br />
Read you can, efficient the client OM’s are (joda talk)! Apart from the microphone problems this was a very nice session with a well prepared and worked out demos. Jan is a very good presenter and I enjoyed the session, especially because <a href="http://weblogs.asp.net/jan/">Jan Tielens</a> was the first trainer I ever had on a SharePoint course so he sort of introduced me to the thing.<br />
Jan also showed the <a href="http://spvsx.codeplex.com/">SPVSX </a>extension which allows ‘quick deploy’ for your handy SharePoint 2010 development work.</p>
<h2>Conclusion</h2>
<p>A nice first day at the SharePoint Connections 2010. A lot of people complain about the content being a bit poor. I do agree a bit on that, but that’s mainly because I feel the demos are not prepared or working very well. Which I think eventually is a responsibility of the presenter, but I can’t help blaming that SharePoint 2010 is still beta.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2010/01/sharepoint-connection-2010-n-day-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2010/01/sharepoint-connection-2010-n-day-1/</feedburner:origLink></item>
		<item>
		<title>Settings border size in Windows 7</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/U8YpEXKGyy0/</link>
		<comments>http://cyclops.nettrends.nl/blog/2009/11/settings-border-size-in-windows-7/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 18:44:14 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/2009/11/settings-border-size-in-windows-7/</guid>
		<description><![CDATA[I started running windows 7 a few weeks ago. I (as everybody does) like it a lot. I disliked the new start-bar and changed it back to the old behavior, simply because i donâ€™t want to click twice to open the correct explorer window.
The other part that Iâ€™ve changed is the size of the borders [...]]]></description>
			<content:encoded><![CDATA[<p>I started running windows 7 a few weeks ago. I (as everybody does) like it a lot. I disliked the new start-bar and changed it back to the old behavior, simply because i donâ€™t want to click twice to open the correct explorer window.</p>
<p>The other part that Iâ€™ve changed is the size of the borders on windows. To do that:</p>
<p>&#160;</p>
<p>1. Go to Personalize by right clicking on your desktop.</p>
<p><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/Personalize.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Personalize" border="0" alt="Personalize" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/Personalize_thumb.png" width="207" height="244" /></a></p>
<p>2. In the Personalize screen, select Window Color</p>
<p><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/Windowscolour.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Windows colour" border="0" alt="Windows colour" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/Windowscolour_thumb.png" width="109" height="103" /></a> </p>
<p>3. In the screen that pops up, select â€œAdvanced appearance settingsâ€¦â€</p>
<p><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/Advanced.png"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Advanced" border="0" alt="Advanced" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/Advanced_thumb.png" width="221" height="36" /></a></p>
<p>4. Now youâ€™ll get the normal screen youâ€™re used to from XP and earlier. You select â€œBorder Paddingâ€ to change the transparent border on the windows. You can also change the â€œCaption Buttonsâ€ to change the way the Minimize, Maximize and Close buttons look. Be careful with the last one. Your taskbar items will also be smaller.</p>
<p><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/BorderPadding.png"><img style="border-bottom: 0px; border-left: 0px; display: block; float: none; margin-left: auto; border-top: 0px; margin-right: auto; border-right: 0px" title="BorderPadding" border="0" alt="BorderPadding" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/11/BorderPadding_thumb.png" width="312" height="452" /></a> </p>
<p>5. Click â€œOkâ€ :-)</p>
<p>So, the reason i blogged about this? I wasnâ€™t able to find this very quickly and i needed a reason to try out LiveWriter :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2009/11/settings-border-size-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2009/11/settings-border-size-in-windows-7/</feedburner:origLink></item>
		<item>
		<title>Other info from K2 Conference</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/s9vq9aAmvJk/</link>
		<comments>http://cyclops.nettrends.nl/blog/2009/10/other-info-from-k2-conference/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 10:20:37 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work > BlackPoint]]></category>
		<category><![CDATA[Work > K2 API]]></category>
		<category><![CDATA[Work > K2 Insider Conf 2009]]></category>
		<category><![CDATA[Work > K2.net]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=143</guid>
		<description><![CDATA[At the K2 conference, we also got information on what K2 will do with SharePoint 2010. As you can see in this post, K2 is working hard to enhance the  new functionality of the Office 2010 platform. Personally, i really like the integration with the office applications itself as lots of clients actually don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>At the K2 conference, we also got information on what K2 will do with SharePoint 2010. As you can see in <a href="http://k2underground.com/blogs/labs/archive/2009/10/26/k2-and-sharepoint-2010.aspx">this post</a>, K2 is working hard to enhance the  new functionality of the Office 2010 platform. Personally, i really like the integration with the office applications itself as lots of clients actually don&#8217;t want to leave outlook.</p>
<p>Apart from this new functionality, K2 will also support the current functionality in SP2010, which we saw a demo of at the conference. This makes K2 the only workflow engine i know that is able to work with SP2003, SP2007 and SP2010. To make it even more cool, you can combine those in one single workflow!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2009/10/other-info-from-k2-conference/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2009/10/other-info-from-k2-conference/</feedburner:origLink></item>
		<item>
		<title>K2 Insider Conference 2009</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/PVoYty6JKEw/</link>
		<comments>http://cyclops.nettrends.nl/blog/2009/10/k2-insider-conference-200/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 16:04:57 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Work > K2 API]]></category>
		<category><![CDATA[Work > K2 Insider Conf 2009]]></category>
		<category><![CDATA[Work > K2.net]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=132</guid>
		<description><![CDATA[Last weekend was the K2 insider Conference in Las Vegas. They neatly planned it just before the SharePoint Conference to make it more easy for us to come over. This post will not cover a lot of info thatâ€™s been said at the conference, some of it is even under NDA, so Iâ€™m simply not [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_141" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-141" title="IMG_7534" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/10/IMG_7534-300x257.jpg" alt="K2 Insider Conference" width="300" height="257" /><p class="wp-caption-text">K2 Insider Conference</p></div>
<p>Last weekend was the K2 insider Conference in Las Vegas. They neatly planned it just before the SharePoint Conference to make it more easy for us to come over. This post will not cover a lot of info thatâ€™s been said at the conference, some of it is even under NDA, so Iâ€™m simply not allowed to blog about, which is a shame, as I canâ€™t wait to get all those new bits!</p>
<h2>Start of the conference</h2>
<p><a href="http://twitter.com/chrisgeier">Chris Geier</a> kicked of the conference by an introduction round and checking what everybody wants to get out of this conference, most of the insiders want to see the new bits and talk about issues that they had in their projects.</p>
<p>After that it was <a href="http://twitter.com/mwa3aan">Adriaan van Wyk</a> to explain how they are handling the economical situation in the world. In general K2 is doing very well and handling the situation as they should be, which reassures me in the future of K2.<br />
After this all, Adriaan gave us a overview of how they set out to build K2 blackpearl and how a lot of functionality is in the platform but not exposed via UI since they simply didnâ€™t have the time and resource to do so, a good example of that is the Event Bus. It also shows why SmartObjects are so important and why they re-engineered a lot of the SmartObject code to make it perform better and really start using it as a way to surface and manage data around the processes.</p>
<p>Other good news is that K2 blackpoint and K2 blackpearl are now based on the same code-base and upgrades will be released at the same day.</p>
<h2>Next K2 release</h2>
<p>In the next release thereâ€™s been loads of work done to make installation easier. A lot of support tickets within K2 are based around infrastructure problems like Kerberos. With the new installer (which merges installation and configuration wizards), thereâ€™s an environment checker that checks your settings and sometimes automatically repairs them. The new installer also allows for unattended installations. Together this allows for super easy installation and checking if the Kerberos environment is configured correctly.</p>
<h3>K2 designer for SharePoint</h3>
<p>Also in the next release is a the new K2 designer of SharePoint. This basically is the Silverlight designer but is redesigned and made better, with one of the key features being inline functions and SmartObject filtering. Next to that, thereâ€™s new wizards available to allow you to do more with the designer.<br />
The K2 designer for SharePoint has also been enhanced, concepts as loops are available, this might seem a simple item, but youâ€™ll be amazed on how many workflow products do not support a loop/loopback.</p>
<p>Again, people will wonder it a Silverlight designer can bring enough functionality. If it does not, you can simply export the process and continue working on it in K2 blackpoint, and if thatâ€™s not enough, you can go to K2 blackpearl.</p>
<h3>Inline Functions</h3>
<p>Another new feature in the next release is Inline functions. It might not say a lot by the name, but it basically means that on every entry-field on a K2 wizard youâ€™re able to use functions â€“ all without code. What kind of functions? A lot. Think about math functions, expressions, string functions (like left, right, padding, etc), and much, much more. Now if you do think you can find a function thatâ€™s not available, you can simply create it yourself.<br />
Inline Functions allow for less use of code within K2 processes, which is important for the K2 designer for SharePoint and K2 blackpoint, as thereâ€™s no code available.<br />
To make it a bit more clear, here&#8217;s a screenshot:</p>
<div id="attachment_135" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/10/InlineFunctions.png"><img class="size-medium wp-image-135" title="InlineFunctions" src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/10/InlineFunctions-300x138.png" alt="Screenshot of an inline function (complex)" width="300" height="138" /></a><p class="wp-caption-text">Screenshot of an inline function (complex)</p></div>
<p>I&#8217;ll also try to create another blogpost on InLine functions to explain them better.</p>
<h3>Performance and stability enhancements</h3>
<p>Apart from new functionality, Koos Du Preez also had a talk on the performance enhancements made to the K2 server. In the past, there have been some problems with the Worklist performance, I can assure you, those days are over.</p>
<p>The performance of SmartObjects and the ADO.net provider has also been reviewed and improved. Some service brokers are now able to directly call the backend, eliminating a lot of overhead. Aside from that, a double buffer system is made so the SmartObject readers are way faster, sometimes even faster than calling the SQL Table directly.</p>
<h2>Conclusion</h2>
<p>The days flew by and where packed with info, the above article is just the tip of the K2 mountain. Canâ€™t wait to go ahead and work with those new bits and see the product improve and improve.</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2009/10/k2-insider-conference-200/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2009/10/k2-insider-conference-200/</feedburner:origLink></item>
		<item>
		<title>K2’s Custom Event Notification – Twitter</title>
		<link>http://feedproxy.google.com/~r/CyclopsBlog/~3/y8_jJNBg2Eo/</link>
		<comments>http://cyclops.nettrends.nl/blog/2009/09/k2-custom-event-notification-twitter/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 08:13:26 +0000</pubDate>
		<dc:creator>Ruben</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Work > K2 API]]></category>
		<category><![CDATA[Work > K2.net]]></category>

		<guid isPermaLink="false">http://cyclops.nettrends.nl/blog/?p=111</guid>
		<description><![CDATA[The K2 BlackPearl platform as it stands today is a large platform with a lot of out of the box functionality. When using out of the box products, I always fear that it might be too limited. When doing K2 projects I sometimes hit those boundaries, but Iâ€™m always able to use one of K2â€™s [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.k2.com">K2 BlackPearl</a> platform as it stands today is a large platform with a lot of out of the box functionality. When using out of the box products, I always fear that it might be too limited. When doing K2 projects I sometimes hit those boundaries, but Iâ€™m always able to use one of K2â€™s extension options to help me out. A custom action for the Event Bus (what this blog post is about) is just one of the possibilities.</p>
<p>The Event Bus/Scheduler itself is an impressive piece of architecture. You can read about it in chapter 21 of the <a href="http://www.amazon.com/Professional-K2-blackpearl-Wrox-Programmer/dp/0470293055">Professional K2 BlackPearl book</a>. The event bus is used to perform an action when a specific event occurs within K2. With the K2 workspace youâ€™re able to subscribe to those events. This extension provides you the ability to add your own assembly with static method and call that based on the event that occurred within K2.</p>
<h2>Example code</h2>
<p>To make a small example, Iâ€™ve written a class with two static functions that use the <a href="http://code.google.com/p/twitterizer/">Twitterizer API</a> to communicate with <a href="http://www.twitter.com/">Twitter</a>. Although <a href="http://www.linkedin.com/pub/jonathan-king/3/950/267">Jonathan</a> <a href="https://twitter.com/jonnoking">King</a> has got some more integration with Twitter, this seems to be a simple/good example for the Event Bus:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF;">using</span> <span style="color: #008080;">System</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Collections.Generic</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Text</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">Twitterizer.Framework</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">System.Configuration</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">using</span> <span style="color: #008080;">SourceCode.EventBus.Utils</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #0600FF;">namespace</span> TwitterCustomActionEvent
<span style="color: #000000;">&#123;</span>
    <span style="color: #0600FF;">public</span> <span style="color: #FF0000;">class</span> SendTweets
    <span style="color: #000000;">&#123;</span>
        <span style="color: #0600FF;">private</span> <span style="color: #0600FF;">static</span> Twitter CreateTwitter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            AssemblySettings settings <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> AssemblySettings<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #FF0000;">string</span> proxyUrl <span style="color: #008000;">=</span> settings<span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;ProxyUri&quot;</span><span style="color: #000000;">&#93;</span> <span style="color: #0600FF;">as</span> string<span style="color: #008000;">;</span>
            <span style="color: #FF0000;">string</span> username <span style="color: #008000;">=</span> settings<span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;TwitterUsername&quot;</span><span style="color: #000000;">&#93;</span> <span style="color: #0600FF;">as</span> string<span style="color: #008000;">;</span>
            <span style="color: #FF0000;">string</span> password <span style="color: #008000;">=</span> settings<span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;TwitterPassword&quot;</span><span style="color: #000000;">&#93;</span> <span style="color: #0600FF;">as</span> string<span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #000000;">&#40;</span>username<span style="color: #000000;">&#41;</span> <span style="color: #008000;">||</span> <span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #000000;">&#40;</span>password<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                <span style="color: #0600FF;">throw</span> <span style="color: #008000;">new</span> ArgumentException<span style="color: #000000;">&#40;</span><span style="color: #666666;">&quot;The username and password should be supplied by the Application Configuration file.&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
&nbsp;
            Twitter twit<span style="color: #008000;">;</span>
&nbsp;
            <span style="color: #0600FF;">if</span> <span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">IsNullOrEmpty</span><span style="color: #000000;">&#40;</span>proxyUrl<span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span> <span style="color: #000000;">&#123;</span>
                twit <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Twitter<span style="color: #000000;">&#40;</span>username, password, <span style="color: #666666;">&quot;K2 Notifications&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span> <span style="color: #0600FF;">else</span> <span style="color: #000000;">&#123;</span>
                twit <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Twitter<span style="color: #000000;">&#40;</span>username, password, <span style="color: #666666;">&quot;K2 Notifications&quot;</span>, proxyUrl<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            <span style="color: #000000;">&#125;</span>
&nbsp;
            <span style="color: #0600FF;">return</span> twit<span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> SendTweet<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> text<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            Twitter twit <span style="color: #008000;">=</span> CreateTwitter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            twit.<span style="color: #0000FF;">Status</span>.<span style="color: #0000FF;">Update</span><span style="color: #000000;">&#40;</span>text<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span>
&nbsp;
        <span style="color: #0600FF;">public</span> <span style="color: #0600FF;">static</span> <span style="color: #0600FF;">void</span> DirectMessage<span style="color: #000000;">&#40;</span><span style="color: #FF0000;">string</span> toUser, <span style="color: #FF0000;">string</span> text<span style="color: #000000;">&#41;</span>
        <span style="color: #000000;">&#123;</span>
            Twitter twit <span style="color: #008000;">=</span> CreateTwitter<span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
            twit.<span style="color: #0000FF;">DirectMessages</span>.<span style="color: #008000;">New</span><span style="color: #000000;">&#40;</span>toUser, text<span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
        <span style="color: #000000;">&#125;</span>
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></div></div>

<p>As you can see, there are 3 methods. Only the Public static methods are seen by the K2 Custom Event Wizard. The private method instantiates the Twitter API and uses the AssemblySettings class to get some configuration settings. The two public methods simply send a Direct Message to a twitter user or send out a simple tweet (status update).</p>
<p>In the CreateTwitter() method, a AssemblySettings object gets initialized. This object can be found in the SourceCode.EventBus.Utils namespace and allows simple configuration files to be loaded. A sample of that config:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;?</span>xml version<span style="color: #008000;">=</span><span style="color: #666666;">&quot;1.0&quot;</span> encoding<span style="color: #008000;">=</span><span style="color: #666666;">&quot;utf-8&quot;</span> <span style="color: #008000;">?&gt;</span>
<span style="color: #008000;">&lt;</span>configuration<span style="color: #008000;">&gt;</span>
	<span style="color: #008000;">&lt;</span>appsettings<span style="color: #008000;">&gt;</span>
		<span style="color: #008000;">&lt;</span>TwitterUsername<span style="color: #008000;">&gt;</span>username<span style="color: #008000;">&lt;/</span>TwitterUsername<span style="color: #008000;">&gt;</span>
		<span style="color: #008000;">&lt;</span>TwitterPassword<span style="color: #008000;">&gt;</span>password<span style="color: #008000;">&lt;/</span>TwitterPassword<span style="color: #008000;">&gt;</span>
		<span style="color: #008000;">&lt;</span>ProxyUri<span style="color: #008000;">/&gt;</span>
	<span style="color: #008000;">&lt;/</span>appsettings<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>configuration<span style="color: #008000;">&gt;</span></pre></div></div>

<p>Although it might look like a normal application configuration file (.config), it is not! Normally you would see â€˜&lt;add&gt;â€™ nodes in the app<b>S</b>ettings list. The AssemblySettings class reads the the XML and parses it. Be sure to use â€˜app<b>s</b>ettingsâ€™ in lowercase, as the xml parsing is case sensitive.</p>
<p>The SendTweet and DirectMessage methods simply send calls the Twitterizer API.<br />
The above class is put into a signed class library project.</p>
<h2>Installing the Custom Event</h2>
<p>After you have build this class, create a folder in C:\Program Files\K2 BlackPearl\Host Server\Bin, or whatever directory youâ€™ve installed K2 into.<br />
In my case, Iâ€™ve named the directory â€˜twitterâ€™ and placed 3 files:</p>
<ul>
<li>TwitterCustomActionEvent.DLL</li>
<li>TwitterCustomActionEvent.DLL.config</li>
<li>Twitterizer.Framework.dll</li>
</ul>
<p>As you can see, also placed the referenced assemblies in the same folder, and create a config file thatâ€™s the same name as the DLL, with .config after it.</p>
<p>Now, open up the SourceCode.EventBus.Assemblies.config file located in the Host Server\bin folder. This file is a simple configuration file so the K2 server knows which assemblies it can use for Actions in the Event Notification. Simply add a assembly line, give it a Displayname and locate the Assemly that it sould use. Mine looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #008000;">&lt;?</span>xml version<span style="color: #008000;">=</span><span style="color: #666666;">&quot;1.0&quot;</span> encoding<span style="color: #008000;">=</span><span style="color: #666666;">&quot;utf-8&quot;</span><span style="color: #008000;">?&gt;</span>
<span style="color: #008000;">&lt;</span>configuration<span style="color: #008000;">&gt;</span>
	<span style="color: #008000;">&lt;</span>appsettings<span style="color: #008000;">&gt;</span>
		<span style="color: #008000;">&lt;</span>assemblies<span style="color: #008000;">&gt;</span>
			<span style="color: #008000;">&lt;</span>assembly displayname<span style="color: #008000;">=</span><span style="color: #666666;">&quot;EventAssemblies&quot;</span> fullname<span style="color: #008000;">=</span><span style="color: #666666;">&quot;c:<span style="color: #008080; font-weight: bold;">\p</span>rogram files<span style="color: #008080; font-weight: bold;">\k</span>2 blackpearl<span style="color: #008080; font-weight: bold;">\H</span>ost Server<span style="color: #008080; font-weight: bold;">\B</span>in<span style="color: #008080; font-weight: bold;">\S</span>ourceCode.EventBus.EventAssemblies.dll&quot;</span> <span style="color: #008000;">/&gt;</span>
			<span style="color: #008000;">&lt;</span>assembly displayname<span style="color: #008000;">=</span><span style="color: #666666;">&quot;TweetAssembly&quot;</span> fullname<span style="color: #008000;">=</span><span style="color: #666666;">&quot;c:<span style="color: #008080; font-weight: bold;">\p</span>rogram files<span style="color: #008080; font-weight: bold;">\k</span>2 blackpearl<span style="color: #008080; font-weight: bold;">\H</span>ost Server<span style="color: #008080; font-weight: bold;">\B</span>in<span style="color: #008080; font-weight: bold;">\t</span>witter<span style="color: #008080; font-weight: bold;">\T</span>witterCustomActionEvent.dll&quot;</span> <span style="color: #008000;">/&gt;</span>
		<span style="color: #008000;">&lt;/</span>assemblies<span style="color: #008000;">&gt;</span>
	<span style="color: #008000;">&lt;/</span>appsettings<span style="color: #008000;">&gt;</span>
<span style="color: #008000;">&lt;/</span>configuration<span style="color: #008000;">&gt;</span></pre></div></div>

<h2>Configure the Action Subscription</h2>
<p>After this, restart the K2 hostserver and go to the K2 workspace. Open up the Notification events menu and select. On the screen that opens,click New event in the bottom right hand corner.</p>
<p><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-custom-event-designer.png" alt="select-custom-event-designer" title="select-custom-event-designer" width="322" height="202" class="aligncenter size-full wp-image-117" /></p>
<p>Enter a name and description, select next.</p>
<div id="attachment_114" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/enter-details.png"><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/enter-details-300x173.png" alt="Click to enlarge" title="Enter details" width="300" height="173" class="size-medium wp-image-114" /></a><p class="wp-caption-text">Click to enlarge</p></div>
<p>Now, you get a screen where you can select the event you want to subscribe to, in this case, Iâ€™ve selected the OnProcessStarted event.</p>
<div id="attachment_118" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-event.png"><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-event-300x144.png" alt="Click to Enlarge" title="Select a Event" width="300" height="144" class="size-medium wp-image-118" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p>Time to select the action, this is done by first selecting the assembly. Click search and get all of them, including the one you&#8217;ve just added.</p>
<div id="attachment_115" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-assembly.png"><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-assembly-300x142.png" alt="Click to Enlarge" title="select-assembly" width="300" height="142" class="size-medium wp-image-115" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p>Click next and select the class you want to use. In this example, TwitterCustomActionEvent.SendTweets.</p>
<div id="attachment_116" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-class.png"><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-class-300x141.png" alt="Click to Enlarge" title="select-class" width="300" height="141" class="size-medium wp-image-116" /></a><p class="wp-caption-text">Click to Enlarge</p></div>
<p>Click next to select the Method you want to use, Iâ€™m going to do â€˜SendTweetâ€™, finally click finish.</p>
<div id="attachment_119" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-method.png"><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/select-method-300x141.png" alt="Click to enlarge" title="Select a Method" width="300" height="141" class="size-medium wp-image-119" /></a><p class="wp-caption-text">Click to enlarge</p></div>
<p>As you can see, the screen is updated and you are now able to add Action Parameters. Simply select data from the left object browser and drag them into the Text field. You can add extra text if you want too.</p>
<div id="attachment_113" class="wp-caption aligncenter" style="width: 310px"><a href="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/enter-action-parameters.png"><img src="http://cyclops.nettrends.nl/blog/wp-content/uploads/2009/09/enter-action-parameters-300x152.png" alt="Click to enlarge" title="enter-action-parameters" width="300" height="152" class="size-medium wp-image-113" /></a><p class="wp-caption-text">Click to enlarge</p></div>
<p>After that, click finish and youâ€™re done! Start the process and see your twitter happening!</p>
]]></content:encoded>
			<wfw:commentRss>http://cyclops.nettrends.nl/blog/2009/09/k2-custom-event-notification-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cyclops.nettrends.nl/blog/2009/09/k2-custom-event-notification-twitter/</feedburner:origLink></item>
	</channel>
</rss>
