<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Frederik Prijck&#039;s Blog</title>
	<atom:link href="http://blog.voltje.be/?feed=comments-rss2" rel="self" type="application/rss+xml" />
	<link>http://blog.voltje.be</link>
	<description>.Net programming for ECM systems</description>
	<lastBuildDate>Fri, 27 Apr 2012 07:42:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Site Url property when deploying a BCS entity by Frederik Prijck</title>
		<link>http://blog.voltje.be/?p=182&#038;cpage=1#comment-588</link>
		<dc:creator>Frederik Prijck</dc:creator>
		<pubDate>Fri, 27 Apr 2012 07:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=182#comment-588</guid>
		<description>Jan,

Thanks for the input, this is exactly how I have solved it...

Kind regards</description>
		<content:encoded><![CDATA[<p>Jan,</p>
<p>Thanks for the input, this is exactly how I have solved it&#8230;</p>
<p>Kind regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Url property when deploying a BCS entity by Jan Kvilesjo</title>
		<link>http://blog.voltje.be/?p=182&#038;cpage=1#comment-580</link>
		<dc:creator>Jan Kvilesjo</dc:creator>
		<pubDate>Wed, 18 Apr 2012 12:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=182#comment-580</guid>
		<description>Check out this tip:
http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx

You can add your custom event receiver and set the SiteURL at feature activated event. This makes you able to pick it up from other resources.</description>
		<content:encoded><![CDATA[<p>Check out this tip:<br />
<a href="http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx" rel="nofollow">http://blogs.msdn.com/b/vssharepointtoolsblog/archive/2010/04/02/deploy-a-bdc-model-project-to-sharepoint-foundation-2010-using-visual-studio-2010.aspx</a></p>
<p>You can add your custom event receiver and set the SiteURL at feature activated event. This makes you able to pick it up from other resources.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint 2010 and the Lookup Column issue by Frederik Prijck</title>
		<link>http://blog.voltje.be/?p=289&#038;cpage=1#comment-568</link>
		<dc:creator>Frederik Prijck</dc:creator>
		<pubDate>Thu, 22 Mar 2012 07:36:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=289#comment-568</guid>
		<description>So Randy, What is this code suppose to be solving ? The CSS issue or ?

Do you lose the special way of rendering the control with +20 items?</description>
		<content:encoded><![CDATA[<p>So Randy, What is this code suppose to be solving ? The CSS issue or ?</p>
<p>Do you lose the special way of rendering the control with +20 items?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SharePoint 2010 and the Lookup Column issue by randy</title>
		<link>http://blog.voltje.be/?p=289&#038;cpage=1#comment-567</link>
		<dc:creator>randy</dc:creator>
		<pubDate>Thu, 22 Mar 2012 01:59:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=289#comment-567</guid>
		<description>// Name of the column (Display Name)
var columnName = &quot;Kit ID&quot;;

// Override the Drop Down List
OverrideDropDownList(columnName);

// Main Function
function OverrideDropDownList(columnName) {

// Construct a drop down list object
var lookupDDL = new DropDownList(columnName);

// Do this only in complex mode...
if (lookupDDL.Type == &quot;C&quot;) {

// Hide the text box and drop down arrow
lookupDDL.Obj.css(&#039;display&#039;, &#039;none&#039;);
lookupDDL.Obj.next(&quot;img&quot;).css(&#039;display&#039;, &#039;none&#039;);

// Construct the simple drop down field with change trigger
var tempDDLName = &quot;tempDDLName_&quot; + columnName;
if (lookupDDL.Obj.parent().find(&quot;select[ID=&#039;&quot; + tempDDLName + &quot;&#039;]&quot;).length == 0) {
lookupDDL.Obj.parent().append(&quot;&quot;);

lookupDDL.Obj.parent().find(&quot;select[ID=&#039;&quot; + tempDDLName + &quot;&#039;]&quot;).bind(&quot;change&quot;, function () {
updateOriginalField(columnName, tempDDLName);
});
}

// Get all the options
var splittedChoices = lookupDDL.Obj.attr(&#039;choices&#039;).split(&quot;&#124;&quot;);

// get selected value
var hiddenVal = $(&#039;input[name=&#039; + lookupDDL.Obj.attr(&quot;optHid&quot;) + &#039;]&#039;).val()
if (hiddenVal == &quot;0&quot;) {
hiddenVal = lookupDDL.Obj.attr(&quot;value&quot;)
}

// Replacing the drop down object with the simple drop down list
lookupDDL = new DropDownList(tempDDLName);

// Populate the drop down list
for (var i = 0; i &lt; splittedChoices.length; i++) {
var optionVal = splittedChoices[i];
i++;
var optionId = splittedChoices[i];

var selected = (optionId == hiddenVal) ? &quot; selected=&#039;selected&#039;&quot; : &quot;&quot;;
lookupDDL.Obj.append(&quot;&quot; + optionVal + &quot;&quot;);
}
}
}

// method to update the original and hidden field.
function updateOriginalField(child, temp) {
var childSelect = new DropDownList(child);
var tempSelect = new DropDownList(temp);

// Set the text box
childSelect.Obj.attr(&quot;value&quot;, tempSelect.Obj.find(&quot;option:selected&quot;).val());

// Get Hidden ID
var hiddenId = childSelect.Obj.attr(&quot;optHid&quot;);

// Update the hidden variable
$(&#039;input[name=&#039; + hiddenId + &#039;]&#039;).val(tempSelect.Obj.find(&quot;option:selected&quot;).val());
}

// just to construct a drop down box object. Idea token from SPServces
function DropDownList(colName) {
// Simple - when they are less than 20 items
if ((this.Obj = $(&quot;select[Title=&#039;&quot; + colName + &quot;&#039;]&quot;)).html() != null) {
this.Type = &quot;S&quot;;
// Compound - when they are more than 20 items
} else if ((this.Obj = $(&quot;input[Title=&#039;&quot; + colName + &quot;&#039;]&quot;)).html() != null) {
this.Type = &quot;C&quot;;
// Multi-select: This will find the multi-select column control on English and most other languages sites where the Title looks like &#039;Column Name possible values&#039;
} else if ((this.Obj = $(&quot;select[ID$=&#039;SelectCandidate&#039;][Title^=&#039;&quot; + colName + &quot; &#039;]&quot;)).html() != null) {
this.Type = &quot;M&quot;;
// Multi-select: This will find the multi-select column control on a Russian site (and perhaps others) where the Title looks like &#039;????????? ????????: Column Name&#039;
} else if ((this.Obj = $(&quot;select[ID$=&#039;SelectCandidate&#039;][Title$=&#039;: &quot; + colName + &quot;&#039;]&quot;)).html() != null) {
this.Type = &quot;M&quot;;
} else
this.Type = null;
} // End of function dropdownCtl</description>
		<content:encoded><![CDATA[<p>// Name of the column (Display Name)<br />
var columnName = &#8220;Kit ID&#8221;;</p>
<p>// Override the Drop Down List<br />
OverrideDropDownList(columnName);</p>
<p>// Main Function<br />
function OverrideDropDownList(columnName) {</p>
<p>// Construct a drop down list object<br />
var lookupDDL = new DropDownList(columnName);</p>
<p>// Do this only in complex mode&#8230;<br />
if (lookupDDL.Type == &#8220;C&#8221;) {</p>
<p>// Hide the text box and drop down arrow<br />
lookupDDL.Obj.css(&#8216;display&#8217;, &#8216;none&#8217;);<br />
lookupDDL.Obj.next(&#8220;img&#8221;).css(&#8216;display&#8217;, &#8216;none&#8217;);</p>
<p>// Construct the simple drop down field with change trigger<br />
var tempDDLName = &#8220;tempDDLName_&#8221; + columnName;<br />
if (lookupDDL.Obj.parent().find(&#8220;select[ID='" + tempDDLName + "']&#8220;).length == 0) {<br />
lookupDDL.Obj.parent().append(&#8220;&#8221;);</p>
<p>lookupDDL.Obj.parent().find(&#8220;select[ID='" + tempDDLName + "']&#8220;).bind(&#8220;change&#8221;, function () {<br />
updateOriginalField(columnName, tempDDLName);<br />
});<br />
}</p>
<p>// Get all the options<br />
var splittedChoices = lookupDDL.Obj.attr(&#8216;choices&#8217;).split(&#8220;|&#8221;);</p>
<p>// get selected value<br />
var hiddenVal = $(&#8216;input[name=' + lookupDDL.Obj.attr("optHid") + ']&#8216;).val()<br />
if (hiddenVal == &#8220;0&#8243;) {<br />
hiddenVal = lookupDDL.Obj.attr(&#8220;value&#8221;)<br />
}</p>
<p>// Replacing the drop down object with the simple drop down list<br />
lookupDDL = new DropDownList(tempDDLName);</p>
<p>// Populate the drop down list<br />
for (var i = 0; i &lt; splittedChoices.length; i++) {<br />
var optionVal = splittedChoices[i];<br />
i++;<br />
var optionId = splittedChoices[i];</p>
<p>var selected = (optionId == hiddenVal) ? &quot; selected=&#039;selected&#039;&quot; : &quot;&quot;;<br />
lookupDDL.Obj.append(&quot;&#8221; + optionVal + &#8220;&#8221;);<br />
}<br />
}<br />
}</p>
<p>// method to update the original and hidden field.<br />
function updateOriginalField(child, temp) {<br />
var childSelect = new DropDownList(child);<br />
var tempSelect = new DropDownList(temp);</p>
<p>// Set the text box<br />
childSelect.Obj.attr(&#8220;value&#8221;, tempSelect.Obj.find(&#8220;option:selected&#8221;).val());</p>
<p>// Get Hidden ID<br />
var hiddenId = childSelect.Obj.attr(&#8220;optHid&#8221;);</p>
<p>// Update the hidden variable<br />
$(&#8216;input[name=' + hiddenId + ']&#8216;).val(tempSelect.Obj.find(&#8220;option:selected&#8221;).val());<br />
}</p>
<p>// just to construct a drop down box object. Idea token from SPServces<br />
function DropDownList(colName) {<br />
// Simple &#8211; when they are less than 20 items<br />
if ((this.Obj = $(&#8220;select[Title='" + colName + "']&#8220;)).html() != null) {<br />
this.Type = &#8220;S&#8221;;<br />
// Compound &#8211; when they are more than 20 items<br />
} else if ((this.Obj = $(&#8220;input[Title='" + colName + "']&#8220;)).html() != null) {<br />
this.Type = &#8220;C&#8221;;<br />
// Multi-select: This will find the multi-select column control on English and most other languages sites where the Title looks like &#8216;Column Name possible values&#8217;<br />
} else if ((this.Obj = $(&#8220;select[ID$='SelectCandidate'][Title^='" + colName + " ']&#8220;)).html() != null) {<br />
this.Type = &#8220;M&#8221;;<br />
// Multi-select: This will find the multi-select column control on a Russian site (and perhaps others) where the Title looks like &#8216;????????? ????????: Column Name&#8217;<br />
} else if ((this.Obj = $(&#8220;select[ID$='SelectCandidate'][Title$=': " + colName + "']&#8220;)).html() != null) {<br />
this.Type = &#8220;M&#8221;;<br />
} else<br />
this.Type = null;<br />
} // End of function dropdownCtl</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Url property when deploying a BCS entity by Matthias Fonteyne</title>
		<link>http://blog.voltje.be/?p=182&#038;cpage=1#comment-561</link>
		<dc:creator>Matthias Fonteyne</dc:creator>
		<pubDate>Fri, 16 Mar 2012 14:37:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=182#comment-561</guid>
		<description>Thanks, 
this is just what we needed! :)</description>
		<content:encoded><![CDATA[<p>Thanks,<br />
this is just what we needed! <img src='http://blog.voltje.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Deploying Content Types and Fields by Robin</title>
		<link>http://blog.voltje.be/?p=282&#038;cpage=1#comment-545</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Wed, 15 Feb 2012 13:06:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=282#comment-545</guid>
		<description>Frederik, you are an amazing developer!</description>
		<content:encoded><![CDATA[<p>Frederik, you are an amazing developer!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Site Url property when deploying a BCS entity by Edwin Lucke</title>
		<link>http://blog.voltje.be/?p=182&#038;cpage=1#comment-544</link>
		<dc:creator>Edwin Lucke</dc:creator>
		<pubDate>Fri, 27 Jan 2012 10:30:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=182#comment-544</guid>
		<description>Bedankt Frederik,

i have been annoyed about this very same thing for some time and needed a &quot;semi clean&quot; solution as opposed to the hardcoded solution. 

Thnx for sharing it with the rest of us codemonkeys.</description>
		<content:encoded><![CDATA[<p>Bedankt Frederik,</p>
<p>i have been annoyed about this very same thing for some time and needed a &#8220;semi clean&#8221; solution as opposed to the hardcoded solution. </p>
<p>Thnx for sharing it with the rest of us codemonkeys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Add &#8220;New Document&#8221; link you your custom application page by Tim</title>
		<link>http://blog.voltje.be/?p=211&#038;cpage=1#comment-541</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 04 Jan 2012 18:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=211#comment-541</guid>
		<description>I&#039;m using the document in powerpoint option and it workds great, however when I save the document to the site it uses the default &#039;Document&#039; content type, rather than one of the other conent types I have established.  I&#039;ve tried appending &quot;?contenttypeid=xxxx&quot; to the url for the template, but that does nothing.  Any idea how to choose the content type when the user saves the file?

Here is what I&#039;m currently using...
&lt;a title=&quot;Create New Presentation from Template&quot; onclick=&quot;createNewDocumentWithProgID(&#039;https:\u002f\u002f\u002fadmin\u002fContentTypeHub\u002fSiteCollectionDocuments\u002fTemplate-Powerpoint.pptx?ContentTypeId=0x010100C8762B78F1D1FA48B1D15F41DB879AA801009EEF79988BD9ED4189664DCD186E6A2D&#039;, &#039;https:\u002f\u002f\u002ftsc\u002ftrndev\u002fTeamDoc1&#039;, &#039;SharePoint.OpenDocuments&#039;, false);return false;&quot; href=&quot;#&quot;&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>I&#8217;m using the document in powerpoint option and it workds great, however when I save the document to the site it uses the default &#8216;Document&#8217; content type, rather than one of the other conent types I have established.  I&#8217;ve tried appending &#8220;?contenttypeid=xxxx&#8221; to the url for the template, but that does nothing.  Any idea how to choose the content type when the user saves the file?</p>
<p>Here is what I&#8217;m currently using&#8230;<br />
&lt;a title=&quot;Create New Presentation from Template&quot; onclick=&quot;createNewDocumentWithProgID(&#039;https:\u002f\u002f\u002fadmin\u002fContentTypeHub\u002fSiteCollectionDocuments\u002fTemplate-Powerpoint.pptx?ContentTypeId=0x010100C8762B78F1D1FA48B1D15F41DB879AA801009EEF79988BD9ED4189664DCD186E6A2D&#039;, &#039;https:\u002f\u002f\u002ftsc\u002ftrndev\u002fTeamDoc1&#039;, &#039;SharePoint.OpenDocuments&#039;, false);return false;&#8221; href=&#8221;#&#8221;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Default column values vs Document Information Panel by Frederik Prijck</title>
		<link>http://blog.voltje.be/?p=218&#038;cpage=1#comment-533</link>
		<dc:creator>Frederik Prijck</dc:creator>
		<pubDate>Sat, 24 Dec 2011 16:43:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=218#comment-533</guid>
		<description>Jerry,

Thanks for your input considering this issue.
I am sorry to inform you we haven&#039;t found any solution yet.
If we do, I will put it on my blog!

If you find any solution yourself, would you mind letting me know?

Thanks !</description>
		<content:encoded><![CDATA[<p>Jerry,</p>
<p>Thanks for your input considering this issue.<br />
I am sorry to inform you we haven&#8217;t found any solution yet.<br />
If we do, I will put it on my blog!</p>
<p>If you find any solution yourself, would you mind letting me know?</p>
<p>Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Default column values vs Document Information Panel by Jerry Johnson</title>
		<link>http://blog.voltje.be/?p=218&#038;cpage=1#comment-532</link>
		<dc:creator>Jerry Johnson</dc:creator>
		<pubDate>Fri, 23 Dec 2011 18:55:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.voltje.be/?p=218#comment-532</guid>
		<description>I&#039;m having the exact same problem. And I&#039;ll throw a little more discovery on the issue. 

We&#039;re using Foundation so there isn&#039;t any DIP refresh capability. The following steps suggest that the cache is the problem:



1)	Create a content type with site columns A1 and A2
2)	Create a new document with the content type
3)	Change the defaults on both site columns
4)	Create a new document with the content type and the new defaults WILL NOT be reflected
5)	Remove both fields from the content type
6)	Add both fields from the content type
7)	Create a new document with the content type and the new defaults WILL NOT be reflected

Now alter the procedure a bit:

1)	Create a content type with site columns A1 and A2
2)	Create a new document with the content type
3)	Change the defaults on both site columns
4)	Create a new document with the content type and the new defaults WILL NOT be reflected
5)	Remove both fields from the content type
6)	Create a new document with the content type and both fields are not there, as expected
7)	Add both fields from the content type
8)	Create a new document with the content type and the new defaults WILL be reflected

Simply adding the step where the content type is requested by the document while something in the content type has changed will refresh the generated DIP. But something in the cache must be field specific because omitting the UI step will cause the DIP to not be regenerated. 

And if one of the fields is removed, the document created, and then the field put back, will show that the replaced field has new defaults, but the untouched field does not.

We&#039;re in desperate need of a solution since the defaults are important for our particular scenario.</description>
		<content:encoded><![CDATA[<p>I&#8217;m having the exact same problem. And I&#8217;ll throw a little more discovery on the issue. </p>
<p>We&#8217;re using Foundation so there isn&#8217;t any DIP refresh capability. The following steps suggest that the cache is the problem:</p>
<p>1)	Create a content type with site columns A1 and A2<br />
2)	Create a new document with the content type<br />
3)	Change the defaults on both site columns<br />
4)	Create a new document with the content type and the new defaults WILL NOT be reflected<br />
5)	Remove both fields from the content type<br />
6)	Add both fields from the content type<br />
7)	Create a new document with the content type and the new defaults WILL NOT be reflected</p>
<p>Now alter the procedure a bit:</p>
<p>1)	Create a content type with site columns A1 and A2<br />
2)	Create a new document with the content type<br />
3)	Change the defaults on both site columns<br />
4)	Create a new document with the content type and the new defaults WILL NOT be reflected<br />
5)	Remove both fields from the content type<br />
6)	Create a new document with the content type and both fields are not there, as expected<br />
7)	Add both fields from the content type<br />
 <img src='http://blog.voltje.be/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Create a new document with the content type and the new defaults WILL be reflected</p>
<p>Simply adding the step where the content type is requested by the document while something in the content type has changed will refresh the generated DIP. But something in the cache must be field specific because omitting the UI step will cause the DIP to not be regenerated. </p>
<p>And if one of the fields is removed, the document created, and then the field put back, will show that the replaced field has new defaults, but the untouched field does not.</p>
<p>We&#8217;re in desperate need of a solution since the defaults are important for our particular scenario.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

