<?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>SharePoint Fun</title>
	<atom:link href="http://blog.qumsieh.ca/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.qumsieh.ca</link>
	<description>Developer's blog related to ASP.NET, SharePoint and Telerik Web Controls</description>
	<lastBuildDate>Tue, 27 Jul 2010 03:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Content Deployment Errors in SharePoint 2010</title>
		<link>http://blog.qumsieh.ca/2010/07/26/content-deployment-errors-in-sharepoint-2010/</link>
		<comments>http://blog.qumsieh.ca/2010/07/26/content-deployment-errors-in-sharepoint-2010/#comments</comments>
		<pubDate>Tue, 27 Jul 2010 03:02:21 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=671</guid>
		<description><![CDATA[I&#8217;ve been doing a lot of work recently with SharePoint 2010 and the Content Deployment/Content Scheduling features, and it seems to me that not a whole lot has changed. According to the official Microsoft 2010 &#8220;Content deployment overview&#8220;, we still have to watch out for the following: 1. Always deploy to an empty site collection [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a lot of work recently with SharePoint 2010 and the Content Deployment/Content Scheduling features, and it seems to me that not a whole lot has changed. According to the official Microsoft 2010 &#8220;<a href="http://technet.microsoft.com/en-us/library/ee721058.aspx">Content deployment overview</a>&#8220;, we still have to watch out for the following:</p>
<p>1. Always deploy to an empty site collection for the initial content deployment job &#8211; It doesn&#8217;t appear to be sufficient anymore to use the <strong>blank </strong>site template. The recommendation now is to use the <strong>&lt;Select template later&gt;</strong> option we now see under the <strong>Custom</strong> tab. I prefer to use the following powershell command:</p>

<div class="wp_syntax"><div class="code"><pre class="command" style="font-family:monospace;">New-SPSite -Url &quot;http://silvermoon&quot; -OwnerAlias &quot;silvermoon\joeuser&quot; -OwnerEmail &quot;&quot;</pre></div></div>

<p>That will create a new site collection without applying a template.</p>
<p>I also wanted to note that I ran into some errors similar to what I had blogged about previously in 2007 (I&#8217;m surprised these still continue to be a problem). You can read more about that <a href="http://blog.qumsieh.ca/2008/01/29/troubleshooting-content-migration-issues-in-sharepoint/">here</a>. In particular, I was running into one error consistently:</p>
<p><strong><span style="color: red;">Unable to import folder _catalogs/masterpage/Forms/Page Layout. There is already an object with the Id 62b662s-3344b-332bbs33-a334d-233k in the database from another site collection</span></strong></p>
<p>I really couldn&#8217;t figure out what was causing this error. I had two web applications, with a single site collection in each, and I was creating the destination site collection without a template as prescribed by MS. Turns out, the very first time I created a site collection in my new web application, I had specified a template instead of selecting <strong>none</strong>. Even though I had deleted and recreated brand new ones several times since then, there were still residual traces of <em><strong>something</strong></em>, hence the error above.</p>
<p>The resolution for me was to detach the content db, and then reattach it. OR, delete my destination web application and start again.</p>
<p>Just wanted to note this for anyone else out there having a similar issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/07/26/content-deployment-errors-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FireBug for All Other Browsers</title>
		<link>http://blog.qumsieh.ca/2010/07/01/firebug-for-all-other-browsers/</link>
		<comments>http://blog.qumsieh.ca/2010/07/01/firebug-for-all-other-browsers/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 19:30:05 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=665</guid>
		<description><![CDATA[For those of you who do a lot of work with tools like jQuery and more specifically, the $ajax calls you can make, you need to be aware of tools like Firebug for troubleshooting the Params, Headers and Response you get back from the server. I find it especially useful when I&#8217;m working with a [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you who do a lot of work with tools like <a href="http://www.jquery.com">jQuery</a> and more specifically, the $ajax calls you can make, you need to be aware of tools like <a href="http://getfirebug.com">Firebug</a> for troubleshooting the Params, Headers and Response you get back from the server. I find it especially useful when I&#8217;m working with a new plugin or tool like jqGrid, because it gives valuable (and time saving) insight into the calls that are being made from these plugins.</p>
<p>For Firefox, there is a great, absolutely must have tool called Firebug, but what about IE and other browsers? There will be scenarios where you&#8217;ll run into something that works in Firefox but not IE and so it would be nice to troubleshoot the ajax call directly from IE. Well, in the Firebug page, there is a link to the lite version that is supported by most major browsers, including IE. It&#8217;s officially called, <a href="http://getfirebug.com/firebuglite">Firebug Lite</a>.</p>
<p>The quickest way to get this going is to download the firebug-lite.js file from <a href="https://getfirebug.com/firebug-lite-beta.js">here</a>.</p>
<p>And then just link to it from the <HEAD> element of your page.</p>

<div class="wp_syntax"><div class="code"><pre class="html" style="font-family:monospace;">&lt;script type=&quot;text/javascript&quot; src=&quot;/scripts/firebug-lite-beta.js&quot;&gt;&lt;/script&gt;</pre></div></div>

<p>Now once you load the page, the Firebug Lite component will append to the bottom of the page and it behaves much like the extension for Firefox. Give it a try!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/07/01/firebug-for-all-other-browsers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Parse An Ajax [object XMLHttpRequest]</title>
		<link>http://blog.qumsieh.ca/2010/06/18/how-to-parse-an-ajax-object-xmlhttprequest/</link>
		<comments>http://blog.qumsieh.ca/2010/06/18/how-to-parse-an-ajax-object-xmlhttprequest/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 19:30:48 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=658</guid>
		<description><![CDATA[This is a quick post to summarize a couple areas of confusion I often see on the web surrounding Ajax and the XMLHttpRequest call. Read about what Ajax is all about and how to parse the XMLHttpRequest response.]]></description>
			<content:encoded><![CDATA[<p>This is a quick post to summarize a couple areas of confusion I often see on the web surrounding Ajax and the XMLHttpRequest call. I think for myself, the best source of information that summarizes how this all works is the Javascript Developer Center over at Yahoo. In particular, this article: <a href="http://developer.yahoo.com/javascript/howto-ajax.html">http://developer.yahoo.com/javascript/howto-ajax.html</a></p>
<p>So what is all this ajax hype? Let&#8217;s break it down based on the great summary from Yahoo:</p>
<blockquote><p>In a traditional, non-AJAX web world, if your web application needs to get new data to update itself &#8212; even if that&#8217;s just a tiny bit of data &#8212; you write your page so that when new data is required a user action (a button click, for example) triggers the browser to make an HTTP connection (a form submission) back to the web server. The problem is that with each HTTP connection, a new page is reloaded. All the elements of the page are broken down and recreated each time while the user waits for the network and waits for the page to redraw. Its incredibly inefficient, slow, and not much fun for the user.</p></blockquote>
<p>Great explanation.</p>
<p>Now, we use a lot of Ajax in our applications here at <a href="http://www.blackninjasoftware.com">Black Ninja</a> because of it&#8217;s efficiency, ease of use and simplicity. What I&#8217;d like to point out are the options and gotchas for parsing the XMLHttpRequest object (directly from the Yahoo article credited above, but summarized in bullet form. Anything in green are my comments):</p>
<ol>
<li>After the XMLHttpRequest call is complete, the response data is contained either in the responseText property, the responseXML property, or both. <span style="color: #339966;">So if for example, you&#8217;re alerting on your response object, and the message box returns &#8220;[object XMLHttpRequest]&#8220;, the response data is either in response.responseText or response.responseXML.</span></li>
<li>If the data you get back from the web service is in XML format, both responseXML and responseText are filled.</li>
<li>If the data is in any other format, responseText is filled. However, whether responseXML gets filled is dependent on the browser and the Content-type the server returns (text/xml or application/xml). In practice, responseText seems to be more reliably filled across browsers and web services.</li>
<li>If the responseXML property is filled by the XMLHttpRequest object, that property contains a Document object whose elements you can access in JavaScript using standard DOM methods (getElementsByTagName, etc).</li>
<li>If your response format was XML but all you have is responseText, you will need to use an XML parser to get the information you need out of the XML text. Both Mozilla and Internet Explorer have XML parsers built in; see <a href="http://www.faqts.com/knowledge_base/view.phtml/aid/15302/fid/616">this</a> tutorial from <a href="www.faqts.com">www.faqts.com</a> for help in getting started.</li>
<li>If your response was in JSON format parsing is perhaps easiest of all. JSON is short for JavaScript Object Notation &#8212; JSON is JavaScript. To interpret a JSON response just eval the response, and you&#8217;ll get a JavaScript object back:

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">var</span> myObj <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">eval</span> <span style="color: #009900;">&#40;</span> xmlhttp.<span style="color: #660066;">responseText</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Once you have the data in hand you can update the page with standard JavaScript and DHTML methods. No need to reload or redraw the entire page &#8212; just modify the part of the page that needs the new data.</li>
</ol>
<p>Super great summary, thank you <a href="http://developer.yahoo.com/">Yahoo Developer Center</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/06/18/how-to-parse-an-ajax-object-xmlhttprequest/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using SharePoint 2010 to Improve Developer Productivity</title>
		<link>http://blog.qumsieh.ca/2010/04/23/using-sharepoint-to-improve-developer-productivity/</link>
		<comments>http://blog.qumsieh.ca/2010/04/23/using-sharepoint-to-improve-developer-productivity/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 16:01:05 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=651</guid>
		<description><![CDATA[For everyone who attend both my presentations this week on SharePoint 2010, Visual Studio 2010 and the developer productivity tools, a huge thank you for all the great feedback. I had a great time running both sessions and was happy to be able to interact with some of you after the sessions. I received a [...]]]></description>
			<content:encoded><![CDATA[<p>For everyone who attend both my presentations this week on SharePoint 2010, Visual Studio 2010 and the developer productivity tools, a huge thank you for all the great feedback. I had a great time running both sessions and was happy to be able to interact with some of you after the sessions.</p>
<p>I received a lot of requests for posting the slides and demo scripts online and perhaps even a recording of the session itself. Good news, we do have a live recording available from the <a href="http://www.vanspug.com">Vancouver SharePoint User Group</a> session that ran during the evening. You can view the live recording here: <a href="http://vimeo.com/11150378">http://vimeo.com/11150378</a>.</p>
<p>If you&#8217;d like access to the powerpoint and the demo scripts, I&#8217;ve got good news there as well. They can be downloaded directly from here: <a href="http://cid-b810a8a4579bd670.skydrive.live.com/browse.aspx/Talks/2010/SharePoint%202010%20Tour">Slides and Demos</a>.</p>
<p>I will try to get back to everyone else that has emailed me since the session and left their business cards for more info within the next week! Thanks all.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/04/23/using-sharepoint-to-improve-developer-productivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Column Descriptions to Your Custom Forms</title>
		<link>http://blog.qumsieh.ca/2010/04/13/how-to-add-column-descriptions-to-your-custom-forms/</link>
		<comments>http://blog.qumsieh.ca/2010/04/13/how-to-add-column-descriptions-to-your-custom-forms/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 19:08:33 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=646</guid>
		<description><![CDATA[This is a quick overview on how to add a column&#8217;s description to your custom edit and disp forms in SharePoint 2007. List Name: Projects Column Name: Status Column Type: Lookup Column Description: &#8220;Choose the status for this current project.&#8221; To add a column to a form and display it&#8217;s contents, it&#8217;s pretty straight forward: [...]]]></description>
			<content:encoded><![CDATA[<p>This is a quick overview on how to add a column&#8217;s description to your custom edit and disp forms in SharePoint 2007.</p>
<p><strong>List Name</strong>: Projects<br />
<strong>Column Name</strong>: Status<br />
<strong>Column Type</strong>: Lookup<br />
<strong>Column Description</strong>: &#8220;Choose the status for this current project.&#8221;</p>
<p>To add a column to a form and display it&#8217;s contents, it&#8217;s pretty straight forward:</p>

<div class="wp_syntax"><div class="code"><pre class="csharp" style="font-family:monospace;">SPWeb web <span style="color: #008000;">=</span> SPContext.<span style="color: #0000FF;">Current</span>.<span style="color: #0000FF;">Web</span><span style="color: #008000;">;</span>
SPList projects <span style="color: #008000;">=</span> web.<span style="color: #0000FF;">Lists</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;Projects&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #008000;">;</span>
SPListItem item <span style="color: #008000;">=</span> projects.<span style="color: #0000FF;">GetItemById</span><span style="color: #000000;">&#40;</span>Convert.<span style="color: #0000FF;">ToInt32</span><span style="color: #000000;">&#40;</span>Request.<span style="color: #0000FF;">QueryString</span><span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;ID&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// use this to grab the value, you can get either the ID or the Value in the column</span>
SPFieldLookupValue status <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> SPFieldLookupValue<span style="color: #000000;">&#40;</span>Convert.<span style="color: #0000FF;">ToString</span><span style="color: #000000;">&#40;</span>item<span style="color: #000000;">&#91;</span><span style="color: #666666;">&quot;Status&quot;</span><span style="color: #000000;">&#93;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
lblStatus.<span style="color: #0000FF;">Text</span> <span style="color: #008000;">=</span> status.<span style="color: #0000FF;">LookupValue</span><span style="color: #008000;">;</span>
&nbsp;
<span style="color: #008080; font-style: italic;">// use this to grab the columns description, or any other property for that column</span>
SPFieldLookup statusDesc <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> SPFieldLookup<span style="color: #000000;">&#40;</span>projects.<span style="color: #0000FF;">Fields</span>, <span style="color: #666666;">&quot;Status&quot;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span>
lblStatusDesc.<span style="color: #0000FF;">Text</span> <span style="color: #008000;">=</span> statusDesc.<span style="color: #0000FF;">Description</span><span style="color: #008000;">;</span></pre></div></div>

<p>The above works great, but please note that the column name for the <strong>SPFieldLookup</strong> method requires the SharePoint Internal Field Name. So for example, if your column name was Project Status, and you created the column with the spaces, then it will be <strong>Project_x0020_Status</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/04/13/how-to-add-column-descriptions-to-your-custom-forms/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hide Columns in SharePoint New, Edit and Disp Forms</title>
		<link>http://blog.qumsieh.ca/2010/02/16/hide-columns-in-sharepoint-new-edit-and-disp-forms/</link>
		<comments>http://blog.qumsieh.ca/2010/02/16/hide-columns-in-sharepoint-new-edit-and-disp-forms/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 22:36:38 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=639</guid>
		<description><![CDATA[Hiding columns in SharePoint is nothing new really, there have been several articles written on this topic. The approach for doing this, however, does inspire some debate in terms of what the best practice is. Let&#8217;s say we can agree that there are three ways to get this done: Using the built in content types [...]]]></description>
			<content:encoded><![CDATA[<p>Hiding columns in SharePoint is nothing new really, there have been several articles written on this topic. The approach for doing this, however, does inspire some debate in terms of what the best practice is. Let&#8217;s say we can agree that there are three ways to get this done:</p>
<ol>
<li>Using the built in content types to specify which columns you wish to be hidden.</li>
<li>Using jQuery and a content editor web part to hide the columns as desired.</li>
<li>Hide the columns programmatically using code.</li>
</ol>
<p>I just wanted to make some comments on all three. The content type approach is a good one and relatively simple to implement. Once you&#8217;ve enabled content types for your list or library, click on the default content type, let&#8217;s say it&#8217;s Item, and choose the column you&#8217;d like to have hidden and simply set it&#8217;s column settings to Hidden. Here is an excellent reference for this technique: <a href="http://littletalk.wordpress.com/2009/03/30/hide-remove-title-column-from-sharepoint-list/" target="_blank">http://littletalk.wordpress.com/2009/03/30/hide-remove-title-column-from-sharepoint-list/</a>.</p>
<p>Ok so the above works good, but what happens if you only want to introduce these hidden columns on your <strong>New</strong> and <strong>Edit</strong> forms but not your <strong>Disp</strong> form as an example. Or what if your scenario requires that they are hidden from all default <strong>New</strong>, <strong>Edit</strong> and <strong>Disp</strong> forms, but you have some custom SharePoint Designer disp forms that you&#8217;ve created that those fields need to be visible on. The content type approach will hide the column for all forms and so that won&#8217;t always work. We need something more granular.</p>
<p>So there is where the jQuery approach comes in handy. Some great resources for this:</p>
<ul>
<li>Paul Galvin has written some great articles on this topic over at <a href="http://endusersharepoint.com" target="_blank">EndUserSharePoint</a> &#8211; <a href="http://www.endusersharepoint.com/2009/06/17/quick-and-easy-use-jquery-to-hide-a-text-field-on-a-sharepoint-form/" target="_blank">http://www.endusersharepoint.com/2009/06/17/quick-and-easy-use-jquery-to-hide-a-text-field-on-a-sharepoint-form/</a> and <a href="http://www.endusersharepoint.com/2009/06/18/quick-and-easy-a-better-way-to-use-jquery-to-hide-a-text-field-on-a-sharepoint-form/" target="_blank">http://www.endusersharepoint.com/2009/06/18/quick-and-easy-a-better-way-to-use-jquery-to-hide-a-text-field-on-a-sharepoint-form/</a></li>
</ul>
<p>As per the comments by Nathan Ahlstrom in the second link noted above, the final fix for me was to use:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #339933;">&lt;</span>script type<span style="color: #339933;">=</span><span style="color: #3366CC;">&quot;text/javascript&quot;</span><span style="color: #339933;">&gt;</span>
$<span style="color: #009900;">&#40;</span>document<span style="color: #009900;">&#41;</span>.<span style="color: #660066;">ready</span><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'nobr:contains(&quot;Completion time&quot;)'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">closest</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tr'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    $<span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'nobr:contains(&quot;Score&quot;)'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">closest</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">'tr'</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">hide</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #339933;">&lt;/</span>script<span style="color: #339933;">&gt;</span></pre></div></div>

<p>Please note that I had to add quotes around the <strong>tr</strong> tag for this to work for me.</p>
<p>The final approach uses some custom code and the object model to hide columns for a given list. <a href="http://www.sharepointkings.com/2008/05/how-to-hide-column-of-sharepoint-list.html">http://www.sharepointkings.com/2008/05/how-to-hide-column-of-sharepoint-list.html</a>. Now I&#8217;m not entirely sure how this works with custom forms besides the <strong>New</strong>, <strong>Edit</strong> and <strong>Disp</strong> forms, and until I have time to try out, I won&#8217;t know the answer to that. It&#8217;s worth mentioning because it does give you some granularity in that you can specify hidden properties per form.</p>
<p>That&#8217;s all for now. Please send in your comments if you have them, would love to hear from you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/02/16/hide-columns-in-sharepoint-new-edit-and-disp-forms/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Heading to SPTechCon in February</title>
		<link>http://blog.qumsieh.ca/2010/01/20/heading-to-sptechcon-in-february/</link>
		<comments>http://blog.qumsieh.ca/2010/01/20/heading-to-sptechcon-in-february/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 19:12:41 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Conferences]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=636</guid>
		<description><![CDATA[I&#8217;ll be heading down to SPTechCon this February 10-12 in San Francisco and I&#8217;m looking forward to it for a variety of reasons. I&#8217;ll be participating as a Live Blogger once again and I&#8217;m really excited about this program that Mark Miller over at EndUserSharePoint.com has setup. It was a lot of fun at the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be heading down to <strong>SPTechCon</strong> this February 10-12 in San Francisco and I&#8217;m looking forward to it for a variety of reasons. I&#8217;ll be participating as a Live Blogger once again and I&#8217;m really excited about this program that Mark Miller over at <a href="http://endusersharepoint.com">EndUserSharePoint.com</a> has setup. It was a lot of fun at the SharePoint Conference &#8217;09 and it&#8217;ll be just as great if not better this time around.</p>
<p>In case you weren&#8217;t following us at the conference late last year, this is your opportunity to get some of your questions answered through the live feeds. Sign up as a <strong>Live Blog Follower</strong> and the days of the conference you simply need to start submitting your questions. You can sign up using the following link: <a href="http://2010-02-10-sptechcon.eventbrite.com/">http://2010-02-10-sptechcon.eventbrite.com/</a>. Also just before I head down there, I&#8217;ll be setting up the live feeds on my blog, so you can follow us here as well.</p>
<p>I think the social aspects of these conferences has changed quite a bit with the use of tools like twitter and live blogging and it makes that experience that much more enjoyable. I am eager to get down there and mingle with some of the SharePoint people out there. Hope to see some of you there!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/01/20/heading-to-sptechcon-in-february/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Failed To Load Workflow Error in SharePoint Designer</title>
		<link>http://blog.qumsieh.ca/2010/01/16/failed-to-load-workflow-error-in-sharepoint-designer/</link>
		<comments>http://blog.qumsieh.ca/2010/01/16/failed-to-load-workflow-error-in-sharepoint-designer/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 23:06:11 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint Designer]]></category>
		<category><![CDATA[Workflows]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=631</guid>
		<description><![CDATA[Ok I thought I&#8217;d post on this because it stumped me for close to 2 hours. So in my scenario, I have a WSS 3.0 installation with several SharePoint Designer workflows built. Many of these workflows use the Useful SharePoint Designer Custom Workflow Activities solution available on codeplex. After doing a migration from one server [...]]]></description>
			<content:encoded><![CDATA[<p>Ok I thought I&#8217;d post on this because it stumped me for close to 2 hours. So in my scenario, I have a WSS 3.0 installation with several SharePoint Designer workflows built. Many of these workflows use the <a href="http://spdactivities.codeplex.com/">Useful SharePoint Designer Custom Workflow Activities</a> solution available on codeplex. After doing a migration from one server to another, I found that when I attempted to open up my workflows that contained those custom activities, I would get an error:</p>
<blockquote><p><span style="color: #ff0000;">Failed to load workflow.</span></p></blockquote>
<p>Really frustrating error because it gives you absolutely nothing to go on. I do want to mention that I also tried building a brand new workflow and selecting one of these custom workflow activities and the behavior was odd. If i tried to add one as an ACTION inside my workflow designer, nothing would happen. No error, but the activity wasn&#8217;t added to the step either. It was as if my click/selection had no effect.</p>
<p>So I made the decision to completely remove and reinstall the custom activities. The codeplex solution comes nicely packaged using the SharePoint Installer, so all I had to do was run a remove and then a reinstall. Normally, a final step to getting this working according to the InstallGuide.txt is to:</p>
<blockquote><p>Go to Central Administration -> Application Management -> Manage Web Application Features and activate the feature for desired web applications (usually it&#8217;s Sharepoint &#8211; 80 or Sharepoint &#8211; 443).</p></blockquote>
<p>The odd thing was that I found this step was already done for me and the solution was listed as already deployed. So back to SharePoint Designer I went, double clicked on the .xoml file, damn, same error! I found several blog posts indicating that I should clear the SharePoint Designer cache. So I closed down SD, deleted the folders starting with 12.x.x.x and loaded SD back up. I tried to open my xoml file, still no luck, same error.</p>
<p>At this point I was getting pretty confused. I manually did a check of the Assembly to make sure it contained the DP.SharePoint.Workflow dll, I double checked the Features folder to make sure it contained the DP.SharePoint.Workflow folder and I make sure the .ACTIONS file was contained within the Workflow folder and that the permissions on it were not wonky. I also verified the web.config contained the safe control entries for that dll. All looked good to me.</p>
<p>FINALLY, I decided to compare my web.config against the old server&#8217;s web.config to make sure that I wasn&#8217;t missing anything. I did a quick search on DP and found that the old web.config contained one more entry than my new web.config did:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;authorizedType</span> <span style="color: #000066;">Assembly</span>=<span style="color: #ff0000;">&quot;DP.Sharepoint.Workflow, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0298457208daed83&quot;</span> <span style="color: #000066;">Namespace</span>=<span style="color: #ff0000;">&quot;DP.Sharepoint.Workflow&quot;</span> <span style="color: #000066;">TypeName</span>=<span style="color: #ff0000;">&quot;*&quot;</span> <span style="color: #000066;">Authorized</span>=<span style="color: #ff0000;">&quot;True&quot;</span> <span style="color: #000000; font-weight: bold;">/&gt;</span></span></pre></td></tr></table></div>

<p>So it would appear that I was missing this authorized type necessary for custom workflow activities. How or why this did not get added when I did my reinstall, I have no idea. But once that entry was added back, I was good to go again. My workflows open just fine without error.</p>
<p>I hope this helps someone else out there!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2010/01/16/failed-to-load-workflow-error-in-sharepoint-designer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>jqGrid Text/Word Wrapping</title>
		<link>http://blog.qumsieh.ca/2009/12/03/jqgrid-textword-wrapping/</link>
		<comments>http://blog.qumsieh.ca/2009/12/03/jqgrid-textword-wrapping/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 04:54:31 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[Web Design]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=598</guid>
		<description><![CDATA[Just a quick post for anyone else having this issue. I am working with the latest version of jqGrid, and I am dealing with cell data that is longer than the width of the cell making it difficult to see. I wanted to have this data wrap and the height of the cell adjust to [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick post for anyone else having this issue. I am working with the latest version of <a href="http://www.trirand.com/blog/">jqGrid</a>, and I am dealing with cell data that is longer than the width of the cell making it difficult to see. I wanted to have this data wrap and the height of the cell adjust to fit the wrapped content.</p>
<p>I found a <a href="http://www.trirand.com/blog/?page_id=393/help/word-wrap-support&#038;value=word%2525wrap%25251&#038;search=2">ton of useful</a> info on the jqGrid forums but it didn&#8217;t quite get me there.</p>
<p>The forum article in the above link suggests that you add the follwing CSS to your page:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">.ui-jqgrid tr.jqgrow td {
    white-space: normal !important;
}</pre></td></tr></table></div>

<p>The above worked great for FF, but in IE, it would wrap the content, but the cell height would not auto adjust and therefore you really couldn&#8217;t see the full content. So I made a couple more changes as per the code snippet below and this seemed to work for me.</p>
<p>So the <strong>height:auto</strong> forces the cell height to auto adjust based on the size of the wrapped content. I haven&#8217;t noticed any side effects of changing this. If anyone has I&#8217;d love to hear about it. The<strong> vertical-align:top</strong> ensures that the text positions at the top so that the cells with less content don&#8217;t disappear in the centre due to the larger cell blocks. And finally, I added a bit of <strong>padding</strong> so that my cells don&#8217;t look oddly aligned due to the vertical-align bit, but that&#8217;s optional. It&#8217;ll work without it.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">.ui-jqgrid tr.jqgrow td {
    white-space: normal !important;
    height:auto;
    vertical-align:text-top;
    padding-top:2px;
}</pre></td></tr></table></div>

<p>If anyone else has run into this issue or has had to make a similar change, add your contribution to the comments below.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2009/12/03/jqgrid-textword-wrapping/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>RadGrid How To &#8211; Configure a HyperLink Client Side</title>
		<link>http://blog.qumsieh.ca/2009/11/24/radgrid-how-to-configure-a-hyperlink-client-side/</link>
		<comments>http://blog.qumsieh.ca/2009/11/24/radgrid-how-to-configure-a-hyperlink-client-side/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 01:45:58 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Telerik]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=587</guid>
		<description><![CDATA[I&#8217;ve been doing a lot of work recently with Telerik&#8217;s RadGrid configuration client side. This includes data binding, sorting, paging and working with columns and data rows. I&#8217;ll likely be doing a series on some of the issues I&#8217;ve encountered trying to work with these grids completely client side. The first of this series is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been doing a lot of work recently with Telerik&#8217;s <a href="http://www.telerik.com">RadGrid</a> configuration client side. This includes data binding, sorting, paging and working with columns and data rows. I&#8217;ll likely be doing a series on some of the issues I&#8217;ve encountered trying to work with these grids completely client side. The first of this series is a relatively simple thing to do server side, but I definitely had issue with it client side.</p>
<p>Scenario:</p>
<p>I have a <strong>RadGrid</strong> called rgProjects configured with several <strong>GridBoundColumn</strong> fields and a single <strong>GridHyperLinkColumn</strong> field. The data binding for this grid is being done via an ajax call to a method in another page that returns some <a href="http://www.json.org">json</a> that I then bind to the grid. I&#8217;m leveraging the <strong>OnRowDataBound</strong> client event of this grid to perform some custom row manipulation. I figured this would be a good place to set up my HyperLink.</p>
<p><span style="text-decoration: underline;">Step 1 - Add the GridHyperLinkColumn to the grid</span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="html" style="font-family:monospace;">&lt;telerik:RadGrid ID=&quot;rgProjects&quot; EnableViewState=&quot;false&quot; runat=&quot;server&quot;
            GridLines=&quot;None&quot; AutoGenerateColumns=&quot;False&quot; AllowSorting=&quot;true&quot; Width=&quot;100%&quot;&gt;
            &lt;MasterTableView TableLayout=&quot;Fixed&quot;&gt; 
                &lt;Columns&gt;
                    &lt;telerik:GridNumericColumn DataField=&quot;ID&quot; HeaderText=&quot;ID&quot; /&gt;
                    &lt;telerik:GridNumericColumn DataField=&quot;Title&quot; HeaderText=&quot;Title&quot; Display=&quot;false&quot; /&gt;
                    &lt;telerik:GridHyperLinkColumn DataTextField=&quot;Project&quot; DataNavigateUrlFields=&quot;Project&quot;
                        UniqueName=&quot;Project&quot; HeaderText=&quot;Project&quot; ItemStyle-Font-Underline=&quot;true&quot; /&gt;
                &lt;/Columns&gt;
            &lt;/MasterTableView&gt;
            &lt;ClientSettings&gt;
                &lt;ClientEvents OnRowDataBound=&quot;rgProjects_OnRowDataBound&quot; /&gt;
            &lt;/ClientSettings&gt;
&lt;/telerik:RadGrid&gt;</pre></td></tr></table></div>

<p>The JSON that&#8217;s being returned:</p>
<p>[{"ID":"1204","Title":"shereen's test project","Project":"http://server.local/_layouts/Demo/editform.aspx?ID=1204"}]</p>
<p>So the basic idea was, I wanted my hyperlink to have it&#8217;s value set to: &#8220;shereen&#8217;s test project&#8221; and I wanted the url to be set to: http://server.local/_layouts/Demo/editform.aspx?ID=1204. </p>
<blockquote><p>Do not confuse TITLE with VALUE. By TITLE, I mean the actual TITLE attribute of the A tag that&#8217;s used for a tooltip and by VALUE I mean the innerHTML that&#8217;s set and is actually visible to the user as the hyperlink itself. </p></blockquote>
<p>So it would read as follows:</p>
<p><a href="http://server.local/_layouts/Demo/editform.aspx?ID=1204" title="shereen's test project">shereen&#8217;s test project</a></p>
<p> This was not working for me initially because both the hyperlink&#8217;s value and url were being set as the url, which is not what I wanted:</p>
<p><a href="http://server.local/_layouts/Demo/editform.aspx?ID=1204" title="shereen's test project">http://server.local/_layouts/Demo/editform.aspx?ID=1204</a></p>
<p>In comes the OnRowDataBound event where I can override what&#8217;s happening above with what it is I actually want:</p>
<p><span style="text-decoration: underline;">Step 2 - Leverage the OnRowDataBound client event to configure our HyperLink</span></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #003366; font-weight: bold;">function</span> rgProjects_OnRowDataBound<span style="color: #009900;">&#40;</span>sender<span style="color: #339933;">,</span> args<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>    
    <span style="color: #006600; font-style: italic;">// manually set the hyperlink's title</span>
    <span style="color: #003366; font-weight: bold;">var</span> <span style="color: #000066; font-weight: bold;">item</span> <span style="color: #339933;">=</span> args.<span style="color: #660066;">get_item</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;">var</span> dataItem <span style="color: #339933;">=</span> args.<span style="color: #660066;">get_dataItem</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;">var</span> link <span style="color: #339933;">=</span> <span style="color: #000066; font-weight: bold;">item</span>.<span style="color: #660066;">get_cell</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;Project&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">getElementsByTagName</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;a&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>    
    link.<span style="color: #660066;">innerHTML</span> <span style="color: #339933;">=</span> dataItem.<span style="color: #660066;">Title</span><span style="color: #339933;">;</span>
    link.<span style="color: #660066;">href</span> <span style="color: #339933;">=</span> dataItem.<span style="color: #660066;">Project</span><span style="color: #339933;">;</span>
    link.<span style="color: #660066;">title</span> <span style="color: #339933;">=</span> dataItem.<span style="color: #660066;">Title</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>So the key thing to note above is you have to set the innerHTML. Title is optional, but the important ones are href and innerHTML. Any problems let me know!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2009/11/24/radgrid-how-to-configure-a-hyperlink-client-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
