<?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>WebCenter Interaction, ALUI, Plumtree blog by Integryst &#187; BigIP</title>
	<atom:link href="http://blog.integryst.com/webcenter-interaction/tag/bigip/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.integryst.com/webcenter-interaction</link>
	<description>WebCenter Interaction, ALUI, Plumtree</description>
	<lastBuildDate>Thu, 12 Jan 2012 22:54:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Opening Excel Documents from the WCI Knowledge Directory</title>
		<link>http://blog.integryst.com/webcenter-interaction/2010/02/14/opening-excel-documents-from-the-wci-knowledge-directory/</link>
		<comments>http://blog.integryst.com/webcenter-interaction/2010/02/14/opening-excel-documents-from-the-wci-knowledge-directory/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 15:19:41 +0000</pubDate>
		<dc:creator>Matt Chiste</dc:creator>
				<category><![CDATA[Knowledge Directory]]></category>
		<category><![CDATA[BigIP]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://blog.integryst.com/webcenter-interaction/?p=117</guid>
		<description><![CDATA[I had a client report this strange issue with Excel file handling in IE7 and IE8 (and Office 2007).  Basically, every time someone would open a document, it would get cached by IE.  But the next time the person would try to open the same document, they’d get a “file is locked by user” message.  [...]]]></description>
			<content:encoded><![CDATA[<p>I had a client report this strange issue with Excel file handling in IE7 and IE8 (and Office 2007).  Basically, every time someone would open a document, it would get cached by IE.  But the next time the person would try to open the same document, they’d get a “file is locked by user” message.  It seemed IE was caching the file in the Temporary Files folder, then when the user would click the link a second time there was a conflict between the existing file in that folder and the new one IE was trying to bring in.  I found some <a href="http://excel.tips.net/Pages/T003046_Ignoring_Other_Applications.html" target="_blank">articles</a> and <a href="http://www.tek-tips.com/viewthread.cfm?qid=749302" target="_blank">discussions</a> on the topic, but most came back to making changes on the client-side, which is never easy to do in an enterprise.  Even if it&#8217;s a little trickier to execute, you should always try to make changes on the WebCenter Portal side.</p>
<p>In this case, after downloading the Excel file the first time, I confirmed it was in my Temporary Internet Files folder:</p>
<p> <img class="alignnone size-full wp-image-118" title="Temp Files" src="http://blog.integryst.com/webcenter-interaction/files/2010/01/temp_files.PNG" alt="Temp Files" width="484" height="101" /></p>
<p>I was also able to verify that the portal was returning a &#8220;Not-Modified&#8221; header when the user tried to open this Excel document again:</p>
<p><img class="alignnone size-full wp-image-119" title="not-modified" src="http://blog.integryst.com/webcenter-interaction/files/2010/01/not-modified.PNG" alt="not-modified" width="685" height="226" /></p>
<p>The fix I applied here?  Another BigIP iRule that turns off caching of Excel files &#8211; after the jump.<span id="more-117"></span></p>
<p>The BigIP iRule is:</p>
<pre>if { [HTTP::header Content-Type] contains "ms-excel"} {
    HTTP::header replace "Expires" "-1"
    HTTP::header remove "ETag"
 }</pre>
<p>&#8230; and as you can see, the HTTP headers now make sure the content isn&#8217;t cached, which prevents Excel from failing when opening cached documents:</p>
<p><img class="alignnone size-full wp-image-121" title="No Cache" src="http://blog.integryst.com/webcenter-interaction/files/2010/02/no-cache.PNG" alt="No Cache" width="669" height="268" /></p>
<p>This fix doesn&#8217;t feel like the best approach, but it has worked for me.  Have you had this problem yourself?  Got a better resolution/workaround?  Let us know in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integryst.com/webcenter-interaction/2010/02/14/opening-excel-documents-from-the-wci-knowledge-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fix KD Handling of HTML Docs</title>
		<link>http://blog.integryst.com/webcenter-interaction/2010/01/21/fix-kd-handling-of-html-docs/</link>
		<comments>http://blog.integryst.com/webcenter-interaction/2010/01/21/fix-kd-handling-of-html-docs/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 04:45:54 +0000</pubDate>
		<dc:creator>Matt Chiste</dc:creator>
				<category><![CDATA[Knowledge Directory]]></category>
		<category><![CDATA[BigIP]]></category>
		<category><![CDATA[iRule]]></category>

		<guid isPermaLink="false">http://blog.integryst.com/webcenter-interaction/?p=46</guid>
		<description><![CDATA[In ALUI 6.5, and following through to 10gR3 and the latest patches, Oracle changed the way documents are opened in the Knowledge Directory.  This change was to get a little better browser compatibility so that when a user clicks on a document in the KD, the user is always presented with the usual Open/Save Dialog [...]]]></description>
			<content:encoded><![CDATA[<p>In ALUI 6.5, and following through to 10gR3 and the latest patches, Oracle changed the way documents are opened in the Knowledge Directory.  This change was to get a little better browser compatibility so that when a user clicks on a document in the KD, the user is always presented with the usual Open/Save Dialog box.</p>
<p>Many WCI clients have HTML files in their Knowledge Directories, whether they&#8217;re crawled in from Publisher, Collaboration Server, or uploaded from some other source.  In version 6.1 and before, the behavior of the portal was simply to open these files directly in the browser, but that changed with 6.5.  Unfortunately, Oracle has asserted that this is &#8220;expected behavior&#8221; and while an enhancement request has been submitted, there are no promises about the behavior changing in 11g. The good news is that there&#8217;s a relatively simple fix for this behavior.  Unfortunately, the &#8220;relatively simple&#8221; fix assumes you&#8217;ve got BigIP load balancing requests to your portal, but if not, hopefully this post will give you some ideas on how to resolve the problem in your environment.</p>
<p>The problem is caused by the portal returning an HTTP header called &#8220;Content-Disposition&#8221;:</p>
<div class="mceTemp">
<dl>
<dt><img class="size-full wp-image-47" title="disposition" src="http://blog.integryst.com/webcenter-interaction/files/2010/01/disposition.PNG" alt="Content Disposition Header" width="446" height="179" /></dt>
<dd>Content Disposition Header</dd>
</dl>
<p>The trick is to remove this header for HTML documents.  I&#8217;ve tried writing ISAPI filters unsuccessfully, but for the clients that needed the fix, they had BigIP. </p>
<p>Hit the link to see the BigIP iRule to resolve this issue.</p></div>
<p><span id="more-46"></span></p>
<pre>if { [HTTP::header Content-Disposition] contains "attachment"}
{
    if { [HTTP::header Content-Type] contains "text/html" }
    {
        HTTP::header remove "Content-Disposition"
    }
}</pre>
<p><img class="alignnone size-full wp-image-75" title="bigip-disposition" src="http://blog.integryst.com/webcenter-interaction/files/2010/01/bigip-disposition.png" alt="bigip-disposition" width="704" height="309" /></p>
<p>This iRule simply says &#8220;if there&#8217;s a Content-Disposition Header, and the Content Type is HTML, remove that header&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.integryst.com/webcenter-interaction/2010/01/21/fix-kd-handling-of-html-docs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

