<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Core Content Only</title>
	<atom:link href="http://corecontentonly.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://corecontentonly.com</link>
	<description>ECM, SOA and WebCenter</description>
	<lastBuildDate>Fri, 18 May 2012 15:53:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='corecontentonly.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Core Content Only</title>
		<link>http://corecontentonly.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://corecontentonly.com/osd.xml" title="Core Content Only" />
	<atom:link rel='hub' href='http://corecontentonly.com/?pushpress=hub'/>
		<item>
		<title>SSXA: A simple way to get metadata within a JSPX template</title>
		<link>http://corecontentonly.com/2012/05/08/ssxa-a-simple-way-to-get-metadata-within-a-jspx-template/</link>
		<comments>http://corecontentonly.com/2012/05/08/ssxa-a-simple-way-to-get-metadata-within-a-jspx-template/#comments</comments>
		<pubDate>Tue, 08 May 2012 01:29:57 +0000</pubDate>
		<dc:creator>Anton Bondar</dc:creator>
				<category><![CDATA[JSPX]]></category>
		<category><![CDATA[metadata tag]]></category>
		<category><![CDATA[Region Template]]></category>
		<category><![CDATA[Site Studio Tag Library]]></category>
		<category><![CDATA[SSXA]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[ssxa]]></category>
		<category><![CDATA[ucm]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=777</guid>
		<description><![CDATA[The most common piece of web content is a datafile. Datafiles store various types of information and (usually) are  displayed by Region Templates (typically of type jspx). When we code our Region Templates, one of the most frequent questions that arises is this: How can I get a particular metadata field associated with the datafile I am trying [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=777&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The most common piece of web content is a datafile. Datafiles store various types of information and (usually) are  displayed by <em>Region Templates</em> (typically of type <strong><em>jspx</em></strong>).</p>
<p>When we code our <em>Region Templates</em>, one of the most frequent questions that arises is this:</p>
<blockquote><p>How can I get a particular metadata field associated with the datafile I am trying to display?</p></blockquote>
<p>The answer is straight forward:</p>
<blockquote><p>Make an IdcService call to DOC_INFO and then iterate over the metadata.</p></blockquote>
<p>This could be easily achieved by using the <a title="Site Studio &lt;wcm:metadata&gt; Tag" href="http://docs.oracle.com/cd/E23943_01/doc.1111/e13650/ssxa_taglibs.htm#WCMJD1360" target="_blank">Site Studio &lt;wcm:metadata&gt; Tag</a>. The only problem here is that if you follow the example from the documentation, then you would have to use a <em>for-each</em> construct to get to your metadata:</p>
<p><pre class="brush: xml;">
&lt;wcm:metadata contentID=&quot;${wcmContext.placeholder.dataFile}&quot; var=&quot;metadata&quot;/&gt;
 &lt;c:forEach var=&quot;metadatarow&quot; items=&quot;${metadata.resultSets.DOC_INFO.rows}&quot;&gt;
 &lt;h5&gt;${metadatarow.dDocTitle}&lt;/h5&gt;
 &lt;/c:forEach&gt;
</pre></p>
<p>Seems a bit clunky, doesn&#8217;t it?</p>
<p>Luckily, there is a more convenient way of getting the desired effect without needing extra tags, and honestly, it just makes more sense:</p>
<p><pre class="brush: xml;">
&lt;wcm:metadata contentID=&quot;${wcmContext.placeholder.dataFile}&quot; var=&quot;metadata&quot;/&gt;
 &lt;h5&gt;${metadata.resultSets.DOC_INFO.rows[0].dDocTitle}&lt;/h5&gt;
</pre></p>
<p>With this approach, you make your <em>Region Templates </em>smaller in size and make your code look logically appealing.</p>
<p>Happy coding.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/777/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/777/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/777/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=777&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/05/08/ssxa-a-simple-way-to-get-metadata-within-a-jspx-template/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03e6ca7e796cfe33348de5a3c73b0e17?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">ant0nb0ndar</media:title>
		</media:content>
	</item>
		<item>
		<title>Executing a service from a ServiceHandler</title>
		<link>http://corecontentonly.com/2012/05/01/executing-a-service-from-a-servicehandler/</link>
		<comments>http://corecontentonly.com/2012/05/01/executing-a-service-from-a-servicehandler/#comments</comments>
		<pubDate>Tue, 01 May 2012 15:37:49 +0000</pubDate>
		<dc:creator>Jonathan Hult</dc:creator>
				<category><![CDATA[OracleUCM]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=741</guid>
		<description><![CDATA[Executing a service from a custom ServiceHandler is very easy. ServiceHandlers always extend the ServiceHandler class. So within a custom ServiceHandler Java class, you have access to the Service object using the variable m_service. From this Service object, you can get a ServiceRequestImplementor object: m_service.getRequestImplementor(). With the ServiceRequestImplementor object, you can execute services with a few different [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=741&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Executing a service from a custom ServiceHandler is very easy.</p>
<p>ServiceHandlers always extend the ServiceHandler class. So within a custom ServiceHandler Java class, you have access to the Service object using the variable m_service. From this Service object, you can get a ServiceRequestImplementor object: m_service.getRequestImplementor(). With the ServiceRequestImplementor object, you can execute services with a few different methods (executeSubServiceCode, executeSafeServiceInNewContext, executeServiceEx, executeServiceDirect, executeServiceTopLevelSimple). I typically tend to use the executeServiceTopLevelSimple method.</p>
<p>The executeServiceTopLevelSimple method signature looks like the following: public void executeServiceTopLevelSimple(DataBinder binder, String serviceName, UserData userData) {}.</p>
<p>Below is a sample method I use to wrap the executeServiceTopLevelSimple method:</p>
<p><pre class="brush: java;">
/**
* This method executes a service.
* @throws ServiceException
*/
private void executeService(final String DataBinder serviceBinder, final String serviceName) throws ServiceException {
     traceVerbose(&quot;Start executeService&quot;);
     try {
          trace(&quot;Calling service &quot; + serviceName + &quot;: &quot; + serviceBinder.getLocalData().toString());           // Execute service
          m_service.getRequestImplementor().executeServiceTopLevelSimple(serviceBinder, serviceName, m_service.getUserData());
          trace(&quot;Finished calling service&quot;);
     } catch (final DataException e) {
          trace(&quot;Something went wrong executing service &quot; + serviceName);
          e.printStackTrace(System.out);
          throw new ServiceException(&quot;Something went wrong executing service &quot; + serviceName, e);
     } finally {
          traceVerbose(&quot;End executeService&quot;);
     }
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/741/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/741/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/741/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/741/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/741/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/741/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/741/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/741/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=741&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/05/01/executing-a-service-from-a-servicehandler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b679f118d2377e5143720500ed1eafa9?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jonathanhult</media:title>
		</media:content>
	</item>
		<item>
		<title>UCM Service Handlers and Java Filters</title>
		<link>http://corecontentonly.com/2012/04/25/ucm-service-handlers-and-java-filters/</link>
		<comments>http://corecontentonly.com/2012/04/25/ucm-service-handlers-and-java-filters/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 05:12:34 +0000</pubDate>
		<dc:creator>Anton Bondar</dc:creator>
				<category><![CDATA[OracleUCM]]></category>
		<category><![CDATA[servicehandler java filter]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=505</guid>
		<description><![CDATA[Quite often we need to customize our Content Servers using some specific Java code. Usually we accomplish this by creating a custom component and utilizing Service Handlers or Java Filters (or both). Unfortunately, sometimes it might be hard to decide when you should use one over the other. So, let&#8217;s dig deeper into both and understand [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=505&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Quite often we need to customize our Content Servers using some specific Java code. Usually we accomplish this by creating a custom component and utilizing Service Handlers or Java Filters (or both). Unfortunately, sometimes it might be hard to decide when you should use one over the other. So, let&#8217;s dig deeper into both and understand how they work.</p>
<p><strong>Service Handlers</strong></p>
<p>Service Handlers are a mechanism that allows us to add new services or modify existing services by using  Java.</p>
<p>Multiple Service Handlers could contain the same Java method, but the Content Server would only execute the one that is contained within the Service Handler that has the lowest Search Order. The Search Order is defined during the creation of the configuration table. The configuration table is a table that exposes your custom code to the Content Server.</p>
<p>Service Handlers could be chained/put-in-place to be executed:</p>
<ul>
<li>Instead of new service actions:
<ul>
<li>Create a Service Handler with a lower Search Order.</li>
</ul>
</li>
<li>Before existing service actions:
<ul>
<li>Create a Service Handler with a lower Search Order,</li>
<li>Make a call to the same method after your custom java code:</li>
</ul>
</li>
</ul>
<blockquote><p><em>… custom java code …</em><br />
<em>m_service.doCodeEx(&#8220;&lt;sameMethodName&gt;&#8221;, this);</em></p></blockquote>
<ul>
<li>After existing service actions:
<ul>
<li>Create a Service Handler with a lower Search Order,</li>
<li>Make a call to the same method before your custom java code:<em> </em></li>
</ul>
</li>
</ul>
<blockquote><p><em>m_service.doCodeEx(&#8220;&lt;sameMethodName&gt;&#8221;, this);</em><br />
<em>… custom java code …</em></p></blockquote>
<p><strong>Java Filters</strong></p>
<p>Java Filters is an event subscription mechanism through which developers can subscribe to the various events that occur within the Content Server and execute custom Java code.</p>
<p>During the operation of Content Server, there are various events that constantly being fired up. The developer can subscribe to these events and alter the behavior of Content Server. When the desired event would occur the control would be passed to the subscribers of the event and the custom java code could be executed. The Content Server then expects a result of the custom code execution.  The results are pretty straight forward:</p>
<ul>
<li>CONTINUE – informs Content Server that everything went accordingly;</li>
<li>FINISHED – informs Content Server to stop running any other filters with the similar name;</li>
<li>ABORT – informs Content Server to halt execution of the current process.</li>
</ul>
<p><strong>When to Use Service Handlers versus Java Filters</strong></p>
<p>Java Filters is the least-intrusive and easiest way to customize the behavior of Content Server with Java, whereas Service Handlers require more thorough understanding of the actions that need to be customized.</p>
<p>Java Filters is the preferred and most commonly used way of customization, but it is limited to the existing set of filters within the Content Server. So, if there is no defined filter to which you can subscribe, then you can create your own custom component that uses Service Handlers to customize the behavior.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=505&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/04/25/ucm-service-handlers-and-java-filters/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/03e6ca7e796cfe33348de5a3c73b0e17?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">ant0nb0ndar</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Google-Chrome on Oracle Enterprise Linux 6.2</title>
		<link>http://corecontentonly.com/2012/04/20/install-google-chrome-on-oracle-enterprise-linux-6-2/</link>
		<comments>http://corecontentonly.com/2012/04/20/install-google-chrome-on-oracle-enterprise-linux-6-2/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 02:36:20 +0000</pubDate>
		<dc:creator>Jason Stortz</dc:creator>
				<category><![CDATA[OracleLinux]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=754</guid>
		<description><![CDATA[These steps show how to install Google Chrome on Oracle Enterprise Linux 6.x.  I suspect these steps would also work with Fedora, CentOS and Red Hat (RHEL).  This approach uses Google’s YUM repository. Login or switch to the root user Create a file named google.repo in the /etc/yum.repos.d dirctory Add the appropriate segment to your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=754&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>These steps show how to install Google Chrome on Oracle Enterprise Linux 6.x.  I suspect these steps would also work with Fedora, CentOS and Red Hat (RHEL).  This approach uses Google’s YUM repository.</p>
<ol>
<li>Login or switch to the root user</li>
<li>Create a file named <em><strong>google.repo</strong></em> in the <em><strong>/etc/yum.repos.d</strong></em> dirctory</li>
<li>Add the appropriate segment to your new google.repo file
<ul>
<li>32 bit<br />
<pre class="brush: bash;">
[google-chrome]
name=google-chrome – 32-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux
linux_signing_key.pub
</pre></li>
<li>64 bit<br />
<pre class="brush: bash;">
[google-chrome]
name=google-chrome – 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
</pre></li>
</ul>
</li>
<li>yum install google-chrome-stable</li>
</ol>
<div></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/754/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/754/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/754/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=754&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/04/20/install-google-chrome-on-oracle-enterprise-linux-6-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45f21e7847d928151e69a4908648599?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jasonstortz</media:title>
		</media:content>
	</item>
		<item>
		<title>Site Studio project file changes</title>
		<link>http://corecontentonly.com/2012/04/19/site-studio-project-file-changes/</link>
		<comments>http://corecontentonly.com/2012/04/19/site-studio-project-file-changes/#comments</comments>
		<pubDate>Thu, 19 Apr 2012 11:57:33 +0000</pubDate>
		<dc:creator>Jonathan Hult</dc:creator>
				<category><![CDATA[OracleWCM]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=737</guid>
		<description><![CDATA[How often does the Site Studio project file change? The first determination that needs to be made is what all affects the project file. Some examples are as follows: Adding a new website section (service SS_ADD_NODE) Switching content on a region marker in Site Studio contribution mode (service SS_SWITCH_REGION_ASSOCIATION) Changing the property of a website [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=737&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How often does the Site Studio project file change? The first determination that needs to be made is what all affects the project file. Some examples are as follows:</p>
<ul>
<li>Adding a new website section (<a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e10615/c11_ss_services.htm#i1082079" target="_blank">service SS_ADD_NODE</a>)</li>
<li>Switching content on a region marker in Site Studio contribution mode (<a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e10615/c11_ss_services.htm#i1082427" target="_blank">service SS_SWITCH_REGION_ASSOCIATION</a>)</li>
<li>Changing the property of a website section (<a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e10615/c11_ss_services.htm#i1082068" target="_blank">service SS_SET_NODE_PROPERTY</a>)</li>
</ul>
<div>Out of the box, these changes are committed to the WebCenter Content repository (as a new revision of the project file content item) every 10 minutes. This 10 minute interval is set by the WebCenter Content <a href="http://docs.oracle.com/cd/E21764_01/doc.1111/e10615/c12_flags.htm#BABECFGF" target="_blank">configuration flag SSProjectAutoCheckinInterval</a> (integer value in seconds which defaults to 600).</div>
<div></div>
<div>While waiting for the the time interval set with SSProjectAutoCheckinInterval, the project file changes are stored in a temp file located here: vault/~ssprojects/</div>
<p>The <a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e10615/c11_ss_services.htm#CHDGFJHA" target="_blank">service SS_COMMIT_SITE_CHANGES</a> can, &#8220;Be run at any time to commit changes on demand&#8221;. The only required parameter is siteId. &#8220;The user executing this service must have write access to the project file to execute the service.&#8221;</p>
<p>There is another <a href="http://docs.oracle.com/cd/E21764_01/doc.1111/e10615/c12_flags.htm#BABIFEEF" target="_blank">configuration flag SSAutoCheckinBusyTimeout</a> (integer value in seconds which defaults to 30) that is, &#8220;Used to set the minimum time duration (in seconds) before the auto check-in mechanism attempts a check-in of a project file. This configuration flag prevents two nodes from trying to check the project file in at the same time&#8221;. The auto check-in behavior appears to use <a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e11011/c06_archive.htm#i3116760" target="_blank">service CHECKIN_ARCHIVE</a> and with the default time of 10 minutes, this should handle any issues that might come up with the <a href="http://bluestudios.co.uk/blog/2009/11/ucm-how-to-fix-create-date-release-date-bug-on-archive-import-bug-8900173/" target="_blank">release date debacle</a>.</p>
<p>The undocumented configuration flag SSOverwriteProjectsUponCheckin (boolean value which defaults to false) controls whether the latest project file revision is overwritten. So, out of the box, project file auto check-ins stack revisions one on top of the other, instead of simply overwriting the latest revision. This is, is in my opinion, a good thing.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/737/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/737/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=737&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/04/19/site-studio-project-file-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b679f118d2377e5143720500ed1eafa9?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jonathanhult</media:title>
		</media:content>
	</item>
		<item>
		<title>WebCenter Patch Set 5 (11.1.1.6)</title>
		<link>http://corecontentonly.com/2012/02/24/webcenter-patch-set-5-11-1-1-6/</link>
		<comments>http://corecontentonly.com/2012/02/24/webcenter-patch-set-5-11-1-1-6/#comments</comments>
		<pubDate>Fri, 24 Feb 2012 07:21:39 +0000</pubDate>
		<dc:creator>Jason Stortz</dc:creator>
				<category><![CDATA[OracleUCM]]></category>
		<category><![CDATA[OracleWCM]]></category>
		<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=708</guid>
		<description><![CDATA[Patch Set 5 Released! Oracle recently released Patch Set 5 for Fusion Middleware.  This includes my primary area of interest WebCenter Content.  This technically started rolling out to Oracle eDelivery and then OTN sometime on February 22nd, 2012.  I was a little late to the blogging game so instead of &#8220;announcing&#8221; the release let&#8217;s do a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=708&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h1><span style="color:#ff0000;">Patch Set 5 Released!</span></h1>
<p>Oracle recently released Patch Set 5 for Fusion Middleware.  This includes my primary area of interest <a href="http://www.oracle.com/technetwork/middleware/webcenter/content/downloads/index.html" target="_blank">WebCenter Content</a>.  This technically started rolling out to Oracle eDelivery and then OTN sometime on February 22nd, 2012.  I was a little late to the blogging game so instead of &#8220;announcing&#8221; the release let&#8217;s do a quick link roundup about this release from some of my favorite community members!  While this list isn&#8217;t comprehensive, it does come from a lot of people that have taught me a lot down the years so add them to your blog roll if you haven&#8217;t already.</p>
<h2>Link Round-Up</h2>
<ol>
<li>One of my friends, John Sim might have been the first to <a href="http://cfour.fishbowlsolutions.com/2012/02/22/oracle-webcenter-ps5-released/" target="_blank">point out</a> the release availability.  He also has a great rundown of the products included in the release</li>
<li>Ryan has some <a href="http://www.ecmconsultant.net/2012/02/oracle-webcenter-content-ps5-released.html" target="_blank">handy links</a> and also points out that the documentation has been updated</li>
<li>Bex <a href="http://bexhuff.com/2012/02/downloads-for-oracle-webcenter-content-ucm-11g-patch-set-5" target="_blank">runs down</a> the patch sets you may need to navigate if you plan to upgrade your now out-of-date UCM instance using his recently setup shortcuts for Oracle Patches</li>
<li>The Official <a href="https://blogs.oracle.com/webcentercontent/entry/oracle_webcenter_content_ps5_released" target="_blank">WebCenter Content Blog</a> lists a host of new features around User Engagement, Content Enabling Applications and Infrastructure</li>
<li><a href="http://webmonkeymagic.blogspot.com/2012/02/webcenter-ps5-framework-folders.html" target="_blank">Webmonkey</a> really elaborates on the new Folders Component (This one is sometimes referred to as Framework Folders while the older one was called Folders_g)</li>
<li>And finally, on a separate note, but still related to PS5 note, <a href="https://blogs.oracle.com/shay/entry/adf_faces_now_with_better" target="_blank">Shay</a> has a really nifty video showing some of the iPad related ADF stuff that&#8217;s new in JDeveloper/ADF for PS5</li>
<li><a href="http://yonaweb.be/webcenter_11g_ps5_has_been_released" target="_blank">Yannick Ongena</a> has a good review with information on the new RIDC connection in JDeveloper</li>
<li>The folks at <a href="http://technology.amis.nl/blog/15518/fusion-middleware-11gr1-patch-set-5-is-available-at-last-first-impressions" target="_blank">AMIS</a> also have a good link roundup</li>
</ol>
<p>Ok, so these guys are a hard act to follow.  What can I say/do that they didn&#8217;t cover?  Only thing I can think about are some screenshots!  Once we got all the final bits downloaded (caution: that part takes a while if you want it all) we got a VM put together pronto and here&#8217;s some of the things we thought were interesting.</p>
<h2>JDeveloper</h2>
<p>First up, JDeveloper PS5 with Site Studio for External Applications (SSXA).  Notice in the shot below there is a dedicated RIDC connection you can now add to projects.  This could be handy for all kinds of things!<br />
<a href="http://corecontentonly.files.wordpress.com/2012/02/ridcconnection.png"><img class="alignnone size-full wp-image-715" title="RIDCConnection" src="http://corecontentonly.files.wordpress.com/2012/02/ridcconnection.png?w=600&h=429" alt="" width="600" height="429" /></a></p>
<p>Also in JDevleoper PS5 (and I think it acts this way in the 11gR2 releases as well) you can now set the default built-in WebLogic Domain password to something you know and will remember when you first start the integrated server.  It used to be that the default password for the integrated server was <strong><em>weblogic1</em></strong> and this was a major issue for those first setting out to use the product.  New users would be very frustrated trying to find out why they couldn&#8217;t login as weblogic user to test that first site they tried to build.  Love this!<br />
<img class="alignnone size-full wp-image-713" title="ConfigureDefaultDomain" src="http://corecontentonly.files.wordpress.com/2012/02/configuredefaultdomain.png?w=600" alt=""   /></p>
<h2>Branding</h2>
<p>Having booted up the integrated WebLogic server we see our contribution mode banner is now updated with the new product branding (WebCenter Content).  This is also updated in the content server user interface as well.<br />
<a href="http://corecontentonly.files.wordpress.com/2012/02/rebranding.png"><img class="alignnone size-full wp-image-711" style="border-color:initial;border-style:initial;" title="Rebranding" src="http://corecontentonly.files.wordpress.com/2012/02/rebranding.png?w=600" alt=""   /></a></p>
<h2>Out-of-the-box Assets</h2>
<p>During the setup of our sandbox we obviously enabled Site Studio and SSXA.  It appears as though those components now ship with all the sample Custom Element Forms right from the start.  No more loading up the Site Studio Samples site from OTN just to grab these Custom Element Forms!  This made my day.<br />
<img class="alignnone size-full wp-image-712" title="OOTBCustomElementForms" src="http://corecontentonly.files.wordpress.com/2012/02/ootbcustomelementforms.png?w=600" alt=""   /></p>
<h2>Folders and Desktop Integration</h2>
<p>Of all the updates the <a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c08_folders.htm#BCFEJHGD" target="_blank">Framework Folders</a> and <a href="http://docs.oracle.com/cd/E23943_01/doc.1111/e10624/toc.htm" target="_blank">Desktop Integration Suite</a> (DIS) changes are my favorite so far.  As mentioned before, <a href="http://webmonkeymagic.blogspot.com/2012/02/webcenter-ps5-framework-folders.html" target="_blank">Webmonkey </a>runs down a lot of the features for us, but let&#8217;s see what it looks like.  One thing I want to point out though is that DIS works with Framework Folders and that Framework Folders overcomes a lot of the performance problems people used to experience with &#8220;Folders&#8221; in the past (previously called Contribution Folders).  This bears repeating because it opens a lot of doors and numerous customers have been waiting on these two features to converge.</p>
<p>Once you have DIS installed you&#8217;ll see an icon on the desktop (similar to how DIS has always worked) and you&#8217;ll double click that to open Windows Explorer which now has a &#8220;WebCenter Content Servers&#8221; node.  Clicking that node will show you the list of servers you have configured for your desktop (initially it will be blank, right click the blank white area and select Add Server).<br />
<a href="http://corecontentonly.files.wordpress.com/2012/02/dis.png"><img class="alignnone size-full wp-image-714" title="DIS" src="http://corecontentonly.files.wordpress.com/2012/02/dis.png?w=600" alt=""   /></a></p>
<p>If you have Rules and Profiles (custom check-in screens, etc.) enabled you&#8217;ll be able to use them in a drag and drop fashion right from your desktop by opening the &#8220;New Check-In&#8221; node.</p>
<p><a href="http://corecontentonly.files.wordpress.com/2012/02/dis2.png"><img class="alignnone size-full wp-image-710" title="DIS2" src="http://corecontentonly.files.wordpress.com/2012/02/dis2.png?w=600&h=198" alt="" width="600" height="198" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/708/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=708&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/02/24/webcenter-patch-set-5-11-1-1-6/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45f21e7847d928151e69a4908648599?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jasonstortz</media:title>
		</media:content>

		<media:content url="http://corecontentonly.files.wordpress.com/2012/02/ridcconnection.png" medium="image">
			<media:title type="html">RIDCConnection</media:title>
		</media:content>

		<media:content url="http://corecontentonly.files.wordpress.com/2012/02/configuredefaultdomain.png" medium="image">
			<media:title type="html">ConfigureDefaultDomain</media:title>
		</media:content>

		<media:content url="http://corecontentonly.files.wordpress.com/2012/02/rebranding.png" medium="image">
			<media:title type="html">Rebranding</media:title>
		</media:content>

		<media:content url="http://corecontentonly.files.wordpress.com/2012/02/ootbcustomelementforms.png" medium="image">
			<media:title type="html">OOTBCustomElementForms</media:title>
		</media:content>

		<media:content url="http://corecontentonly.files.wordpress.com/2012/02/dis.png" medium="image">
			<media:title type="html">DIS</media:title>
		</media:content>

		<media:content url="http://corecontentonly.files.wordpress.com/2012/02/dis2.png" medium="image">
			<media:title type="html">DIS2</media:title>
		</media:content>
	</item>
		<item>
		<title>Delete WebLogic Domain</title>
		<link>http://corecontentonly.com/2012/02/01/delete-weblogic-domain/</link>
		<comments>http://corecontentonly.com/2012/02/01/delete-weblogic-domain/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 13:29:27 +0000</pubDate>
		<dc:creator>Jason Stortz</dc:creator>
				<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=702</guid>
		<description><![CDATA[Deleting a WebLogic domain can be accomplished through a series of manual tasks.  There is no script or application to run that will accomplish deleting a domain or removing a domain.  The good news is the steps are fairly short and easy.  In the sample steps below it is assumed that your domain is named [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=702&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Deleting a WebLogic domain can be accomplished through a series of manual tasks.  There is no script or application to run that will accomplish deleting a domain or removing a domain.  The good news is the steps are fairly short and easy.  In the sample steps below it is assumed that your domain is named base_domain.</p>
<ol>
<li>Delete the domain folder (meaning base_domain) under %WL_HOME%/user_projects/domains</li>
<li>Delete the domain folder (meaning base_domain) under %WL_HOME%/user_projects/apps</li>
<li>Remove any references to the domain in the %WL_HOME%/domain-registry.xml file</li>
<li>Remove any references to the domain in the file WL_HOME/common/nodemanager/nodemanager.domains</li>
<li>Remove any schema/database associated with the domain</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/702/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=702&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/02/01/delete-weblogic-domain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45f21e7847d928151e69a4908648599?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jasonstortz</media:title>
		</media:content>
	</item>
		<item>
		<title>Java Filter &#8211; Retrieving a File</title>
		<link>http://corecontentonly.com/2012/01/13/java-filter-retrieving-a-file/</link>
		<comments>http://corecontentonly.com/2012/01/13/java-filter-retrieving-a-file/#comments</comments>
		<pubDate>Fri, 13 Jan 2012 02:26:37 +0000</pubDate>
		<dc:creator>Jonathan Hult</dc:creator>
				<category><![CDATA[OracleUCM]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=689</guid>
		<description><![CDATA[When within a Java Filter, one may need to get the file for a particular revision of a content item. There is a class intradoc.server.DirectoryLocator that is very helpful. From this class, we can obtain the FileStoreProvider. FileStoreProvider fileStoreProvider = DirectoryLocator.m_fileStore; DirectoryLocator has several static methods that can get paths within the filestore to places such [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=689&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When within a Java Filter, one may need to get the file for a particular revision of a content item. There is a class intradoc.server.DirectoryLocator that is very helpful. From this class, we can obtain the FileStoreProvider.</p>
<pre>FileStoreProvider fileStoreProvider = DirectoryLocator.m_fileStore;</pre>
<p>DirectoryLocator has several static methods that can get paths within the filestore to places such as weblayout directory, the vault directory, the temporary directory, the provider directory, etc. It can provide you a String path to almost any directory you want.</p>
<p>IdcFileDescriptor is a class that can provide the pathing to files. From a FileStoreProvider, we can create an IdcFileDescriptor.</p>
<p>IdcFileDescriptor idcFileDescriptor = fileStoreProvider.createDescriptor(binder, null, context);</p>
<p>The first parameter is a DataBinder. This is where the paremeters that are needed to build the path to the file are set. The second parameter is not needed and can be set to null. The third parameter is the ExecutionContext.</p>
<p>The required parameters that need to be in the DataBinder are &#8220;RenditionId&#8221;, &#8220;dDocName&#8221;, &#8220;dDocType&#8221;, &#8220;dRevLabel&#8221;, &#8220;dSecurityGroup&#8221;, &#8220;dDocAccount&#8221;, &#8220;dID&#8221;, and &#8220;dExtension&#8221;. RenditionId should be set to &#8220;primaryFile&#8221; for the primary file and &#8220;web&#8221; for the alternateFile.</p>
<p>Fortunately, a lot of the time most of these required parameters are already in your the original DataBinder. If you are missing some parameters you should be able to make a service call to DOC_INFO to get a ResultSet which contains all of the necessary parameters. You can then dump these parameters into a new DataBinder and feed it to the createDescriptor method call.</p>
<p>The file descriptor that comes back will give you something like this:</p>
<pre>idcFileDescriptor: intradoc.filestore.BasicIdcFileDescriptor{dWebExtension=xml, dID=80, RenditionId.path=primaryFile, dStatus=RELEASED, StorageClass=vault, RenditionId=primaryFile, dSecurityGroup=Public, dDocType=Web, dOriginalName=jh000035.xml, dExtension=xml, uniqueId=c:/oracle/ucm/server/vault/web/80.xml, fileNamePrefix=null, dReleaseState=Y, dDocAccount=, path=c:/oracle/ucm/server/vault/web/80.xml, dDocName=JH000035, dRevLabel=27, dRenditionId=primaryFile}</pre>
<p>To get the path to the file, do the following:</p>
<pre>fileStoreProvider.forceToFilesystemPath(idcFileDescriptor, null, context);
String filePath = fileStoreProvider.getFilesystemPath(idcFileDescriptor, context);</pre>
<p>You can of course turn this file path into a Java object by using:</p>
<pre>File myFile = new File(filePath);</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/689/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/689/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/689/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=689&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/01/13/java-filter-retrieving-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b679f118d2377e5143720500ed1eafa9?s=96&#38;d=http%3A%2F%2F1.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jonathanhult</media:title>
		</media:content>
	</item>
		<item>
		<title>UCM Content Rule Side Effects</title>
		<link>http://corecontentonly.com/2012/01/11/ucm-content-rule-side-effects/</link>
		<comments>http://corecontentonly.com/2012/01/11/ucm-content-rule-side-effects/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 02:15:34 +0000</pubDate>
		<dc:creator>Jason Stortz</dc:creator>
				<category><![CDATA[OracleUCM]]></category>
		<category><![CDATA[content profiles]]></category>
		<category><![CDATA[ucm]]></category>
		<category><![CDATA[UCM10gR3]]></category>
		<category><![CDATA[UCM11gR1]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=698</guid>
		<description><![CDATA[Content Profiles and Content Rules provide a mechanism for customizing a variety of pages within UCM.  Generally just referred to as Profiles, you can conditionally configure/customize the check-in, update, search and information pages as relates to the context of the content and user intent. One of the often used by seldom explained parts of Profiles [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=698&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Content Profiles and Content Rules provide a mechanism for customizing a variety of pages within UCM.  Generally just referred to as Profiles, you can conditionally configure/customize the check-in, update, search and information pages as relates to the context of the content and user intent.</p>
<p>One of the often used by seldom explained parts of Profiles is something called Side Effects.  You will find the Side Effects tab on the Add/Edit Activation Conditions screen and it primarily allows you to accomplish two things:</p>
<ol>
<li>Add name/value pairs as IdocScript that will then get pushed to local data if the activation condition is true.</li>
<li>Add custom IdocScript to a rule that is only evaluated if the activation condition is true and this can include logic like if and else statements or loops.  Basically all IdocScript is possible here (though all of it may or may not be useful).  As such, once a rule is activated, you can include logic, use includes from a component, etc.</li>
</ol>
<p>What specifically might one use Side Effects for?  For a simple example let’s pretend we have a profile for some scanned content.  This content is checked in as an image based PDF (no OCR, no searchable text).  Your profile should not display the full text search box in this case.  There is no full text to be searched.  You can accomplish this with a Side Effect in your profile:</p>
<pre>&lt;$SearchEngineName="DATABASE.METADATA"$&gt;</pre>
<p>Let’s take another example.  Perhaps on the check-in page you want the alternate file field to be removed.  You could go into config.cfg and add this setting, but it would be universal.  More likely you want this to happen in a specific, conditional context.  Try adding this as a Side Effect to your rule:</p>
<pre>&lt;$suppressAlternateFile="1"$&gt;</pre>
<p>Want more examples of Profiles, Rules and Side Effects? See below:</p>
<ol>
<li><a title="Using Rules &amp; Profiles To Drive Custom Pages" href="http://blogs.oracle.com/kyle/entry/using_rules_profiles_to_drive" target="_blank">Using Rules &amp; Profiles To Drive Custom Pages</a></li>
<li><a title="Suppressing Alternate File" href="http://corecontentonly.com/2010/03/02/suppressing-alternate-file/" target="_blank">Suppressing Alternate File</a></li>
<li><a title="Thumbnail search in Content Server" href="http://webmonkeymagic.blogspot.com/2010/10/thumbnail-search-in-content-server.html" target="_blank">Thumbnail search in Content Server</a></li>
<li><a title="Thumbnail search in Content Server #2" href="http://webmonkeymagic.blogspot.com/2011/01/thumbnail-search-in-content-server-2.html" target="_blank">Thumbnail search in Content Server #2</a></li>
<li><a title="Hiding the Primary File field in UCM" href="http://blogs.oracle.com/kyle/entry/hiding_the_primary_file_field" target="_blank">Hiding the Primary File field in UCM</a></li>
<li><a title="Metadata field tool tips" href="http://bexhuff.com/2009/10/free-10gr3-component-add-tool-tips-to-metadata-fields" target="_blank">Metadata field tool tips</a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/698/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=698&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2012/01/11/ucm-content-rule-side-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45f21e7847d928151e69a4908648599?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jasonstortz</media:title>
		</media:content>
	</item>
		<item>
		<title>ADF and WebLogic 12c</title>
		<link>http://corecontentonly.com/2011/12/13/adf-and-weblogic-12c/</link>
		<comments>http://corecontentonly.com/2011/12/13/adf-and-weblogic-12c/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 18:11:13 +0000</pubDate>
		<dc:creator>Jason Stortz</dc:creator>
				<category><![CDATA[WebLogic]]></category>

		<guid isPermaLink="false">http://corecontentonly.com/?p=692</guid>
		<description><![CDATA[Oracle recently released WebLogic 12c.  I have had a lot of customers ask about running ECM products and ADF on the newly released WebLogic Application server.  We talked with Oracle and basically the current releases of 11.1.1.5 ECM Products and ADF are not certified for WebLogic Application Server 12c.  Also, it does not look like [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=692&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Oracle recently released WebLogic 12c.  I have had a lot of customers ask about running ECM products and ADF on the newly released WebLogic Application server.  We talked with Oracle and basically the current releases of 11.1.1.5 ECM Products and ADF are not certified for WebLogic Application Server 12c.  Also, it does not look like 11.1.1.6 will be certified either.</p>
<p>In short, 12c looks neat and there looks to be a lot of new features but those toys are not currently part of our playground.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/corecontentonly.wordpress.com/692/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/corecontentonly.wordpress.com/692/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/corecontentonly.wordpress.com/692/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/corecontentonly.wordpress.com/692/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/corecontentonly.wordpress.com/692/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/corecontentonly.wordpress.com/692/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/corecontentonly.wordpress.com/692/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/corecontentonly.wordpress.com/692/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=corecontentonly.com&#038;blog=11043685&#038;post=692&#038;subd=corecontentonly&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://corecontentonly.com/2011/12/13/adf-and-weblogic-12c/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e45f21e7847d928151e69a4908648599?s=96&#38;d=http%3A%2F%2F0.gravatar.com%2Favatar%2Fad516503a11cd5ca435acc9bb6523536%3Fs%3D96&#38;r=PG" medium="image">
			<media:title type="html">jasonstortz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
