<?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>entwicklungsgedanken</title>
	<atom:link href="http://www.entwicklungsgedanken.de/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.entwicklungsgedanken.de</link>
	<description>Verschiedene Gedanken rund um die Softwareentwicklung</description>
	<lastBuildDate>Thu, 02 May 2013 09:21:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Mehrsprachigkeit in Berichten SSRS</title>
		<link>http://www.entwicklungsgedanken.de/2013/05/02/mehrsprachigkeit-in-berichten-ssrs/</link>
		<comments>http://www.entwicklungsgedanken.de/2013/05/02/mehrsprachigkeit-in-berichten-ssrs/#comments</comments>
		<pubDate>Thu, 02 May 2013 09:21:06 +0000</pubDate>
		<dc:creator>Sven Thämar</dc:creator>
				<category><![CDATA[SSRS]]></category>
		<category><![CDATA[Belege]]></category>
		<category><![CDATA[Mehrsprachigkeit]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=567</guid>
		<description><![CDATA[Allgemein/Vorgabe Unsere Kunden wollten, dass deren Belege (Angebot, Lieferschein, &#8230;) in unterschiedlichen Sprachen gedruckt werden können. Die Sprache sollte von außen, dem Modul (Angebot, Lieferschein, &#8230;), vorgegeben werden. Unser Ziel war, möglichst nur einen Beleg pro Modul zu verwenden. Lösung Wir haben die Funktion &#8220;lookup&#8221; verwendet.  Die Funktion ist als Ausdruck/Expression &#8220;=lookup(&#8220;invoice.Artikelnummer&#8221;, Fields!rep_key.Value, Fields!rep_label.Value, &#8220;DS_Localization&#8221;)&#8221; [...]]]></description>
				<content:encoded><![CDATA[<p>Allgemein/Vorgabe</p>
<p>Unsere Kunden wollten, dass deren Belege (Angebot, Lieferschein, &#8230;) in unterschiedlichen Sprachen gedruckt werden können. Die Sprache sollte von außen, dem Modul (Angebot, Lieferschein, &#8230;), vorgegeben werden. Unser Ziel war, möglichst nur einen Beleg pro Modul zu verwenden.</p>
<p>Lösung</p>
<p>Wir haben die Funktion &#8220;lookup&#8221; verwendet.  Die Funktion ist als Ausdruck/Expression &#8220;=lookup(&#8220;invoice.Artikelnummer&#8221;, Fields!rep_key.Value, Fields!rep_label.Value, &#8220;DS_Localization&#8221;)&#8221; in einem Textfeld eingebunden. Damit die Funktion den richtigen Wert liefert muss auf der Datenbank eine Übersetzungstabelle vorhanden sein. Diese Tabelle muss anschließend als DataSet im Bericht eingebunden sein. Im DataSet wird anhand der Where-Bedingung die Sprache selektiert. Diese muss demnach als Parameter mit übergeben werden.</p>
<p>In diesem Fall liefert der &#8220;lookup&#8221; die Übersetzung dür das Feld &#8220;invoice.Artikelnummer&#8221; zurück. Die Felder &#8220;rep_key&#8221; und &#8220;rep_label&#8221; kommen aus der eingebundenen Tabelle (DataSet &#8220;DS_Localization&#8221;)</p>
<p>Tabelle</p>
<p>rep_key (Schlüssel)<br />
rep_label (Bezeichnung; Text der gedruckt wird)<br />
rep_local (Sprachschlüssel; EN, DE, FR, &#8230;)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2013/05/02/mehrsprachigkeit-in-berichten-ssrs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>forms60 OS_ERROR</title>
		<link>http://www.entwicklungsgedanken.de/2013/04/23/forms60-os_error/</link>
		<comments>http://www.entwicklungsgedanken.de/2013/04/23/forms60-os_error/#comments</comments>
		<pubDate>Tue, 23 Apr 2013 13:22:19 +0000</pubDate>
		<dc:creator>Sven Thämar</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[forms60]]></category>
		<category><![CDATA[Forms6i]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[OS_ERROR]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=563</guid>
		<description><![CDATA[Bei meiner letzten Installation von Forms6i unter Windows 7 (64-Bit) gab es plötzlich den Fehler forms60 OS_ERROR. Abhilfe schaft hier die Reuzierung des PATH-Eintrages. Dieser war für eine Form6i Installation zu lang. Am besten auf ca. 800 Zeichen kürzen, vorher sichern(!) und dann noch mal die Installation starten. Dann sollte es funktionieren. Anschließend können die [...]]]></description>
				<content:encoded><![CDATA[<p>Bei meiner letzten Installation von Forms6i unter Windows 7 (64-Bit) gab es plötzlich den Fehler forms60 OS_ERROR. Abhilfe schaft hier die Reuzierung des PATH-Eintrages. Dieser war für eine Form6i Installation zu lang. Am besten auf ca. 800 Zeichen kürzen, vorher sichern(!) und dann noch mal die Installation starten. Dann sollte es funktionieren. Anschließend können die evtl. entfernten PATH-Einträge wieder hinzugefügt werden.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2013/04/23/forms60-os_error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEPA und das Problem der Prüfziffern bei Hauptkonten</title>
		<link>http://www.entwicklungsgedanken.de/2013/04/16/sepa-und-das-problem-der-prufziffern-bei-hauptkonten/</link>
		<comments>http://www.entwicklungsgedanken.de/2013/04/16/sepa-und-das-problem-der-prufziffern-bei-hauptkonten/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 09:54:28 +0000</pubDate>
		<dc:creator>Sven Thämar</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[Hauptkonto]]></category>
		<category><![CDATA[Konto]]></category>
		<category><![CDATA[Prüfziffer]]></category>
		<category><![CDATA[SEPA]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=558</guid>
		<description><![CDATA[Eine Prüfziffer nach dem Verfahren Modulo 97 zu berrechnen sollte nicht schwer sein. Hierfür gibt es im internet ausreichend Anleitungen. Was aber oft nicht bedacht wird, ist, das es in Deutschland bei einigen Banken (z.B. Commerzbaank, Deutsche Bank, &#8230;) sogennante Hauptkonten gibt. Diese Hauptkonten enden mit einer doppel Null &#8220;00&#8243;. Hat aber nichts mit dem [...]]]></description>
				<content:encoded><![CDATA[<p>Eine Prüfziffer nach dem Verfahren Modulo 97 zu berrechnen sollte nicht schwer sein. Hierfür gibt es im internet ausreichend Anleitungen.</p>
<p>Was aber oft nicht bedacht wird, ist, das es in Deutschland bei einigen Banken (z.B. Commerzbaank, Deutsche Bank, &#8230;) sogennante Hauptkonten gibt. Diese Hauptkonten enden mit einer doppel Null &#8220;00&#8243;. Hat aber nichts mit dem &#8220;Geheimdienst Ihrer Majestät&#8221; zu tun. Das Hauptkonto kann bei einer Transaktion mit oder ohne &#8220;00&#8243; angesprochen werden. Bei der Ermittlung einer richtigen IBAN kommt aber als Prüfziffer der gleiche Wert raus. Also das Konto 7896543 und 789654300 liefert die gleiche Prüfziffer. Aber nur wenn die Ermittlung über eine Bank läuft. Wird die Ermittlung über ein eigenes Programm gesteuert werden für beide Konten unterschiedliche Prüfziffern gebildet. Das ist zwar mathematisch richtig aber in diesem Fall logisch falsch. Eine 100% Lösung bei der Berechnung gibt es nicht.</p>
<p>Viel Erfolg bei einer SEPA Umstellung.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2013/04/16/sepa-und-das-problem-der-prufziffern-bei-hauptkonten/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving connectivity issues with RDP via UAG</title>
		<link>http://www.entwicklungsgedanken.de/2013/01/17/solving-connectivity-issues-with-rdp-via-uag/</link>
		<comments>http://www.entwicklungsgedanken.de/2013/01/17/solving-connectivity-issues-with-rdp-via-uag/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 13:18:07 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[hotfix]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[KB2592687]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[RDP]]></category>
		<category><![CDATA[UAG]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=536</guid>
		<description><![CDATA[From one day to the other in all of my current environments I had trouble connecting with RDP via UAG to remote servers. The error message always was &#8220;Your computer can&#8217;t connect to the remote computer because an error occurred on the remote computer that you want to connect to. Contact your network administrator for [...]]]></description>
				<content:encoded><![CDATA[<p>From one day to the other in all of my current environments I had trouble connecting with RDP via UAG to remote servers. The error message always was &#8220;<strong>Your computer can&#8217;t connect to the remote computer because an error occurred on the remote computer that you want to connect to. Contact your network administrator for assistance</strong>&#8220;.</p>
<p>Its not that clear that the issue is on the client side. So troubleshooting on the UAG-side did not help. Further research and testing revealed the culprit. Microsoft!</p>
<p>After a certain Hotfix, <a href="http://support.microsoft.com/kb/2592687">KB2592687</a> to be precise, the connectivity issues started.</p>
<p>So I did a quick</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="powershell" style="font-family:monospace;">Get<span style="color: pink;">-</span>Hotfix <span style="color: #008080; font-style: italic;">-Id</span> KB2592687</pre></td></tr></table></div>

<p> to see if I had the patch installed. And yes it was. So another</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="batch" style="font-family:monospace;">cmd.exe /c wusa.exe /uninstall /KB:KB2592687 /quiet</pre></td></tr></table></div>

<p> and a lot of waiting and restarting finally allowed a connection via RDP via UAG.<br />A hotfix for the UAG to allow newer RDP clients is still not available!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2013/01/17/solving-connectivity-issues-with-rdp-via-uag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using a dictionary to create dynamic elasticsearch-queries in .Net 3.5</title>
		<link>http://www.entwicklungsgedanken.de/2013/01/11/using-a-dictionary-to-create-dynamic-elasticsearch-queries-in-net-3-5/</link>
		<comments>http://www.entwicklungsgedanken.de/2013/01/11/using-a-dictionary-to-create-dynamic-elasticsearch-queries-in-net-3-5/#comments</comments>
		<pubDate>Fri, 11 Jan 2013 15:01:24 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Verschiedenes]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[coding]]></category>
		<category><![CDATA[comfort]]></category>
		<category><![CDATA[elasticsearch]]></category>
		<category><![CDATA[json]]></category>
		<category><![CDATA[rest]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=514</guid>
		<description><![CDATA[In a current project a search based solution is required to allow a research against an existing set of records. Of course the search-backend is the elasticsearch. This projects requires the use of .Net 3.5 which makes it impossible to use NEST as elasticsearch client. To at least add a little bit of comfort when [...]]]></description>
				<content:encoded><![CDATA[<p>In a current project a search based solution is required to allow a research against an existing set of records. Of course the search-backend is the <a href="http://www.elasticsearch.org/">elasticsearch</a>.</p>
<p>This projects requires the use of .Net 3.5 which makes it <strong>impossible</strong> to use <a href="https://github.com/Mpdreamz/NEST">NEST</a> as elasticsearch client.</p>
<p>To at least add a little bit of comfort when writing the queries against the search-cluster I make use of <a href="http://restsharp.org/">RestSharp</a> for easy connecting and JSON handling. Net 3.5 has no ExpandoObject to create dynamic property names. It took me awhile to find out but a simple Dictionary does the trick.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">var</span> innerQueries <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> List<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">object</span><span style="color: #008000;">&gt;</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// Data is a Dictionar&lt;string, string&gt; where the key is the fieldname used in elasticsearch</span>
<span style="color: #008080; font-style: italic;">// and the value the value to search for (e.g. title =&gt; foo; description =&gt; baz)</span>
<span style="color: #0600FF; font-weight: bold;">foreach</span><span style="color: #008000;">&#40;</span><span style="color: #0600FF; font-weight: bold;">var</span> token <span style="color: #0600FF; font-weight: bold;">in</span> data<span style="color: #008000;">.</span><span style="color: #0000FF;">Keys</span><span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
  dataResult<span style="color: #008000;">.</span><span style="color: #0600FF; font-weight: bold;">Add</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">new</span>
  <span style="color: #008000;">&#123;</span>
    match_phrase <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> Dictionary<span style="color: #008000;">&lt;</span><span style="color: #6666cc; font-weight: bold;">string</span>, <span style="color: #6666cc; font-weight: bold;">string</span><span style="color: #008000;">&gt;;</span>
    <span style="color: #008000;">&#123;</span>
      <span style="color: #008000;">&#123;</span> 
        token,
        data<span style="color: #008000;">&#91;</span>token<span style="color: #008000;">&#93;</span>
      <span style="color: #008000;">&#125;</span>
    <span style="color: #008000;">&#125;</span>
  <span style="color: #008000;">&#125;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span>
&nbsp;
<span style="color: #0600FF; font-weight: bold;">var</span> final <span style="color: #008000;">=</span> <span style="color: #008000;">new</span>
<span style="color: #008000;">&#123;</span>
  query <span style="color: #008000;">=</span> <span style="color: #008000;">new</span>
  <span style="color: #008000;">&#123;</span>
    @<span style="color: #6666cc; font-weight: bold;">bool</span> <span style="color: #008000;">=</span> <span style="color: #008000;">new</span>
    <span style="color: #008000;">&#123;</span>
      must <span style="color: #008000;">=</span> innerQueries
    <span style="color: #008000;">&#125;</span>
  <span style="color: #008000;">&#125;</span>,
  <span style="color: #0600FF; font-weight: bold;">from</span> <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span>,
  size <span style="color: #008000;">=</span> <span style="color: #FF0000;">250</span>
<span style="color: #008000;">&#125;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>Serializing this into JSON and sending it via RestSharp creates a request with multiple must &#8220;clauses&#8221; each using a <a href="http://www.elasticsearch.org/guide/reference/query-dsl/match-query.html">match_prase</a> query.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="json" style="font-family:monospace;">{
  &quot;query&quot;:{
    &quot;bool&quot;:{
      &quot;must&quot;:[
        {
          &quot;match_phrase&quot;:{
            &quot;record.title&quot;:&quot;foo&quot;
          }
        },
        {
          &quot;match_phrase&quot;:{
            &quot;record.description&quot;:&quot;baz&quot;
          }
        }
      ]
    }
  },
  &quot;from&quot;:0,
  &quot;size&quot;:250
}</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2013/01/11/using-a-dictionary-to-create-dynamic-elasticsearch-queries-in-net-3-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving issue with SharePoint Workspace 2010 when using Forefront TMG</title>
		<link>http://www.entwicklungsgedanken.de/2012/05/25/solving-issue-with-sharepoint-workspace-2010-when-using-forefront-tmg/</link>
		<comments>http://www.entwicklungsgedanken.de/2012/05/25/solving-issue-with-sharepoint-workspace-2010-when-using-forefront-tmg/#comments</comments>
		<pubDate>Fri, 25 May 2012 07:49:19 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[aam]]></category>
		<category><![CDATA[SOAP]]></category>
		<category><![CDATA[TMG]]></category>
		<category><![CDATA[UAG]]></category>
		<category><![CDATA[ULS]]></category>
		<category><![CDATA[Workspace]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=508</guid>
		<description><![CDATA[I came accross an issue when using TMG / UAG with SharePoint Workspace 2010. When connecting to a site I got the error SharePoint Workspace was unable to interpret the SharePoint location. Please check and ensure the location contains no typing errors. Of course this error message is misleading. Solutions found in &#8220;the internet&#8221; like [...]]]></description>
				<content:encoded><![CDATA[<p>I came accross an issue when using TMG / UAG with SharePoint Workspace 2010. When connecting to a site I got the error</p>
<pre>SharePoint Workspace was unable to interpret the SharePoint location.
Please check and ensure the location contains no typing errors.</pre>
<p>Of course this error message is misleading. Solutions found in &#8220;the internet&#8221; like adding &#8220;remote differential compression on the server&#8221; were not applicable&#8230;</p>
<p>So after further tracing I found the culprit. The ULS logs (verbose mode was configured for logging) showed the exact web service calls SharePoint Workspace 2010 did with its full soap body. One call showed an url which I was pretty sure was not inside the <a title="AAM" href="http://technet.microsoft.com/en-us/sharepoint/ff679917.aspx">AAM</a> of that specific web application. Other calls always show the correct public url of that web application. Just one specific call &#8230; So I added it to the configuration and everything is working and synchronizing as expected.</p>
<p><strong>If you encounter this error check your ULS logs and double check your AAM settings!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2012/05/25/solving-issue-with-sharepoint-workspace-2010-when-using-forefront-tmg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bug with Internet Explorer and grid RowEditing-plugin when using scoped-theme</title>
		<link>http://www.entwicklungsgedanken.de/2012/01/09/bug-with-internet-explorer-and-grid-rowediting-plugin-when-using-scoped-theme/</link>
		<comments>http://www.entwicklungsgedanken.de/2012/01/09/bug-with-internet-explorer-and-grid-rowediting-plugin-when-using-scoped-theme/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 14:47:42 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[extjs]]></category>
		<category><![CDATA[extjs4]]></category>
		<category><![CDATA[grid]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[override]]></category>
		<category><![CDATA[RowEditing]]></category>
		<category><![CDATA[scoped-theme]]></category>
		<category><![CDATA[sencha]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SP2010]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=500</guid>
		<description><![CDATA[I came across this rare bug in the current development of a project. It makes heavy use of the RowEditing plugin of Extjs&#8216; grid. Because the Extjs environment is used within SharePoint 2010 I have to use the scoped theme to avoid &#8220;damage&#8221; to the SharePoint UI. After inserting a record into the grid via [...]]]></description>
				<content:encoded><![CDATA[<p>I came across this rare bug in the current development of a project. It makes heavy use of the <a title="RowEditing plugin" href="http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.plugin.RowEditing">RowEditing plugin</a> of <a title="Exjts" href="http://docs.sencha.com/ext-js/4-0/">Extjs</a>&#8216; grid. Because the Extjs environment is used within SharePoint 2010 I have to use the scoped theme to avoid &#8220;damage&#8221; to the SharePoint UI.</p>
<p>After inserting a record into the grid via RowEditing and pressing cancel the RowEditings&#8217; editor window is not shown. You guess it right: only when using Internet Explorer (7, 8, 9). After testing it showed that the css itself is not the reason. So debugging the Extjs-source where the setting <code>scopeResetCSS</code> is evaluated&#8230;</p>
<p>The final result is a workaround applied via <a title="Ext.override api" href="http://docs.sencha.com/ext-js/4-0/#!/api/Ext-method-override">Ext.override</a> to solve the &#8220;problem&#8221;.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>Ext.<span style="color: #660066;">isIE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  Ext.<span style="color: #660066;">AbstractComponent</span>.<span style="color: #660066;">override</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    onRender<span style="color: #339933;">:</span> <span style="color: #000066; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>container<span style="color: #339933;">,</span> position<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066; font-weight: bold;">var</span> me <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span>
        el <span style="color: #339933;">=</span> me.<span style="color: #660066;">el</span><span style="color: #339933;">,</span>
        styles <span style="color: #339933;">=</span> me.<span style="color: #660066;">initStyles</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span>
        renderTpl<span style="color: #339933;">,</span> renderData<span style="color: #339933;">,</span> i<span style="color: #339933;">;</span>
&nbsp;
      position <span style="color: #339933;">=</span> me.<span style="color: #660066;">getInsertPosition</span><span style="color: #009900;">&#40;</span>position<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>el<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          el <span style="color: #339933;">=</span> Ext.<span style="color: #660066;">DomHelper</span>.<span style="color: #660066;">insertBefore</span><span style="color: #009900;">&#40;</span>position<span style="color: #339933;">,</span> me.<span style="color: #660066;">getElConfig</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
          el <span style="color: #339933;">=</span> Ext.<span style="color: #660066;">DomHelper</span>.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>container<span style="color: #339933;">,</span> me.<span style="color: #660066;">getElConfig</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
      <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">allowDomMove</span> <span style="color: #339933;">!==</span> <span style="color: #003366; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>position<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          container.<span style="color: #660066;">dom</span>.<span style="color: #660066;">insertBefore</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">dom</span><span style="color: #339933;">,</span> position<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
          container.<span style="color: #660066;">dom</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">dom</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>Ext.<span style="color: #660066;">scopeResetCSS</span> <span style="color: #339933;">&amp;</span>amp<span style="color: #339933;">;&amp;</span>amp<span style="color: #339933;">;</span> <span style="color: #339933;">!</span>me.<span style="color: #660066;">ownerCt</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>el.<span style="color: #660066;">dom</span> <span style="color: #339933;">==</span> Ext.<span style="color: #660066;">getBody</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">dom</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
          el.<span style="color: #660066;">parent</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">addCls</span><span style="color: #009900;">&#40;</span>Ext.<span style="color: #660066;">baseCSSPrefix</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'reset'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        <span style="color: #009900;">&#125;</span>
        <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
          <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>me.$className <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'Ext.grid.RowEditor'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
            me.<span style="color: #660066;">resetEl</span> <span style="color: #339933;">=</span> el.<span style="color: #660066;">wrap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
              cls<span style="color: #339933;">:</span> Ext.<span style="color: #660066;">baseCSSPrefix</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'reset'</span>
            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
          <span style="color: #009900;">&#125;</span>
        <span style="color: #009900;">&#125;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      me.<span style="color: #660066;">setUI</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">ui</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      el.<span style="color: #660066;">addCls</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">initCls</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      el.<span style="color: #660066;">setStyle</span><span style="color: #009900;">&#40;</span>styles<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      me.<span style="color: #660066;">el</span> <span style="color: #339933;">=</span> el<span style="color: #339933;">;</span>
&nbsp;
      me.<span style="color: #660066;">initFrame</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      renderTpl <span style="color: #339933;">=</span> me.<span style="color: #660066;">initRenderTpl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>renderTpl<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
        renderData <span style="color: #339933;">=</span> me.<span style="color: #660066;">initRenderData</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
        renderTpl.<span style="color: #660066;">append</span><span style="color: #009900;">&#40;</span>me.<span style="color: #660066;">getTargetEl</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">,</span> renderData<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #009900;">&#125;</span>
&nbsp;
      me.<span style="color: #660066;">applyRenderSelectors</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
      me.<span style="color: #660066;">rendered</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">true</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>The woraround itself is only this:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>me.$className <span style="color: #339933;">!=</span> <span style="color: #3366CC;">'Ext.grid.RowEditor'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  me.<span style="color: #660066;">resetEl</span> <span style="color: #339933;">=</span> el.<span style="color: #660066;">wrap</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#123;</span>
    cls<span style="color: #339933;">:</span> Ext.<span style="color: #660066;">baseCSSPrefix</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">'reset'</span>
  <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>BTW: I &#8220;love&#8221; IE!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2012/01/09/bug-with-internet-explorer-and-grid-rowediting-plugin-when-using-scoped-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Move the top.links block to another block using only local.xml in Magento</title>
		<link>http://www.entwicklungsgedanken.de/2011/09/08/move-the-top-links-block-to-another-block-using-only-local-xml-in-magento/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/09/08/move-the-top-links-block-to-another-block-using-only-local-xml-in-magento/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 13:50:12 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[Magento]]></category>
		<category><![CDATA[Webdevelopment]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[local.xml]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[topLinks]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=483</guid>
		<description><![CDATA[I was trying to move the top.links block (aliased with topLinks) from the header-block to the right-block only using local.xml. Should be easy right?! I did not found any solution using this way in the wiki or somewhere else. Simply using unsetChild and simply put the top.links block somewhere else is not working! All default [...]]]></description>
				<content:encoded><![CDATA[<p>I was trying to move the top.links block (aliased with topLinks) from the header-block to the right-block only using <strong>local.xml</strong>. Should be easy right?!<br />
I did not found any solution using this way in the wiki or somewhere else.</p>
<p>Simply using <code>unsetChild</code> and simply put the top.links block somewhere else is not working! All default links except the <code>Log in</code> / <code>Log out</code> disappear.</p>
<p>So here is my solution that works. The key is using <code>insert</code> as action&#8230;</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;?xml</span> <span style="color: #000066;">version</span>=<span style="color: #ff0000;">&quot;1.0&quot;</span> <span style="color: #000066;">encoding</span>=<span style="color: #ff0000;">&quot;UTF-8&quot;</span><span style="color: #000000; font-weight: bold;">?&gt;</span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;layout<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;default<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;reference</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;header&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;remove</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;top.search&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;action</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;unsetChild&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>topLinks<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/alias<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/action<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/reference<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
&nbsp;
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;reference</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;right&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;action</span> <span style="color: #000066;">method</span>=<span style="color: #ff0000;">&quot;insert&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
        <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;blockName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>top.links<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/blockName<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
      <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/action<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/reference<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/default<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/layout<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></td></tr></table></div>

<p><strong>Note</strong>: Its important to use the alias when defining <code>action="unsetChild"</code> or the block is not &#8220;moving&#8221;. Seems buggy to me &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/09/08/move-the-top-links-block-to-another-block-using-only-local-xml-in-magento/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable-SPFeature does not trigger the feature receiver</title>
		<link>http://www.entwicklungsgedanken.de/2011/06/08/enable-spfeature-does-not-trigger-the-feature-receiver/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/06/08/enable-spfeature-does-not-trigger-the-feature-receiver/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 10:19:01 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Enable-SPFeature]]></category>
		<category><![CDATA[feature]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SPFeatureReceiver]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=473</guid>
		<description><![CDATA[Today I encountered the same problem as stated in a blog post by Christopher Maish. When activating the feature via powershell the associated feature receiver was not called. Trying the suggested solution in the blog post drove me to the cause of this problem. When using stsadm I got an &#8220;access denied&#8221; error. I did [...]]]></description>
				<content:encoded><![CDATA[<p>Today I encountered the same problem as stated in a <a href="http://www.christophermaish.com/blog/featureactivated-not-called">blog post by Christopher Maish</a>. When activating the feature via powershell the associated feature receiver was not called.</p>
<p>Trying the suggested solution in the blog post drove me to the cause of this problem. When using stsadm I got an &#8220;access denied&#8221; error.<br /> I did run my script via Powershell ISE within Windows Server 2008.</p>
<p>So the real problem is caused, again, by <strong>UAC (User Account Control)</strong>. When starting the Powershell ISE with <strong>&#8220;Run as administrator&#8221;</strong> and executing the script the feature receiver is now called as expected. Even when using Enable-SPFeature!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/06/08/enable-spfeature-does-not-trigger-the-feature-receiver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using powershell to quickly debug SPSiteDataQuery</title>
		<link>http://www.entwicklungsgedanken.de/2011/06/07/using-powershell-to-quickly-debug-spsitedataquery/</link>
		<comments>http://www.entwicklungsgedanken.de/2011/06/07/using-powershell-to-quickly-debug-spsitedataquery/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 08:43:11 +0000</pubDate>
		<dc:creator>Eric Bartels</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint-Development]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[SPSiteDataQuery]]></category>

		<guid isPermaLink="false">http://www.entwicklungsgedanken.de/?p=459</guid>
		<description><![CDATA[Writing CAML-Queries is still no fun. Even with SharePoint 2010&#8230; So you often need to test your queries before they actually work. In case you quickly want to test if your SPSiteDataQuery is correct you can use powershell to &#8220;debug&#8221; it. Just create an instance of the site-collection and target the root-web with your query-instance. [...]]]></description>
				<content:encoded><![CDATA[<p>Writing CAML-Queries is still no fun. Even with SharePoint 2010&#8230; So you often need to test your queries before they actually work.</p>
<p>In case you quickly want to test if your SPSiteDataQuery is correct you can use powershell to &#8220;debug&#8221; it. Just create an instance of the site-collection and target the root-web with your query-instance.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="powershell" style="font-family:monospace;"><span style="color: #800080;">$site</span> <span style="color: pink;">=</span> Get<span style="color: pink;">-</span>SPSite <span style="color: pink;">-</span>Identity http:<span style="color: pink;">//</span>my<span style="color: pink;">-</span>site<span style="color: pink;">-</span>collection
&nbsp;
<span style="color: #800080;">$q</span> <span style="color: pink;">=</span> <span style="color: #008080; font-weight: bold;">New-Object</span> <span style="color: #008080; font-style: italic;">-typeName</span> Microsoft.SharePoint.SPSiteDataQuery
<span style="color: #800080;">$q</span>.Query <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&lt;Where&gt;&lt;And&gt;&lt;Eq&gt;&lt;FieldRef Name='ContentType'/&gt;&lt;Value Type='Text'&gt;MyCT&lt;/Value&gt;&lt;/Eq&gt;&lt;BeginsWith&gt;&lt;FieldRef Name='Url'/&gt;&lt;Value Type='URL'&gt;/path&lt;/Value&gt;&lt;/BeginsWith&gt;&lt;/And&gt;&lt;/Where&gt;&quot;</span>
<span style="color: #800080;">$q</span>.ViewFields <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&lt;FieldRef Name='ID'/&gt;&lt;FieldRef Name='ContentType'/&gt;&quot;</span>
<span style="color: #800080;">$q</span>.Webs <span style="color: pink;">=</span> <span style="color: #800000;">&quot;&lt;Webs Scope='SiteCollection' /&gt;&quot;</span>
&nbsp;
<span style="color: #800080;">$site</span>.RootWeb.GetSiteData<span style="color: #000000;">&#40;</span><span style="color: #800080;">$q</span><span style="color: #000000;">&#41;</span></pre></td></tr></table></div>

<p>This is way faster than doing it in VS&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.entwicklungsgedanken.de/2011/06/07/using-powershell-to-quickly-debug-spsitedataquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
