<?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"
	>

<channel>
	<title>codegirl.blog(this);</title>
	<atom:link href="http://www.codegirl.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.codegirl.net</link>
	<description>Christina A. Odom  -- Developing SharePoint Solutions</description>
	<pubDate>Wed, 10 Jun 2009 16:59:24 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Modular Document Generation: A Series</title>
		<link>http://www.codegirl.net/?p=446</link>
		<comments>http://www.codegirl.net/?p=446#comments</comments>
		<pubDate>Wed, 10 Jun 2009 16:59:24 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Code Girl]]></category>

		<category><![CDATA[MOSS]]></category>

		<category><![CDATA[Office 2007]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=446</guid>
		<description><![CDATA[I give an academic exercise:  a simple Form Server application based in MOSS that collects weekly status reports for a project.  (At time of the implementation, the user base did not have Office 2007, InfoPath or Exchange) The owners of this application want a couple of extras based on users&#8217; response:

Can`t edit offline
Limited formatting options
Can`t [...]]]></description>
			<content:encoded><![CDATA[<p>I give an academic exercise:  a simple Form Server application based in MOSS that collects weekly status reports for a project.  (At time of the implementation, the user base did not have Office 2007, InfoPath or Exchange) The owners of this application want a couple of extras based on users&#8217; response:</p>
<ul>
<li>Can`t edit offline</li>
<li>Limited formatting options</li>
<li>Can`t paste in graphics</li>
<li>No spell checking</li>
<li>No &#8216;draft&#8217; mode</li>
</ul>
<p>I know what you&#8217;re thinking, &#8220;why not use code-behind&#8221;.  Lets say business-wise, it wasn&#8217;t an option at this point.  The user base recently received Office 2007 and now the business owners want to look to upgrade their application to utilize Word 2007 and OpenXML format as well as create a few extra documents to better capture the project&#8217;s documentation lifecycle. However, several of these documents have pieces of re-usable information in it.  Oh, and the business owners want to see everything in SharePoint while the users only will accept working within Microsoft Word.</p>
<div class="wp-caption alignleft" style="width: 355px"><a href="http://www.codegirl.net/gallery/screencaps/Step1.png"><img title="Step 1:  The existing situation" src="http://www.codegirl.net/gallery/screencaps/Step1.png" alt="Step 1:  The existing situation" width="345" height="334" /></a><p class="wp-caption-text">Step 1:  The existing situation</p></div>
<p><code> <span style="color: #0000ff;"><br />
</span></code><code><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"><span style="color: #0000ff;"></span></span></span></span></span></span></span></span></span></span></code></p>
<p>So prepare yourselves for a series of blogposts.</p>
<ul>
<li>Converting Rich Text InfoPath forms into Word 2007 documents.</li>
<li><a href="http://www.codegirl.net/wp-admin/post.php?action=edit&amp;post=430" target="_blank">Displaying Word 2007 documents in SharePoint (with images &amp; objects)</a></li>
<li>Custom Xml in Word 2007 documents:  A Primer for Modular Document Generation</li>
<li>Modular Document Generation:  One Approach</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=446</wfw:commentRss>
		</item>
		<item>
		<title>More additions on the docx -&gt; html topic: Shapes &#038; things.</title>
		<link>http://www.codegirl.net/?p=430</link>
		<comments>http://www.codegirl.net/?p=430#comments</comments>
		<pubDate>Thu, 04 Jun 2009 17:49:02 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=430</guid>
		<description><![CDATA[I’ve posted in the past about Vincent (TheKid) Rothwell’s article on Creating a docx -&#62; Html Preview Handler for SharePoint and about how to render customxml nodes, so this is just further expansion on the coolness of this topic.
Essentially, the problem was when you pasted in a PowerPoint slide into the docx, it wouldn&#8217;t render in [...]]]></description>
			<content:encoded><![CDATA[<p style="line-height: 12.8pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">I’ve posted in the past about Vincent (TheKid) Rothwell’s article on <a href="http://blog.thekid.me.uk/archive/2007/10/20/creating-a-docx-html-preview-handler-for-sharepoint.aspx"><span style="color: #800080;">Creating a docx -&gt; Html Preview Handler for SharePoint</span></a> and about <a href="http://www.codegirl.net/?p=426">how to render customxml nodes</a>, so this is just further expansion on the coolness of this topic.</span></p>
<p style="line-height: 12.8pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">Essentially, the problem was when you pasted in a PowerPoint slide into the docx, it wouldn&#8217;t render in the web.  After dipping around the inner workings of the document, i realized that the slide was being saved as a .sldx in the embeddings folder of the word document. </span></p>
<p style="line-height: 12.8pt;"><strong><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">(Embedded powerpoint slide found in document.xml)</span></strong><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;"><br />
</span><code><span style="font-size: 10pt; color: #000000;">  </span></code><code><span style="font-size: 10pt; color: #0000ff;">&lt;</span></code><code><span style="font-size: 10pt; color: #a31515;">w:object</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">w:dxaOrig</span></code><code><span style="font-size: 10pt; color: #0000ff;">=</span></code><code><span style="font-size: 10pt; color: #000000;">&#8220;</span></code><code><span style="font-size: 10pt; color: #0000ff;">7218</span></code><code><span style="font-size: 10pt; color: #000000;">&#8220;</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">w:dyaOrig</span></code><code><span style="font-size: 10pt; color: #0000ff;">=</span></code><code><span style="font-size: 10pt; color: #000000;">&#8220;</span></code><code><span style="font-size: 10pt; color: #0000ff;">5399</span></code><code><span style="font-size: 10pt; color: #000000;">&#8220;</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
      &lt;</span><code><span style="font-size: 10pt; color: #a31515;">v:shapetype</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">id</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;_x0000_t75&#8243;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>coordsize</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;21600,21600&#8243;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>o:spt</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;75&#8243;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>o:preferrelative</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;t&#8221;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>path</span></code><code><span style="font-size: 10pt;"><span style="color: #0000ff;">=</span><a href="mailto:m@4@5l@4@11@9@11@9@5xe">m@4@5l@4@11@9@11@9@5xe</a><span style="color: #0000ff;"><br />
</span></span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>filled</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;f&#8221;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>stroked</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;f&#8221;&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:stroke</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">joinstyle</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;miter&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
        &lt;</span><code><span style="font-size: 10pt; color: #a31515;">v:formulas</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;if lineDrawn pixelLineWidth 0&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;sum @0 1 0&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;sum 0 0 @1&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;prod @2 1 2&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;prod @3 21600 pixelWidth&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;prod @3 21600 pixelHeight&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;sum @0 0 1&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;prod @6 1 2&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;prod @7 21600 pixelWidth&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;sum @8 21600 0&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;prod @7 21600 pixelHeight&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>        &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:f</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">eqn</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;sum @10 21600 0&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;/</code></span><code><span style="font-size: 10pt; color: #a31515;">v:formulas</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">v:path</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">o:extrusionok</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;f&#8221; </span></code><code><span style="font-size: 10pt; color: #ff0000;">gradientshapeok</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;t&#8221; </span></code><code><span style="font-size: 10pt; color: #ff0000;">o:connecttype</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;rect&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">o:lock</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">v:ext</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;edit&#8221; </span></code><code><span style="font-size: 10pt; color: #ff0000;">aspectratio</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;t&#8221; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>    &lt;/</code></span><code><span style="font-size: 10pt; color: #a31515;">v:shapetype</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
      &lt;</span><code><span style="font-size: 10pt; color: #a31515;">v:shape</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">id</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;_x0000_i1025&#8243;�<br />
               </span></code><code><span style="font-size: 10pt; color: #ff0000;">type</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;#_x0000_t75&#8243;�<br />
               </span></code><code><span style="font-size: 10pt; color: #ff0000;">style</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;width:182.35pt;height:136.6pt&#8221;�<br />
               </span></code><code><span style="font-size: 10pt; color: #ff0000;">o:ole</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;"&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      </code><strong><span style="font-family: &quot;Courier New&quot;;">&lt;</span></strong></span></span><strong><span style="font-size: 10pt; color: #a31515; font-family: &quot;Courier New&quot;;">v:imagedata</span></strong><strong><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"> </span></strong><strong><span style="font-size: 10pt; color: #ff0000; font-family: &quot;Courier New&quot;;">r:id</span></strong><strong><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;">=&#8221;rId14&#8243; </span></strong><strong><span style="font-size: 10pt; color: #ff0000; font-family: &quot;Courier New&quot;;">o:title</span></strong><strong><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;">=&#8221;" /&gt;</span></strong><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>    &lt;/</code></span><code><span style="font-size: 10pt; color: #a31515;">v:shape</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>    &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">o:OLEObject</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">Type</span></code><code><span style="font-size: 10pt;">=&#8221;Embed&#8221;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>ProgID</span></code><code><span style="font-size: 10pt;">=&#8221;PowerPoint.Slide.12&#8243;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>ShapeID</span></code><code><span style="font-size: 10pt;">=&#8221;_x0000_i1025&#8243;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>DrawAspect</span></code><code><span style="font-size: 10pt;">=&#8221;Content&#8221;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>ObjectID</span></code><code><span style="font-size: 10pt;">=&#8221;_1305441816&#8243;<br />
</span></code><code><span style="font-size: 10pt; color: #ff0000;"><span style="color: #0000ff;">               </span>r:id</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;rId15&#8243; /&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>  &lt;/</code></span><code><span style="font-size: 10pt; color: #a31515;">w:object</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code></span></span></span></span></p>
<p style="line-height: 12.8pt;"><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;"> The embedded file didn&#8217;t help me but the </span><code><span style="font-size: 10pt; color: #000000;">&lt;v:imagedata&gt; </span></code><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">seemed promising, and after i followed the relation I found that there was an image1.emf that was in the media folder of the word document.  Below is the xslt that i appended to Vincent&#8217;s solution. </span><span style="font-size: 9pt; color: #0000ff; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;">  </span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: 12.8pt;"><code><span style="font-size: 10pt; color: #008000;"><span style="block;"><span style="block;"><span style="block;"><span style="block;">//additional functionality to show embedded objects. (e.g. a powerpoint slide that was pasted into word)<br />
</span></span></span></span></span><span style="font-size: 9pt; color: #000000; font-family: &quot;Lucida Sans Unicode&quot;,&quot;sans-serif&quot;;"> </span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><code>&lt;</code></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:template</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">match</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;w:object&#8221;&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>  &lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:variable</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">name</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;size&#8221;&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>    &lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:value-of</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">select</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;.//v:shape/@style[1]&#8220;/&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<code><span style="font-size: 10pt; color: #2b91af;">  &lt;/xsl:variable</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>  &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">a</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">href</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;?image={.//v:imagedata/@r:id[1]}&#8221;&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>    &lt;</code></span></span><code><span style="font-size: 10pt; color: #a31515;">img</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">src</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;?image={.//v:imagedata/@r:id[1]}&#8221;&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:attribute</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">name</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;border&#8221;&gt;&lt;</span></code><code><span style="font-size: 10pt; color: #2b91af;">xsl:number</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">value</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;0&#8243;/&gt;</span></code><code><span style="font-size: 10pt; color: #2b91af;">xsl:attribute</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:attribute</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">name</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;width&#8221;&gt;&lt;</span></code><code><span style="font-size: 10pt; color: #2b91af;">xsl:value-of</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">select</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;substring-before(substring-after($size,&#8217;width:&#8217;), &#8216;.&#8217;)&#8221;/&gt;&lt;/</span></code><code><span style="font-size: 10pt; color: #2b91af;">xsl:attribute</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>      &lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:attribute</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">name</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;height&#8221;&gt;&lt;</span></code><code><span style="font-size: 10pt; color: #2b91af;">xsl:value-of</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">select</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;substring-before(substring-after($size,&#8217;height:&#8217;),&#8217;.')&#8221;/&gt;&lt;/</span></code><code><span style="font-size: 10pt; color: #2b91af;">xsl:attribute</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>    &lt;/</code></span><code><span style="font-size: 10pt; color: #a31515;">img</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>  &lt;/</code></span><code><span style="font-size: 10pt; color: #a31515;">a</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<code><span style="font-size: 10pt; color: #2b91af;">&lt;/xsl:template</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><br />
<code><span style="font-size: 10pt; color: #008000;">//additional functionality so that the handler doesn&#8217;t choke when it sees the w:customXml node</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<code>&lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:template</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">match</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;w:customXml&#8221;&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<span style="block;"><code>  &lt;</code></span></span><code><span style="font-size: 10pt; color: #2b91af;">xsl:apply-templates</span></code><code><span style="font-size: 10pt; color: #0000ff;"> </span></code><code><span style="font-size: 10pt; color: #ff0000;">select</span></code><code><span style="font-size: 10pt; color: #0000ff;">=&#8221;*&#8221;/&gt;</span></code><span style="font-size: 10pt; color: #0000ff; font-family: &quot;Courier New&quot;;"><br />
<code><span style="font-size: 10pt; color: #2b91af;">&lt;/xsl:template</span></code><code><span style="font-size: 10pt; color: #0000ff;">&gt;</span></code></span></span></span></span></span></span></p>
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; line-height: 12.8pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt;"><span style="font-size: 10pt; font-family: Lucida Sans Unicode;"></span></span></span></span></span></span></p>
<p>So what am I doing in Office-land?  Some rather nifty stuff.  Expect <strong>a lot</strong> of posts from me in the near future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=430</wfw:commentRss>
		</item>
		<item>
		<title>MOSS Document Conversion not working for your documents?  Do they have attached XML schemas?</title>
		<link>http://www.codegirl.net/?p=426</link>
		<comments>http://www.codegirl.net/?p=426#comments</comments>
		<pubDate>Thu, 22 Jan 2009 18:33:57 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[ECM]]></category>

		<category><![CDATA[MOSS]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=426</guid>
		<description><![CDATA[Senerio:  You have a nice .docx that you want to use MOSS Document Conversions on to convert a .docx to a web page.  You hit convert and the resulting page has nothing on it.  You take out all the fancy stuff and try the same sequence with a regular &#8220;hello world&#8221; document.  Works fine.  Try [...]]]></description>
			<content:encoded><![CDATA[<p>Senerio:  You have a nice .docx that you want to use MOSS Document Conversions on to convert a .docx to a web page.  You hit convert and the resulting page has nothing on it.  You take out all the fancy stuff and try the same sequence with a regular &#8220;hello world&#8221; document.  Works fine.  Try again with a &#8220;Hello World&#8221; with images.. no images (I&#8217;ll come back to that).  Try it a third time, attaching a xml schema to the document and surround Hello in your document with your custom schema and leave World alone.  Only World renders.</p>
<p>For the Images, Check out <a href="http://blog.thekid.me.uk/archive/2007/10/20/creating-a-docx-html-preview-handler-for-sharepoint.aspx" target="_blank">TheKid&#8217;s very excellent article on making a custom handler for document previews</a>.  He gets around the lack of embedded images.</p>
<p>If you are still having problems with your document now rendering and you have custom XML markup in your document, add this line to your <span style="font-family: Courier New;">c:\\temp\\DocX2Html.xsl </span>when trying out TheKid&#8217;s solution.</p>
<p><code><code><span style="color: #0000ff;">  &lt;</span><span style="color: #2b91af;">xsl:template</span><span style="color: #0000ff;"> </span><span style="color: #ff0000;">match</span><span style="color: #0000ff;">=</span>&#8220;<span style="color: #0000ff;">w:customXml</span>&#8220;<span style="color: #0000ff;"> &gt;<span style="block;"><br />
    &lt;</span><span style="color: #2b91af;">xsl:apply-templates</span><span style="color: #0000ff;"> </span><span style="color: #ff0000;">select</span><span style="color: #0000ff;">=</span>&#8220;<span style="color: #0000ff;">*</span>&#8220;<span style="color: #0000ff;">/&gt;<span style="block;"><br />
  <span style="color: #2b91af;">xsl:template</span><span style="color: #0000ff;">&gt;</span></span></span></span></code><br />
</code>This will ignore any w:customXml tags in your document (how Microsoft says &#8220;this part belongs to this custom schema located somewhere else) and render things nicely. </p>
<p>Just don&#8217;t be an idiot and modify the original .xsl.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=426</wfw:commentRss>
		</item>
		<item>
		<title>Yes I&#8217;m Alive!</title>
		<link>http://www.codegirl.net/?p=424</link>
		<comments>http://www.codegirl.net/?p=424#comments</comments>
		<pubDate>Wed, 21 Jan 2009 20:15:09 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=424</guid>
		<description><![CDATA[To say I&#8217;ve been swamped with work is an understatement.  I&#8217;ve been working alot in the ECM space with OBA work.  (I guess I&#8217;m a Jane of all Trades).  Anyhow, my new years resolution is to blog more  
If anyone wishes to find me on LinkedIn, here&#8217;s my profile: http://www.linkedin.com/in/christinaodom
]]></description>
			<content:encoded><![CDATA[<p>To say I&#8217;ve been swamped with work is an understatement.  I&#8217;ve been working alot in the ECM space with OBA work.  (I guess I&#8217;m a Jane of all Trades).  Anyhow, my new years resolution is to blog more <img src='http://www.codegirl.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If anyone wishes to find me on LinkedIn, here&#8217;s my profile: <a title="New window will open" href="http://www.linkedin.com/in/christinaodom" target="_blank"><span style="color: #7495c6;">http://www.linkedin.com/in/christinaodom</span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=424</wfw:commentRss>
		</item>
		<item>
		<title>Manage Form Templates Errors w/ &#8220;Unknown Error&#8221;</title>
		<link>http://www.codegirl.net/?p=422</link>
		<comments>http://www.codegirl.net/?p=422#comments</comments>
		<pubDate>Thu, 16 Oct 2008 13:42:59 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=422</guid>
		<description><![CDATA[Much thanks to Tom Kretzmer who first published the issue and his fix. 
Also, I&#8217;m going to snipe his disclaimer:
`No warrantees, express or implied, are granted with this information.  Please note that this information is FREE and me being nice enough to give it to you does not mean that you should do anything with it, [...]]]></description>
			<content:encoded><![CDATA[<p>Much thanks to <a href="http://geekswithblogs.net/HammerTips/archive/2007/12/07/unable-to-manage-form-templates.aspx" target="_blank">Tom Kretzmer</a> who first published the issue and his fix. </p>
<p>Also, I&#8217;m going to snipe his disclaimer:</p>
<blockquote><p><span style="font-size: x-small; font-family: Tahoma;">`No warrantees, express or implied, are granted with this information.  Please note that this information is FREE and me being nice enough to give it to you does not mean that you should do anything with it, and that it won&#8217;t do anything horrible to your systems.  Above all, I&#8217;m not liable for what you choose to do with it.  </span></p>
<p><span style="font-size: x-small; font-family: Tahoma;">As a matter of fact, <span style="font-size: small; color: #ff0000; background-color: #ffffff;"><strong>THIS INFORMATION HAS THE CAPABILITY OF RUINING YOUR INFRASTRUCTURE AND COSTING YOU UNTOLD MAN-HOURS, MONEY, AND DOWNTIME.  APPROACH WITH CAUTION.</strong></span></span></p></blockquote>
<p>So yesterday, one of my coworkers told me the ManageFormTemplate.aspx in Central Admin had hosed.. All we were getting was &#8220;Unknown Error&#8221;.  So after turning on debug and turning off the generic SharePoint error pages&#8230; I got the &#8220;object reference is not set to an instance of an object&#8221;.</p>
<p>Crap. Something in the DB isn&#8217;t quite right.  So I found Tom&#8217;s post&#8230; yep a form has a nasty artifact (or lack there of in the config db). Fantastic.  So I confirmed with my coworker and he tried to deploy an admin approve form when the SPTimer hosed.. he ended up deleting the solution but something of it remained.</p>
<p>Below is how I fixed it.  Bare in mind I had to step through EVERY SINGLE FORM TEMPLATE to find the one that had throw the exception when looking at the FormTemplateStatus property and delete it.  <strong><span style="color: #ff0000;">I knew that this form was not deployed to any sites, so I didn&#8217;t have to traverse all my sites in my farm and delete it there.</span></strong></p>
<p>Below is the code..<br />
<code><span style="color: #2b91af;">SPFarm</span> Farm = <span style="color: #0000ff;">new</span> <span style="color: #2b91af;">SPFarm</span>();<span style="block;"><br />
<span style="color: #2b91af;">FormsService</span> FS = <span style="color: #0000ff;">new</span> <span style="color: #2b91af;">FormsService</span>();<span style="block;"><br />
<span style="color: #2b91af;">SqlConnectionStringBuilder</span> connectionString = <span style="color: #0000ff;">new</span> <span style="color: #2b91af;">SqlConnectionStringBuilder</span>(<span style="color: #a31515;">&#8220;Data Source=&lt;YourSQLServerHere&gt;;Initial Catalog=&lt;YourConfigDBHere&gt;;Integrated Security=True&#8221;</span>);<span style="block;"><br />
<span style="block;"><br />
Farm = <span style="color: #2b91af;">SPFarm</span>.Open(connectionString.ToString());<span style="block;"><br />
                        <span style="block;"><br />
<span style="color: #0000ff;">try<span style="block;"><br />
</span>{<span style="block;"><br />
    FS = Farm.Servers.GetValue&lt;<span style="color: #2b91af;">FormsService</span>&gt;(<span style="color: #2b91af;">FormsService</span>.ServiceName);<span style="block;"><br />
    <span style="color: #0000ff;">foreach</span> (<span style="color: #2b91af;">FormTemplate</span> form <span style="color: #0000ff;">in</span> FS.FormTemplates)<span style="block;"><br />
    {</span></span></span></span></span></span></span></span></span></span></code></p>
<p><code><span style="block;"><span style="block;"><span style="block;"><span style="block;"><span style="block;"><span style="block;"><span style="color: #0000ff;"><span style="block;"><span style="block;"><span style="block;"><span style="color: #008000;">        <span>//<span style="font-size: x-small; color: #008000;">form.FormTemplateStatus.ToString();<br />
</span></span></span><span style="block;"><span style="color: #008000;">        <span style="color: #008000;">//form.Delete();  &#8212; <span style="color: #ff0000;"><span style="text-decoration: underline;"><strong>THIS WILL KILL YOUR SERVER IF YOU ARE STUPID ABOUT THINGS</strong></span></span><span style="block;"><br />
</span>    }<span style="block;"><br />
}<span style="block;"><br />
<span style="color: #0000ff;">catch</span>(<span style="color: #2b91af;">Exception</span> ex)<span style="block;"><br />
{<span style="block;"><br />
    <span style="color: #2b91af;">Console</span>.WriteLine(ex.Message);<span style="block;"><br />
}</span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></span></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=422</wfw:commentRss>
		</item>
		<item>
		<title>Have a Job that is stuck in &#8220;Getting Queued&#8221;?</title>
		<link>http://www.codegirl.net/?p=420</link>
		<comments>http://www.codegirl.net/?p=420#comments</comments>
		<pubDate>Mon, 15 Sep 2008 16:12:04 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Project Server]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=420</guid>
		<description><![CDATA[(As in you&#8217;ve tried to check in a project 8 times, and 7 jobs are currently queued w/ 1 job &#8220;Getting Queued&#8221;)?  You have yourself a nasty clog there.   Don&#8217;t bother going to the queue settings.  What you need is right infront of your nose.  In Manage Queue Jobs, expand the Advance Options section, select [...]]]></description>
			<content:encoded><![CDATA[<p>(As in you&#8217;ve tried to check in a project 8 times, and 7 jobs are currently queued w/ 1 job &#8220;Getting Queued&#8221;)?  You have yourself a nasty clog there.   Don&#8217;t bother going to the queue settings.  What you need is right infront of your nose.  In Manage Queue Jobs, expand the Advance Options section, select <em>Cancel Jobs getting enqueued</em> and kill your clog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=420</wfw:commentRss>
		</item>
		<item>
		<title>Link Item is missing from Issues list?  Read me.</title>
		<link>http://www.codegirl.net/?p=418</link>
		<comments>http://www.codegirl.net/?p=418#comments</comments>
		<pubDate>Wed, 10 Sep 2008 19:14:52 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Project Server]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=418</guid>
		<description><![CDATA[This has just happened to my client.  They setup a fresh MOPS instance on their production MOSS box.  They began to test and quickly realized that the Issues list on all project workspaces were missing the Link Item and upon further investigation.. missing the Link column (of type Project Link ).  You&#8217;re left scratching going [...]]]></description>
			<content:encoded><![CDATA[<p>This has just happened to my client.  They setup a fresh MOPS instance on their production MOSS box.  They began to test and quickly realized that the Issues list on <em>all</em> project workspaces were missing the Link Item and upon further investigation.. missing the Link column (of type Project Link ).  You&#8217;re left scratching going &#8220;huh???&#8221;</p>
<p><a href="http://blogs.msdn.com/brismith/archive/2007/12/03/project-server-2007-users-beware-the-fabulous-40.aspx">Go here.  Now. </a> Thanks Brian.</p>
<p>Now you&#8217;re left trying to politely explain why the Fab 40 isn&#8217;t a good thing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=418</wfw:commentRss>
		</item>
		<item>
		<title>Tim Dobrinski&#8217;s Variations Editor</title>
		<link>http://www.codegirl.net/?p=416</link>
		<comments>http://www.codegirl.net/?p=416#comments</comments>
		<pubDate>Thu, 28 Aug 2008 17:59:33 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=416</guid>
		<description><![CDATA[For any of you MOSS people who use Variations and understand the sheer pain of the relations list.  My friend Tim has created the free application for you.
Did I mention he released this FOR FREE??
]]></description>
			<content:encoded><![CDATA[<p>For any of you MOSS people who use Variations and understand the sheer pain of the relations list.  My friend Tim has created the <a href="http://www.thesug.org/blogs/lsuslinky/Lists/Posts/Post.aspx?List=ee6ea231-5770-4c2d-a99c-c7c6e5fec1a7&amp;ID=21" target="_blank">free application for you</a>.</p>
<p>Did I mention he released this FOR FREE??</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=416</wfw:commentRss>
		</item>
		<item>
		<title>Random Error: Infopath’s “updating the site content type failed” Part 2</title>
		<link>http://www.codegirl.net/?p=413</link>
		<comments>http://www.codegirl.net/?p=413#comments</comments>
		<pubDate>Mon, 25 Aug 2008 22:02:16 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Form Server]]></category>

		<category><![CDATA[InfoPath 2007]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=413</guid>
		<description><![CDATA[I really hate this error.  You publish a form that has been published a million times before, and you get the &#8220;Updating the site content type failed&#8221; message.  Its like the Red Ring of Death on your XBox&#8230; you&#8217;re left staring at it in utter disbelief.
Oh but it goes beyond the normal.  I have a [...]]]></description>
			<content:encoded><![CDATA[<p>I <em>really</em> hate this error.  You publish a form that has been published a million times before, and you get the &#8220;<em>Updating the site content type failed</em>&#8221; message.  Its like the Red Ring of Death on your XBox&#8230; you&#8217;re left staring at it in utter disbelief.</p>
<p>Oh but it goes beyond the normal.  I have a brand new site collection with MOPS extended onto it.  So any thought of corruption of Content Types on the site collection is mute.  So, how did I solve it <em>this</em> time?  Well, when you publish a form template to Form Server, InfoPath calls a web service that does some black voodoo in the back.  What it <em>actually</em> does I&#8217;m not sure of, but suffice to say it makes your form template web based, creates your content type and sets your site columns accordingly.  Well.. this web service <strong>has a hard coded time out value of 30 seconds</strong>.  Yeah. You read that right.  Got that from M$ support.  So, if you have any network issues, this thing chokes and you get your lovely descriptive error.</p>
<p>So what did I actually do to fix my problem?  <strong>Rebooted the server</strong>.  Published the form with one less site column (I didn&#8217;t need it).  It published fine&#8230; crisis avoided.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=413</wfw:commentRss>
		</item>
		<item>
		<title>Howto:  Find your Project Server URL from Project Workspace Context</title>
		<link>http://www.codegirl.net/?p=411</link>
		<comments>http://www.codegirl.net/?p=411#comments</comments>
		<pubDate>Tue, 12 Aug 2008 13:14:57 +0000</pubDate>
		<dc:creator>Christina Odom</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.codegirl.net/?p=411</guid>
		<description><![CDATA[This is a companion post to go with How to: Find your Project UID from Project Workspace Context since I&#8217;ve received a few questions on this topic.
The following code will return the fully qualified URL for your Project Server instance.
String PWA = SPContext.Current.Web.AllProperties["PWAURL"].ToString();
]]></description>
			<content:encoded><![CDATA[<p>This is a companion post to go with <a href="http://www.codegirl.net/?p=405" target="_blank"><em>How to: Find your Project UID from Project Workspace Context</em> </a>since I&#8217;ve received a few questions on this topic.</p>
<p>The following code will return the fully qualified URL for your Project Server instance.</p>
<p><code><span style="color: #008080;">String</span> PWA = <span style="color: #008080;">SPContext</span>.Current.Web.AllProperties[<span style="color: #800000;">"PWAURL"</span>].ToString();</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codegirl.net/?feed=rss2&amp;p=411</wfw:commentRss>
		</item>
	</channel>
</rss>
