<?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 &#187; InfoPath</title>
	<atom:link href="http://blog.qumsieh.ca/tag/infopath/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>Fri, 27 Jan 2012 19:08: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>Why Don&#8217;t You Use InfoPath?</title>
		<link>http://blog.qumsieh.ca/2012/01/23/why-dont-you-use-infopath/</link>
		<comments>http://blog.qumsieh.ca/2012/01/23/why-dont-you-use-infopath/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 01:12:12 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=871</guid>
		<description><![CDATA[I get asked this question a lot. Hey Shereen, Why don&#8217;t you use InfoPath more often in your projects? To which I often reply, it&#8217;s the 80/20 rule. InfoPath doesn&#8217;t get me all the way there, and to invest that much time and effort only to hit some project impeding roadblocks is not a conversation [...]]]></description>
			<content:encoded><![CDATA[<p>I get asked this question a lot.</p>
<blockquote><p>Hey Shereen, Why don&#8217;t you use InfoPath more often in your projects?</p></blockquote>
<p>To which I often reply, it&#8217;s the 80/20 rule. InfoPath doesn&#8217;t get me all the way there, and to invest that much time and effort only to hit some project impeding roadblocks is not a conversation I like to have with our clients. It&#8217;s not fun, no one enjoys explaining why you CAN&#8217;T do something, because when it all boils down, clients are only interested in the solution.</p>
<p>Recently, however, I was given the opportunity to work with InfoPath again, and it&#8217;s reminded me in many ways, the pros and cons of using this tool. So I&#8217;ve jotted some notes down, and I&#8217;ll share with the rest of you, and if we can have a constructive, intelligent debate about this, I&#8217;m all for it. Keep in mind this is <strong>InfoPath 2007</strong>.</p>
<p>Let&#8217;s start with the Pros.</p>
<ol>
<li>It&#8217;s incredibly easy to do some basics in InfoPath. Adding controls to a page, validating those controls. Applying conditions that define when to show/hide specific content, or when to display that content in a different way. Tab order, submission and layout are all examples of things we can do well in InfoPath. This is something any power user can do, and probably do well.</li>
<li>It makes it possible for power users to maintain a form post-development and well into the future. The same is not true for a custom form or web part built in ASP.NET I don&#8217;t care how &#8216;<strong>powerful</strong>&#8216; your users think they are.</li>
<li>It&#8217;s definitely a bit easier to deal with <strong>Lookup</strong> columns and <strong>People or Group </strong>columns in the sense that it takes very little effort to wire them up and save/load from those controls within InfoPath. These are often problematic in standard ASP.NET form development.</li>
<li>Repeating tables are great, these take little to no effort to add to the page and give users a lot of flexibility so that they may dynamically add or remove additional rows.</li>
</ol>
<p>So definitely some good things we can do with InfoPath, however, there are definitely some pitfalls that make you go &#8216;<strong>ARRGHHHH</strong>&#8216;!</p>
<ol>
<li>You can&#8217;t use a <strong>Contact Selector</strong> field and publish to a column of type <strong>Person or Group</strong>, you have to use either a workflow to populate these fields or <a href="http://blogs.msdn.com/b/uksharepoint/archive/2009/04/17/quick-tip-storing-infopath-contact-selector-values-in-sharepoint.aspx">custom code</a>. A lot of times, we use these fields to power views with the<strong> [Me]</strong> keyword to display personalized views of the data. This is hard to do when a Contact Selector translates to a <strong>Single Line of Text</strong>. It also starts to challenge the <strong>Ease Of Administration</strong> principle I talked about above, because now users have to maintain a workflow or a section of custom code to get past this hurdle.</li>
<li>In terms of order and organization of the <strong>Data Sources</strong>, it sucks. Any field that you create and then remove, does not get removed from the data source (which I understand), and you have to manually manage and maintain your data sources to keep it clean. I can honestly waste a ton of time formatting and moving fields into the appropriate containers and ensuring that overall, the data source stays clean. Maybe I&#8217;m just being anal, but it&#8217;s not something I particularly enjoy &#8211; I do feel it&#8217;s necessary though. It can get pretty hard to read if you have a form with 100 fields and you let it get out of control.</li>
<li>It&#8217;s not easy adding expandable/collapsable regions. If you don&#8217;t agree, let&#8217;s throw up a challenge where you build out your regions in InfoPath and I&#8217;ll do it in html/css/jQuery and we&#8217;ll see who finishes first.</li>
<li>Repeating tables only save the first row of data, not subsequent rows. So anytime you do use a repeating table, don&#8217;t plan on using that information for any views or filters of any kind. Normally though, this isn&#8217;t something I find myself needing to do often, but when it does come up, it&#8217;s kind of a pain that I can&#8217;t do it.</li>
<li>Rich text formatting is not supported in browser based forms.</li>
<li>There is no way that I know of to add a header and footer. If you&#8217;ve got a header or footer and multiple views, any change to those will have to be applied to each view. I&#8217;m not positive about this one, but if anyone corrects me on this, I&#8217;d be happy to update this post.</li>
</ol>
<p>Tips</p>
<ol>
<li>When setting up tabbing between sections, it&#8217;s wise to setup a break in numbers in case it changes down the road. Otherwise imagine defining your tabbing order and then inserting a field at tab order 10.</li>
</ol>
<p>So to summarize, I definitely see the power of InfoPath and if I can keep the requirements dead simple, and there&#8217;s flexibility when we hit roadblocks, I don&#8217;t see why this wouldn&#8217;t be the faster approach to form development. I&#8217;d probably recommend it.</p>
<p>However, if the reverse is true, and I know there will be business workflow or requirements that will make working with InfoPath a challenge, I&#8217;ll opt for the custom web form route, because that guarantees me no limitations to what I can do. And it&#8217;s likely faster.</p>
<p>It all comes down to an evaluation of the requirements and the prioritization of features over simplicity and maintainability that will ultimately guide which route I take. </p>
<p>If anyone would like to add to this, or has a suggestion for something I overlooked, ping me here or send me a tweet on twitter. I&#8217;m all for finding better and more efficient ways for getting things done.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2012/01/23/why-dont-you-use-infopath/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Removing a Form Template from Central Admin Generates Error</title>
		<link>http://blog.qumsieh.ca/2008/01/30/removing-a-form-template-from-central-admin-generates-an-error/</link>
		<comments>http://blog.qumsieh.ca/2008/01/30/removing-a-form-template-from-central-admin-generates-an-error/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 00:12:19 +0000</pubDate>
		<dc:creator>shereen</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://blog.qumsieh.ca/?p=37</guid>
		<description><![CDATA[Sometimes, when I attempt to remove a form template that was deployed as an administrator approved template, I run into issues. If you&#8217;ve ever received the error below, then you&#8217;ll have to use stsadm to remove the feature that is associated with that particular form template. This form template was deployed as part of the [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, when I attempt to remove a form template that was deployed as an administrator approved template, I run into issues. If you&#8217;ve ever received the error below, then you&#8217;ll have to use stsadm to remove the feature that is associated with that particular form template.</p>
<p><span style="color: red;">This form template was deployed as part of the FT-01-f97dd99b-7ea7-1c56-25e5-eddf7ff6099b feature.  This form template should be removed only by uninstalling that feature. </span></p>
<p>Resolution:</p>

<div class="wp_syntax"><div class="code"><pre class="console" style="font-family:monospace;">stsadm -o uninstallfeature -id idoffeature -force
stsadm -o uninstallfeature -id f97dd99b-7ea7-1c56-25e5-eddf7ff6099 -force</pre></div></div>

<p>To determine the id, navigate to the</p>

<div class="wp_syntax"><div class="code"><pre class="console" style="font-family:monospace;">C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\FT-01-f97dd99b-7ea7-1c56-25e5-eddf7ff6099b</pre></div></div>

<p>and locate the feature.xml file. The id will be located inside of this file.</p>
<p>The InfoPath team blog has a great post on becoming a better template administrator:<br />
<a href="http://blogs.msdn.com/infopath/archive/2006/10/23/behind-the-scenes-of-administrator-approved-form-templates.aspx">Behind the Scenes of Administrator-Approved Form Templates</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.qumsieh.ca/2008/01/30/removing-a-form-template-from-central-admin-generates-an-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

