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

<channel>
	<title>Hagenberg Software Blog &#187; Evelyn Schinko</title>
	<atom:link href="http://blog.hagenberg-software.at/author/scheve/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hagenberg-software.at</link>
	<description>Hagenberg Software blogs about software, Microsoft and SharePoint</description>
	<lastBuildDate>Mon, 21 Nov 2011 10:56:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Copy/Paste bug in VS 2010</title>
		<link>http://blog.hagenberg-software.at/2010/12/copypaste-bug-in-vs-2010/</link>
		<comments>http://blog.hagenberg-software.at/2010/12/copypaste-bug-in-vs-2010/#comments</comments>
		<pubDate>Tue, 21 Dec 2010 13:19:28 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[Software Entwicklung]]></category>
		<category><![CDATA[Microsoft Visual Studio]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=889</guid>
		<description><![CDATA[The copy/paste bug from Visual Studio 2010 is fixed now: https://connect.microsoft.com/VisualStudio/feedback/details/553061/vs2010-copy-paste-functions-are-not-working-as-expected?wa=wsignin1.0 Since Dec, 7th the SP1 Beta is availalbe, which fixes the bug. You can download the SP1 Beta from here: http://go.microsoft.com/fwlink/?LinkId=207130]]></description>
			<content:encoded><![CDATA[<p>The copy/paste bug from Visual Studio 2010 is fixed now:</p>
<p><a href="https://connect.microsoft.com/VisualStudio/feedback/details/553061/vs2010-copy-paste-functions-are-not-working-as-expected?wa=wsignin1.0">https://connect.microsoft.com/VisualStudio/feedback/details/553061/vs2010-copy-paste-functions-are-not-working-as-expected?wa=wsignin1.0</a></p>
<p>Since Dec, 7th the SP1 Beta is availalbe, which fixes the bug.</p>
<p>You can download the SP1 Beta from here: http://go.microsoft.com/fwlink/?LinkId=207130</p>
<div class="zemanta-pixie" style="margin-top: 10px;height: 15px"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: none;float: right" src="http://img.zemanta.com/zemified_e.png?x-id=b8781a26-6971-42e3-a98d-83eab6206d66" alt="Enhanced by Zemanta" /></a><span class="zem-script more-related pretty-attribution"></span></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2010/12/copypaste-bug-in-vs-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding the taxonomy control to a custom page</title>
		<link>http://blog.hagenberg-software.at/2010/06/adding-the-taxonomy-control-to-a-custom-page/</link>
		<comments>http://blog.hagenberg-software.at/2010/06/adding-the-taxonomy-control-to-a-custom-page/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 17:35:09 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Software Entwicklung]]></category>
		<category><![CDATA[Metadata]]></category>
		<category><![CDATA[Metadata service]]></category>
		<category><![CDATA[Microsoft SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Taxonomy]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=764</guid>
		<description><![CDATA[In my current project I&#8217;m dealing with different custom forms for my lists. The list contains a colum of type &#8220;managed metadata&#8221;. In one of my custom display forms I wanted to add the taxonomy feature and the relevant properties from the column settings. To archieve that I did the following: Adding a reference to [...]]]></description>
			<content:encoded><![CDATA[<p>In my current project I&#8217;m dealing with different custom forms for my lists. The list contains a colum of type &#8220;managed metadata&#8221;.</p>
<p>In one of my custom display forms I wanted to add the taxonomy feature and the relevant properties from the column settings. To archieve that I did the following:</p>
<p>Adding a reference to the control:</p>
<pre>&lt;%@ Register TagPrefix="Taxonomy" Namespace="Microsoft.SharePoint.Taxonomy" Assembly="Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %&gt;</pre>
<p>Inserting the control:</p>
<pre>&lt;Taxonomy:TaxonomyWebTaggingControl ID="taxonomyCntrl" runat="server" /&gt;</pre>
<p>In the code behind (C#) class I put the properties to the control:</p>
<pre>public static TaxonomyField GetTaxonomyFieldOfList(string listname, string fieldname){
SPList questionList = SPContext.Current.Web.Lists[listname];
return questionList.Fields[fieldname] as TaxonomyField; }
-----------
TaxonomyField taxonomyInfo = SPListUtility.GetTaxonomyFieldOfList("list name", "Tags (=column name)");
<span style="color: #3366ff;">if (taxonomyInfo != null) {</span>
<span style="color: #3366ff;">this.taxonomyCntrl.SspId.Add(taxonomyInfo.SspId);</span>
<span style="color: #3366ff;">this.taxonomyCntrl.TermSetId.Add(taxonomyInfo.TermSetId);</span>
<span style="color: #3366ff;">this.taxonomyCntrl.IsAddTerms = true;</span>
<span style="color: #3366ff;">this.taxonomyCntrl.AllowFillIn = true;</span>
<span style="color: #3366ff;">this.taxonomyCntrl.IsMulti = true;</span>
<span style="color: #3366ff;">}</span></pre>
<p>This is the code to set the necessary properties for the managemend metadata.</p>
<p>For saving back the value to the list the following code could be used:</p>
<pre><span style="color: #3366ff;">TaxonomyFieldValueCollection tfvc = TaxonomyFieldControl.GetTaxonomyCollection(this.taxonomyCntrl.Text);</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2010/06/adding-the-taxonomy-control-to-a-custom-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visual Studio 2010: Deploying Content Types and Site Columns</title>
		<link>http://blog.hagenberg-software.at/2010/06/visual-studio-2010-deploying-content-types-and-site-columns/</link>
		<comments>http://blog.hagenberg-software.at/2010/06/visual-studio-2010-deploying-content-types-and-site-columns/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 19:30:13 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft SharePoint]]></category>
		<category><![CDATA[Microsoft Visual Studio]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=753</guid>
		<description><![CDATA[When deploying a SharePoint 2010 solution, sometimes the automatic deployment with Visual Studio 2010 works and sometimes the following error message occurs: &#8220;Error occurred in deployment step Activate Features&#8221; The content type with Id &#8216;xx&#8217; defined in feature &#8216;yy&#8217; was found in the current site collection or in a subsite. I would expect, that the [...]]]></description>
			<content:encoded><![CDATA[<div>When deploying a SharePoint 2010 solution, sometimes the automatic deployment with <a class="zem_slink" title="Microsoft Visual Studio" rel="homepage" href="http://msdn.microsoft.com/vstudio/">Visual Studio 2010</a> works and sometimes the following error message occurs:</div>
<div>&#8220;Error occurred in deployment step Activate Features&#8221; The content type with Id &#8216;xx&#8217; defined in feature &#8216;yy&#8217; was found in the current site collection or in a subsite.</div>
<div>I would expect, that the Retract action removes the whole solution and also the site columns. After executing the Retracting process the site columns are removed in SharePoint; but after redeploying it &#8211; the error still occurs <img src='http://blog.hagenberg-software.at/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </div>
<div>So, I did some recherche on the net and found an explaination in the <a href="http://social.msdn.microsoft.com/Forums/en/sharepointdevelopmentprerelease/thread/e965c124-2d41-4a15-82c0-c9a42dabf2a">MSDN forum</a>, answered by Mujahid Hasan (SDE, Visual Studio):</div>
<div>This problem is caused due to how SharePoint maintains it&#8217;s caches even after the solution (WSP) has been retracted. Your assumption is correct, the Field is actually retracted before the next deployment but due to a stale cache it fails on re-deployment. There are a couple of workarounds to fix this:</div>
<p>&nbsp;</p>
<div><strong>Workaround 1:</strong></div>
<div>
<ul>
<li>Right click on Project node in Solution explorer and click &#8220;Retract&#8221;. This will retract the Field.</li>
<li>Close VS. This will flush the stale cache.</li>
<li>Open the project in a new instance of VS and re-deploy the solution.</li>
</ul>
</div>
<div><strong>Workaround 2:</strong></div>
<div><strong><br />
</strong></div>
<div>If closing VS after retract doesn&#8217;t solve the problem then a longer workaround is:</div>
<div>
<ul>
<li>Redeploy the project -&gt; This will show an error during feature activation.</li>
<li>Go to &#8220;Manage Site Features&#8221; under &#8220;Site Settings&#8221; in SharePoint UI in the browser.</li>
<li>Activate and then Deactivate the deployed feature which contains the Field.</li>
<li>Retract the Solution in VS i.e. right click on the Project node and click &#8220;Retract&#8221;.</li>
<li>Close VS. This will flush the stale cache.</li>
<li>Open the project in a new instance of VS and re-deploy the solution. This should work.</li>
</ul>
</div>
<div>In my case the second workaround worked fine, but I think it&#8217;s quite uninteressting to do that work with every deployment.</div>
<div>So, I did the following:</div>
<div>I created a custom deployment process (project settings -&gt; sharepoint) &#8211; without the activate feature step. So the deployment is finished with the Add Solution action and a activated the featue manually.</div>
<div>That&#8217;s working fine now.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2010/06/visual-studio-2010-deploying-content-types-and-site-columns/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nintex Workflow 2010</title>
		<link>http://blog.hagenberg-software.at/2010/01/nintex-workflow-2010/</link>
		<comments>http://blog.hagenberg-software.at/2010/01/nintex-workflow-2010/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 10:06:23 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Nintex Workflow 2010]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=612</guid>
		<description><![CDATA[Nintex Workflow 2010 offers functional and feature rich SharePoint workflow to your organization. It takes the powerful-yet-easy design, deployment, management, and integration features of Nintex Workflow 2007 to the SharePoint 2010 platform, with improved process monitoring, extensibility, and designer productivity. Any SharePoint user can create and maintain elaborate workflows using a browser-based graphical web browser [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/nw2010.png"><img class="alignleft size-full wp-image-613" src="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/nw2010.png" alt="" width="234" height="64" /></a></p>
<p>Nintex Workflow 2010 offers functional and feature rich SharePoint workflow to your organization. It takes the powerful-yet-easy design, deployment, management, and integration features of Nintex Workflow 2007 to the SharePoint 2010 platform, with improved process monitoring, extensibility, and designer productivity.</p>
<ul>
<li>Any SharePoint user can create and maintain elaborate workflows using a browser-based graphical web browser interface</li>
<li>Monitor and manage workflow activity across lists, sites, collections, applications, and farms</li>
<li>Maximum value with minimum footprint and minimal IT administrative burden</li>
<li>Extend design and runtime options using Windows Workflow Foundation expertise</li>
</ul>
<p>Nintex published the following videos:</p>
<div><strong>Nintex Workflow 2010 – User Experience Enhancements</strong></div>
<div><a href="http://nintexdownload.com/video/Nintex_Workflow_2010_User_Experience_Enhancements.wmv" target="_blank">Video link</a></div>
<div><strong>Nintex Workflow 2010 – Embracing SharePoint 2010 Platform Enhancements</strong></div>
<div><a href="http://nintexdownload.com/video/Nintex_Workflow_2010_Embracing_SharePoint_2010_Platform_Enhancements.wmv" target="_blank">Video link</a></div>
<div><strong>Nintex Workflow 2010 – Extensions and Integration Enhancements</strong></div>
<div><a href="http://nintexdownload.com/video/Nintex_Workflow_2010_Extensions_and_Integration_Enhancements.wmv" target="_blank">Video link</a></div>
<div><strong>Nintex Workflow 2010 – Manageability Enhancements</strong></div>
<div><a href="http://nintexdownload.com/video/Nintex_Workflow_2010_Manageability_Enhancements.wmv" target="_blank">Video link</a></div>
<div>The videos show the new style of Nintex Workflow 2010, base on SharePoint 2010. The usability was improved and is quite cool now. So, eg. it&#8217;s easier to create workflow variables during configuring workflow tasks.</div>
<div><a href="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/lookandfeel.png"><img class="size-medium wp-image-614 alignnone" src="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/lookandfeel-300x184.png" alt="" width="300" height="184" /></a></div>
<div>More new features are:</div>
<div>
<ul>
<li>Designing reusable workflows<br />
With Nintex Workflow 2010 you can create reusable workflows which can be bound to different list, libraries or content types. When using variables or columns which are not available in the current list (were the workflow is bound), the column is created automatically trough the workflow.</li>
<li>Possiblity to create site scoped workflows, which are not bound to specific types (eg. watch different lists,&#8230;)
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/siteworkflow.png"><img class="size-medium wp-image-615 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/siteworkflow-300x184.png" alt="" width="300" height="184" /></a> <a href="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/siteworkflow2.png"><img class="size-medium wp-image-616 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/siteworkflow2-220x300.png" alt="" width="220" height="300" /></a></p>
</li>
<li> An InfoPath form can be used inside a list. This is a new feature of SharePoint 2010. Nintex Workflow 2010 fully supports InfoPath forms.</li>
<li>Offering more custom actions and integration services (eg. BCS, Check availability (a user&#8217;s calendar is checked; exchange)).</li>
<li>New: Line of Business: Actions for doing actions on Microsoft CRM, Microsoft Project Server ans SAP<br />
These new actions are not representing code (like other workflow actions); they represent a workflow<br />
<a href="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/lob_crm.png"><img class="alignnone size-full wp-image-617" src="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/lob_crm.png" alt="" width="125" height="276" /></a> <a href="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/lob_project.png"><img class="alignnone size-full wp-image-618" src="http://blog.hagenberg-software.at/wp-content/uploads/2010/01/lob_project.png" alt="" width="122" height="235" /></a></li>
<li>More options for developer: you can easily create your own custom business objects for the tool bar (based on workflows and/or code)</li>
<li>Some lookup functions can be customized. For example: The lookup manager function is by default based to lookup in Active directory. Administrators have the possibility to change that in Central Administration; eg. base on SQL Server database</li>
</ul>
</div>
<p>There are still lots of more new functionality &#8211; just have a look to the videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2010/01/nintex-workflow-2010/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
<enclosure url="http://nintexdownload.com/video/Nintex_Workflow_2010_User_Experience_Enhancements.wmv" length="6070868" type="video/x-ms-wmv" />
<enclosure url="http://nintexdownload.com/video/Nintex_Workflow_2010_Embracing_SharePoint_2010_Platform_Enhancements.wmv" length="6383978" type="video/x-ms-wmv" />
<enclosure url="http://nintexdownload.com/video/Nintex_Workflow_2010_Extensions_and_Integration_Enhancements.wmv" length="7035890" type="video/x-ms-wmv" />
<enclosure url="http://nintexdownload.com/video/Nintex_Workflow_2010_Manageability_Enhancements.wmv" length="5564038" type="video/x-ms-wmv" />
		</item>
		<item>
		<title>NHibernate was blocked (starting my unit test project)</title>
		<link>http://blog.hagenberg-software.at/2009/11/nhibernate-was-blocked-starting-my-unit-test-project/</link>
		<comments>http://blog.hagenberg-software.at/2009/11/nhibernate-was-blocked-starting-my-unit-test-project/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:24:23 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[Software Entwicklung]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Unit Test]]></category>
		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=450</guid>
		<description><![CDATA[When trying to start my unit test projekt today (in Visual Studio 2008), I ran across an interesting problem. My project which I&#8217;d liked to test referenced the NHibernate assembly. The test manager aborted with the following error: This error seemed pretty strange to me because the assembly wasn&#8217;t located on a network share but simply [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to start my unit test projekt today (in Visual Studio 2008), I ran across an interesting problem. My project which I&#8217;d liked to test referenced the NHibernate assembly. The test manager aborted with the following error:</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/11/nhibernate_error1.PNG"><img class="aligncenter size-full wp-image-453" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/11/nhibernate_error1.PNG" alt="nhibernate_error" width="410" height="79" /></a></p>
<p>This error seemed pretty strange to me because the assembly wasn&#8217;t located on a network share but simply on my local machine. After some time of researching I found an <a href="http://smartclientfactory.blogspot.com/2008/01/nmock2-was-blocked.html" target="_blank">article </a>on the web (thanks to Winston Johnston) where the solution is described:</p>
<div>Locate NHibernate.dll on disk and open the file properties dialogue. There you will notice the following at the bottom of the general tab:</div>
<div><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/11/nhibernate_fileproperties.PNG"><img class="aligncenter size-full wp-image-452" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/11/nhibernate_fileproperties.PNG" alt="nhibernate_fileproperties" width="341" height="462" /></a></div>
<div></div>
<div>Windows Vista/Windows 7 detected that the assemblies as untrusted and mark them as un-trusted code.</p>
<p>Anyway, if you experience this issue, simply click the Unblock button and the assembly will become trusted. You may need to restart Visual Studio before the tests will run. In my case that was not necessary.</p></div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2009/11/nhibernate-was-blocked-starting-my-unit-test-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DevCamp: Komplexe Dateneingabe in Sharepoint für Inhaltstypen</title>
		<link>http://blog.hagenberg-software.at/2009/11/devcamp-komplexe-dateneingabe-in-sharepoint-fur-inhaltstypen/</link>
		<comments>http://blog.hagenberg-software.at/2009/11/devcamp-komplexe-dateneingabe-in-sharepoint-fur-inhaltstypen/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 14:29:06 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[DevCamp]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOSS]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=430</guid>
		<description><![CDATA[Leider kam SharePoint am diesjährigen DevCamp meiner Meinung nach etwas zu kurz. Das liegt wahrscheinlich auch daran, dass eine Woche nach dem DevCamp die SharePoint Konferenz in Las Vegas begann und somit vorab keine Infos zu SharePoint 2010 gezeigt werden durften. Am DevCamp gab es lediglich einen Vortrag von Stephan Kitzler-Walli, der sich mit komplexen [...]]]></description>
			<content:encoded><![CDATA[<p>Leider kam SharePoint am diesjährigen DevCamp meiner Meinung nach etwas zu kurz. Das liegt wahrscheinlich auch daran, dass eine Woche nach dem DevCamp die SharePoint Konferenz in Las Vegas begann und somit vorab keine Infos zu SharePoint 2010 gezeigt werden durften.</p>
<p>Am DevCamp gab es lediglich einen Vortrag von Stephan Kitzler-Walli, der sich mit komplexen Dateneingabemasken für SharePoint 2007 beschäftigte. In diesem Vortrag ging es darum, Dateneingabemasken, die ab einer bestimmten Datengröße unübersichtlich und unhandlich zu bedienen werden, übersichtlicher mittels Silverlight zu gestalten. Die neue Eingabemaske wurde für einen Inhaltstypen erstellt. Inhaltstypen bieten folgende Vorteile: Vorlage für Metadaten, Vorlage für Dokumenttypen, Wiederverwendbarkeit, Vererbung, … &#8211; daher eignet sich die Maske für eine Inhaltstyp zu erstellen sehr, da automatisch alle vorhandenen Eingabemaske mit der neuen Maske ersetzt werden.</p>
<p>Folgende Maske veranschaulicht eine Bearbeitungsmaske des Datentyps „Kontakt“, die aufgrund der Länge bereits sehr unübersichtlich ist.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/11/screen_kontakt.jpg"><img class="aligncenter size-full wp-image-431" title="screen_kontakt" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/11/screen_kontakt.jpg" alt="screen_kontakt" width="407" height="369" /></a></p>
<p>Im Rahmen des einstündigen Vortrages, wurde live anhand eines Codebeispiels eine neue Silverlight-Eingabemaske erstellt. Diese Eingabemaske basiert auf einer XAML-Datei, die die Layout-Struktur des Formulars definiert. Die Felder werden dynamisch mittels Reflection aus dem Inhaltstypen gelesen und auch dynamisch im Silverligth-Formular angezeigt.</p>
<p>Die neue Eingabemaske sieht ein verbessertes Layout vor, bei dem die Eingabedaten thematisch auf mehrere Tab-Reiter verteilt werden. Bei Aktivierung des Features werden die Standard-SharePoint-Eingabemasken des Inhaltstyps „Kontakt“ durch die  Silverlight-Eingabemaske ersetzt. Egal, wo in der SiteCollection nun eine Kontakt-Eingabemaske angezeigt wird, diese wird durch die neue Maske ersetzt.</p>
<p>Die Präsentation, der SourceCode sowie das Video zu diesem Vortrag sind unter <a href="http://www.devcamp.at/Archive.aspx">http://www.devcamp.at/Archive.aspx</a> verfügbar. Leider ist da Video des Vortrages derzeit noch nicht fertig – diese stehen ab ca. Mitte November zur Verfügung.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2009/11/devcamp-komplexe-dateneingabe-in-sharepoint-fur-inhaltstypen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating workflows for SharePoint 2010 with Office Visio 2010</title>
		<link>http://blog.hagenberg-software.at/2009/10/creating-workflows-for-sharepoint-2010-with-office-visio-2010/</link>
		<comments>http://blog.hagenberg-software.at/2009/10/creating-workflows-for-sharepoint-2010-with-office-visio-2010/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 11:53:16 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint Designer 2010]]></category>
		<category><![CDATA[Visio 2010]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=391</guid>
		<description><![CDATA[Microsoft has improved the new version of Visio. With the new version of Visio you can create workflows for SharePoint 2010. In my opinion it’s a great feature, because it’s now possible to split the process of creating workflows. People of speciality departments with no technical background can model their business processes with Visio. Workfows [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has improved the new version of Visio. With the new version of Visio you can create workflows for SharePoint 2010. In my opinion it’s a great feature, because it’s now possible to split the process of creating workflows. People of speciality departments with no technical background can model their business processes with Visio. Workfows which they created can be exported to a specific file format, which can be imported by Microsoft SharePoint Designer. So, software designers or people with technical background can configure the workflow with business logic and can publish the workflow to SharePoint.</p>
<p>Now I would like to explain the new Visio features more detailed. Opening Visio the first time, you will see that Visio 2010 comes with a new template – Microsoft SharePoint Workflow.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Microsoft-SharePoint-Workflow1.png" target="_blank"><img class="aligncenter size-full wp-image-396" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Microsoft-SharePoint-Workflow1.png" alt="Microsoft SharePoint Workflow" width="271" height="231" /></a></p>
<p>This template offers quite new shapes for SharePoint workflows, which are separated into the following groups:</p>
<ul>
<li>SharePoint Workflow Actions</li>
</ul>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Workflow-Actions2.png" target="_blank"><img class="size-full wp-image-398 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Workflow-Actions2.png" alt="SharePoint Workflow Actions" width="405" height="199" /></a></p>
<ul>
<li>SharePoint Workflow Conditions</li>
</ul>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Workflow-Conditions1.png" target="_blank"><img class="size-full wp-image-399 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Workflow-Conditions1.png" alt="SharePoint Workflow Conditions" width="429" height="114" /></a></p>
<ul>
<li>SharePoint Workflow Terminators</li>
</ul>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Workflow-Terminators1.png" target="_blank"><img class="size-full wp-image-400 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Workflow-Terminators1.png" alt="SharePoint Workflow Terminators" width="235" height="78" /></a></p>
<p>I started to design my first Visio workflow, which is a simple request for leave. The shapes can be inserted quite easy – just drag and drop it to the page. After connecting the shapes my workflow seems to be finished.</p>
<p style="text-align: center"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Request-for-leave-workflow.png" target="_blank"><img class="size-full wp-image-402 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Request-for-leave-workflow.png" alt="Request for leave workflow" width="410" height="342" /></a></p>
<p>Before exporting the workflow to the Visio Workflows Interchange file, you have to check the diagram. If any error occurs, it’s not possible to export the diagram.</p>
<p style="text-align: center"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Visio-Ribbon.png" target="_blank"><img class="size-full wp-image-403 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Visio-Ribbon.png" alt="Visio Ribbon" width="310" height="131" /></a></p>
<p>In my case I used custom conditions twice (as you can see in the diagram). Unfortunately, check process was not successful. It seems that the check process did not recognize the custom condition shapes. Therefore the other shapes are not connected to the workflow.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Issue-Window.png" target="_blank"><img class="aligncenter size-full wp-image-404" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Issue-Window.png" alt="Issue Window" width="378" height="134" /></a></p>
<p>I also tried to ignore the rule, but nevertheless the diagram could not be exported. I hope that this is just a bug of the Technical Preview and will be solved in the next version of Visio.</p>
<p>So, I will explain the generated Visio Workflows Interchange file with another example. I just created a simple diagram with two shapes.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Microsoft-SharePoint-Workflow-2.png" target="_blank"><img class="aligncenter size-full wp-image-405" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Microsoft-SharePoint-Workflow-2.png" alt="Microsoft SharePoint Workflow 2" width="410" height="187" /></a></p>
<p>Yehh – that validation worked. So I exported the vwi file. That file contains different files, which can be viewed by changing the extension to *.zip. The following files are created:</p>
<ul>
<li>[Content_Types]<br />
This file summarizes the used extension and their content type.</li>
</ul>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Content_Types.png" target="_blank"><img class="size-full wp-image-406 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Content_Types.png" alt="Content_Types" width="426" height="78" /></a></p>
<ul>
<li>Workflow.vdx<br />
is the Visio diagram in xml-format. Actually it’s not that interesting; it’s just a long file defining the Visio layout (and data) in xml.</li>
</ul>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/vwi.png" target="_blank"><img class="size-full wp-image-407 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/vwi.png" alt="vwi" width="376" height="568" /></a></p>
<ul>
<li>Workflow.xoml<br />
The xoml file describes the workflow itself. If you familiar with SharePoint Designer 2007 workflows you will know the structure of the file – it’s similar to that.</li>
</ul>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/xoml.png" target="_blank"><img class="size-full wp-image-408 aligncenter" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/xoml.png" alt="xoml" width="407" height="200" /></a></p>
<ul>
<li>Workflow.xoml.rules<br />
That file simply references the xml namespace.<br />
&lt;RuleDefinitions xmlns=&#8221;http://schemas.microsoft.com/winfx/2006/xaml/workflow&#8221; /&gt;</li>
</ul>
<p><strong>Importing vwi-file to SharePoint Designer 2010</strong></p>
<p>First of all, the new SharePoint Designer 2010 looks very cool and Microsoft improved a lot of things. It’s now possible to administrate the whole SharePoint site with that designer. You can configure page information, create and modify lists, document libraries, subsites, permissions, content types, workflows, … .</p>
<p>The following picture shows the start page when you connect to an existing SharePoint 2010 site.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Designer-2010.png" target="_blank"><img class="aligncenter size-full wp-image-409" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/SharePoint-Designer-2010.png" alt="SharePoint Designer 2010" width="394" height="224" /></a></p>
<p>Clicking on the workflow section opens the workflow tool pane, where you can edit existing workflows or add new ones.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Workflow-Section.png" target="_blank"><img class="aligncenter size-full wp-image-410" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Workflow-Section.png" alt="Workflow Section" width="429" height="161" /></a></p>
<p>The best innovation in my opinion is that you can now create reusable workflows with the designer. This was not possible with the previous version of SharePoint (Designer). In 2007 you had to create reusable workflows with Visual Studio.</p>
<p>The easiest way to continue with you Visio workflow is just to import it from Visio by clicking the button in the ribbon menu. The import wizard offers you the possibility either to import the workflow for lists or to create a reusable workflow.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Import-Wizard.png" target="_blank"><img class="aligncenter size-full wp-image-411" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Import-Wizard.png" alt="Import Wizard" width="425" height="308" /></a></p>
<p>As you can see in the next image, the Designer creates the structure of the workflow. You can now go on with adding the logic to the workflow. The actions are similar to the actions in SharePoint Designer 2007.</p>
<p style="text-align: center;"><a href="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Workflow-Editing.png" target="_blank"><img class="aligncenter size-full wp-image-412" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/10/Workflow-Editing.png" alt="Workflow Editing" width="397" height="154" /></a></p>
<p>You can start editing the actions, add new steps and actions and at the end publish the workflow to your SharePoint environment.</p>
<p>Before exporting the workflow to SharePoint it’s recommended to check for errors. If any error occurs the position is highlighted.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2009/10/creating-workflows-for-sharepoint-2010-with-office-visio-2010/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Filter in custom sharepoint lists for current user [Me]</title>
		<link>http://blog.hagenberg-software.at/2009/09/filter-in-custom-sharepoint-lists-for-current-user-me/</link>
		<comments>http://blog.hagenberg-software.at/2009/09/filter-in-custom-sharepoint-lists-for-current-user-me/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:00:18 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[caml]]></category>
		<category><![CDATA[custom list]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[Software Entwicklung]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=151</guid>
		<description><![CDATA[I&#8217;m creating a custom view for a list. The view filters the list to show only the documents that are edited by the current user. I&#8217;m trying the following caml-query in my schema.xml &#60;Query&#62; &#60;Where&#62; &#60;Eq&#62; &#60;FieldRef Name="hsg_ApproverList"&#62;&#60;/FieldRef&#62; &#60;Value Type="User"&#62;$Resources:hsg_Resources,Me;&#60;/Value&#62; &#60;/Eq&#62; &#60;/Where&#62; &#60;OrderBy&#62; &#60;FieldRef Name="FileLeafRef"/&#62; &#60;/OrderBy&#62; &#60;/Query&#62; In my code I tried to replae the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m creating a custom view for a list. The view filters the list to show only the documents that are edited by the current user. I&#8217;m trying the following caml-query in my schema.xml</p>
<pre>&lt;Query&gt;
  &lt;Where&gt;
    &lt;Eq&gt;
      &lt;FieldRef Name="hsg_ApproverList"&gt;&lt;/FieldRef&gt;
 <span style="color:#ff0000">     &lt;Value Type="User"&gt;$Resources:hsg_Resources,Me;&lt;/Value&gt;</span>
    &lt;/Eq&gt;
  &lt;/Where&gt;
  &lt;OrderBy&gt;
    &lt;FieldRef Name="FileLeafRef"/&gt;
  &lt;/OrderBy&gt;
&lt;/Query&gt;</pre>
<p>In my code I tried to replae the resource string with the correct phrase &#8211; like [Me]. Reading the data from the resource file works as expected.  After deploying the list to sharepoint and create a new instance of the library, the view  is not working. There are no entries shown in the view. When looking to the view settings everything looks fine ([Me] is showed as filter value).<br />
After pressing the OK button, the view is working correct.</p>
<p>This leads me to the opinion that my filter value is wrong and is replaced by a woking one (when pressing the OK button). But how should I find out the correct value? So I did a trick:</p>
<ul>
<li>Save the list (with working views) as template (*.stp) file to sharepoint</li>
<li>Download the *.stp file</li>
<li>Rename the *.stp file to *.cab file</li>
<li>Open the *.cab file -&gt; extract the manifest.xml file</li>
<li>Look for your custom filter query</li>
<li>And yehhh -&gt; you get the correct filter value</li>
</ul>
<p>The correct filter value now looks like the following example:</p>
<pre>&lt;Query&gt;
  &lt;Where&gt;
    &lt;Eq&gt;
      &lt;FieldRef Name="hsg_ApproverList"&gt;&lt;/FieldRef&gt;
      <span style="color:#ff0000">&lt;Value Type="Integer"&gt;
        &lt;UserID/&gt;
      &lt;/Value&gt;</span>
    &lt;/Eq&gt;
  &lt;/Where&gt;
  &lt;OrderBy&gt;
    &lt;FieldRef Name="FileLeafRef"/&gt;
  &lt;/OrderBy&gt;
&lt;/Query&gt;</pre>
<p>&lt;UserID /&gt; is the solution &#8211; the view works fine now. The view settings in SharePoint UI look like before.</p>
<div id="attachment_152" class="wp-caption alignnone" style="width: 445px"><img class="size-full wp-image-152" src="http://blog.hagenberg-software.at/wp-content/uploads/2009/09/filterView.png" alt="Filter in view settings" width="435" height="292" /><p class="wp-caption-text">Filter in view settings</p></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2009/09/filter-in-custom-sharepoint-lists-for-current-user-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DateTime Manipulation with XPathNavigator</title>
		<link>http://blog.hagenberg-software.at/2009/09/datetime-manipulation-with-xpathnavigator/</link>
		<comments>http://blog.hagenberg-software.at/2009/09/datetime-manipulation-with-xpathnavigator/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 09:38:41 +0000</pubDate>
		<dc:creator>Evelyn Schinko</dc:creator>
				<category><![CDATA[Infopath]]></category>
		<category><![CDATA[InfoPath 2007]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[XPathNavigator]]></category>

		<guid isPermaLink="false">http://blog.hagenberg-software.at/?p=132</guid>
		<description><![CDATA[In my infopath form I had to set the value of a datetime field by C#. Although the implementation of the XPathNavigator object in InfoPath 2007 exposes the SetTypedValue method — which is used to set a node using a value of a specific type — InfoPath does not implement that method. You must use [...]]]></description>
			<content:encoded><![CDATA[<p>In my infopath form I had to set the value of a datetime field by C#. Although the implementation of the <strong>XPathNavigator</strong> object in InfoPath 2007 exposes the <a id="ctl00_MTContentSelector1_mainContentContainer_ctl38" href="http://msdn.microsoft.com/en-us/library/system.xml.xpath.xpathnavigator.settypedvalue.aspx">SetTypedValue</a> method — which is used to set a node using a value of a specific type — InfoPath does not implement that method. You must use the <strong>SetValue</strong> method instead, and pass a string value of the correct format for the data type of the node. [1]</p>
<p>SetValue() is the right choice, but DateTime.Now.ToString() fails, because the XML format is not correct. After some researching I found out, that DateTime.Now.ToString(&#8220;s&#8221;) is the right choise and the string is well formated. the s-paramter <span style="color:#000000">formats the string in the following way: </span><span><span style="color:#000000">2008-06-15T21:15:07.</span></span></p>
<p><span style="color:#000000">Code Sample:</span></p>
<pre><span style="color:#00ccff">XPathNavigator</span> form = MainDataSource.CreateNavigator();
<span style="color:#00ccff">XPathNavigator</span> xmlPath =  form.SelectSingleNode("/my:Felder/my:Erstelldatum", NamespaceManager);
<span style="color:#00ccff">DateTime</span> creationTime = <span style="color:#00ccff">DateTime</span>.Parse(xmlPath.InnerXml);
<span style="color:#00ccff">DateTime</span> MinDate = new <span style="color:#00ccff">DateTime</span>(1900, 1, 1);

if (creationTime == MinDate)
{
     this.DeleteNil(xmlPath);
    <span style="color:#ff0000"> <strong>xmlPath.SetValue(DateTime.Now.ToString("s"));</strong>
</span>}</pre>
<p>[1] <a href="http://msdn.microsoft.com/en-us/library/bb509311.aspx">http://msdn.microsoft.com/en-us/library/bb509311.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.hagenberg-software.at/2009/09/datetime-manipulation-with-xpathnavigator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

