<?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>PeopleSoft Tipster &#187; PIA</title>
	<atom:link href="http://peoplesofttipster.com/category/pia/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesofttipster.com</link>
	<description>A PeopleSoft Tips and Tricks Blog</description>
	<lastBuildDate>Wed, 25 Jan 2012 23:44:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='peoplesofttipster.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>PeopleSoft Tipster &#187; PIA</title>
		<link>http://peoplesofttipster.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://peoplesofttipster.com/osd.xml" title="PeopleSoft Tipster" />
	<atom:link rel='hub' href='http://peoplesofttipster.com/?pushpress=hub'/>
		<item>
		<title>Self Service at Pret &#8211; Technical Details</title>
		<link>http://peoplesofttipster.com/2011/09/07/self-service-at-pret-technical-details/</link>
		<comments>http://peoplesofttipster.com/2011/09/07/self-service-at-pret-technical-details/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 09:27:42 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Look and Feel]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[PIA]]></category>
		<category><![CDATA[Strategy]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/?p=652</guid>
		<description><![CDATA[I posted a video yesterday showing some of the work we&#8217;d done at Pret and thought I&#8217;d add a little more technical detail and some clearer screenshots. The users were broken down into different populations: Employees, Managers and Head Office/power users; each function having a different dashboard.  Everyone has the Employee Self Service dashboard, only [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=652&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I posted a <a href="http://peoplesofttipster.com/2011/09/06/self-service-at-pret-a-manger/">video</a> yesterday showing some of the work we&#8217;d done at Pret and thought I&#8217;d add a little more technical detail and some clearer screenshots.<span id="more-652"></span></p>
<p>The users were broken down into different populations: Employees, Managers and Head Office/power users; each function having a different dashboard.  Everyone has the Employee Self Service dashboard, only a subset get one or other of the other two.  Employees are automatically redirected on sign-on to the correct homepage.</p>
<h2>Head Office users</h2>
<p>Head office users just get the normal PIA with a custom colour scheme, background image and graphics:</p>
<p><a href="http://duncandavies.files.wordpress.com/2011/09/mypret1.png"><img class="alignright size-full wp-image-654" title="Head Office screen" src="http://duncandavies.files.wordpress.com/2011/09/mypret1.png?w=460&#038;h=325" alt="" width="460" height="325" /></a></p>
<h2>Managers</h2>
<p>The managers get a dashboard that is far less formal, but still contains only business related options:</p>
<p><a href="http://duncandavies.files.wordpress.com/2011/09/mypret2.png"><img class="alignright size-full wp-image-656" title="Manager Self Service" src="http://duncandavies.files.wordpress.com/2011/09/mypret2.png?w=460&#038;h=308" alt="" width="460" height="308" /></a></p>
<p>The buttons along the top are the top level menu items.  These are dynamically read from the PeopleSoft Portal Registry, clicking one shows a side menu and so on down the menu hierarchy etc.  You&#8217;ll also see a burgundy footer bar (this uses jQuery to fade between different messages to communicate to the managers).  Towards the lower half of the picture are a series of traffic lights showing the status of different KPIs within the business &#8211; this uses <a href="http://www.succeed.co.uk/pages/products/alerts.pdf">Succeed&#8217;s Alerts Framework</a> as the technology to make this simple and configurable.</p>
<h2>Employees</h2>
<p><a href="http://duncandavies.files.wordpress.com/2011/09/mypret3.png"><img class="alignright size-full wp-image-658" title="Employee Self Service" src="http://duncandavies.files.wordpress.com/2011/09/mypret3.png?w=460&#038;h=351" alt="" width="460" height="351" /></a>The Employee experience is a good deal less formal again.  Although they can access all of the expected functionality (timesheets, rotas, holiday booking, personal data changes, payslips etc) from the menu bar there are other aspects to make the experience compelling and keep the usage high.</p>
<p>The main content area of the homepage is used for displaying news items.  These are fully configurable and the amount shown and topics changes from week to week.  The comms team can upload PDFs to be linked to, or can write news items to be published using the Rich Text editor.  Everything is stored within PeopleSoft.</p>
<p>On the right is an employee poll.  Every employee gets to vote online and once you select an answer the running total is displayed showing how the other employees voted.</p>
<p>Across the top there is a sprinkling of social media goodness.</p>
<p>There is a heap of other functionality not shown, some colleagues have done some great work on integration with Google maps, others have taken the most complex of requirements for timesheets/rotas and produced some elegant pages.</p>
<p>This was all achieved using just PeopleSoft &#8230; no other products were used for hosting portals etc.  It&#8217;s all built within PeopleTools and shows what can be done when a client is willing to move a little away from the &#8216;zero customisation&#8217; mantra.</p>
<p>If you&#8217;d like a little more detail on what we did and how we did it &#8211; particularly if it&#8217;s a path that you&#8217;d be interested in following yourself &#8211; please get in touch.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/652/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/652/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/652/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=652&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2011/09/07/self-service-at-pret-technical-details/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2011/09/mypret1.png" medium="image">
			<media:title type="html">Head Office screen</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2011/09/mypret2.png" medium="image">
			<media:title type="html">Manager Self Service</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2011/09/mypret3.png" medium="image">
			<media:title type="html">Employee Self Service</media:title>
		</media:content>
	</item>
		<item>
		<title>Portal Greeting on Tools 8.50</title>
		<link>http://peoplesofttipster.com/2010/05/21/portal-greeting-on-tools-8-50/</link>
		<comments>http://peoplesofttipster.com/2010/05/21/portal-greeting-on-tools-8-50/#comments</comments>
		<pubDate>Fri, 21 May 2010 14:06:29 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Look and Feel]]></category>
		<category><![CDATA[PeopleTools 8.50]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/?p=494</guid>
		<description><![CDATA[I&#8217;ve posted before about using the Portal Greeting / PIA Welcome message to display something useful here.  I&#8217;ve recently come to implement this on a client and discovered that the method I suggested no longer works for Tools 8.50. Pleasingly, it&#8217;s now actually slightly easier to achieve (and will appear on all pages, not just [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=494&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve posted before about using the Portal Greeting / PIA Welcome message to display something useful <a href="http://peoplesofttipster.com/2007/06/13/using-the-pia-welcome-message/">here</a>.  I&#8217;ve recently come to implement this on a client and discovered that the method I suggested no longer works for Tools 8.50.</p>
<p>Pleasingly, it&#8217;s now actually slightly easier to achieve (and will appear on all pages, not just the Home Page).</p>
<p>Open up App Package PT_BRANDING, the Class BrandingBase and search for the string &#8216;add &amp;addjs&#8217;.  Immediately preceding that line, add the following line of code:</p>
<p><code>&amp;greeting = "User: " | %UserId | " on Database: " | %DbName;</code></p>
<p>(Plus some comments identifying the customisation etc.)</p>
<p>This will do the trick, but the end result looks a bit big and blocky.  It&#8217;s a piece of cake to alter the greeting style to achieve a much better looking result.</p>
<p>Open the PSHOMEPAGE Freeform Style Sheet, locate the greeting style class and replace it with this:</p>
<p><code>.greeting {<br />
color: #FFFFFF;<br />
font-family: Arial, Helvetica, sans-serif;<br />
font-size: 10pt;<br />
margin: 0 0 0 70px;<br />
line-height: 24pt;<br />
}</code></p>
<p>The end result will look something like this (I&#8217;ve also added bold tags around the UserID and Database for clarity):</p>
<p><a href="http://duncandavies.files.wordpress.com/2010/05/portalgreeting850.png"><img class="alignright size-full wp-image-497" title="PortalGreeting850" src="http://duncandavies.files.wordpress.com/2010/05/portalgreeting850.png?w=460&#038;h=143" alt="" width="460" height="143" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/494/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/494/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/494/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=494&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2010/05/21/portal-greeting-on-tools-8-50/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2010/05/portalgreeting850.png" medium="image">
			<media:title type="html">PortalGreeting850</media:title>
		</media:content>
	</item>
		<item>
		<title>Hide the &#8216;Windows 7 is not supported&#8217; message</title>
		<link>http://peoplesofttipster.com/2010/01/27/hide-the-windows-7-is-not-supported-message/</link>
		<comments>http://peoplesofttipster.com/2010/01/27/hide-the-windows-7-is-not-supported-message/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 00:03:19 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleTools 8.50]]></category>
		<category><![CDATA[PIA]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/?p=438</guid>
		<description><![CDATA[If you&#8217;ve been using the latest version of PeopleTools with any version of Windows 7 (which is becoming more prevalent) then you&#8217;ll have seen this error message many times: Now I&#8217;m all for being warned if I&#8217;m doing something unsupported and I know Windows 7 isn&#8217;t supported yet, but probably will be in the near [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=438&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve been using the latest version of PeopleTools with any version of Windows 7 (which is becoming more prevalent) then you&#8217;ll have seen this error message many times:</p>
<p><a href="http://duncandavies.files.wordpress.com/2010/01/windows7_error.jpg"><img class="alignleft size-full wp-image-439" title="Windows7_Error" src="http://duncandavies.files.wordpress.com/2010/01/windows7_error.jpg?w=460&#038;h=311" alt="" width="460" height="311" /></a></p>
<p>Now I&#8217;m all for being warned if I&#8217;m doing something unsupported and I know Windows 7 isn&#8217;t supported yet, but probably will be in the near future.  I&#8217;m not going to swap my client OS just to keep the PIA happy, but I don&#8217;t want to be warned every single time.  Also, it&#8217;s not a very well formatted error message as it throws out the alignment of the logon screen and it just looks a little messy.</p>
<p>I wasn&#8217;t going to do anything about my niggly annoyance until <a href="http://forums.oracle.com/forums/message.jspa?messageID=4052802#4052802">someone else wondered how to remove it</a> then it piqued my curiosity.</p>
<p>As far as I could see there are two ways to fix this, find a way of adding Windows 7 to the supported OSes, or hide the warning message.</p>
<p>I tried many variations of OS codes in the browser.xml file as that appears to be where the supported OSes are read from (the sharper eyed among you may have noticed that I&#8217;ve added Windows 7 to the list in the above screenshot).  This had no effect however, so I admitted defeat in trying to fix the cause and resigned myself to just trying to hide the symptom.</p>
<p>The HTML behind the signon page is &#8216;signin.html&#8217; within &#8216;&lt;PIA_HOME&gt;\webserv\&lt;domain&gt;\applications\&lt;site&gt;\PORTAL.war\WEB-INF\psftdocs\&lt;node&gt;&#8217;.  We can&#8217;t just comment out the error sections as we only want to hide this specific error message, other errors like &#8216;invalid password&#8217; we still want to see.</p>
<p>The first step is to hide the browser error message.  Search for &#8216;id=&#8221;browsercheck_error&#8221;&#8216; and you&#8217;ll see this section.  Comment out as shown.</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;div style="text-align:center"&gt;<br />
&lt;h1 id="error_img" style="display:none"&gt;&lt;a id ="error_link" href="javascript:setFocus();" tabindex="1"&gt;&lt;img src="&lt;%=psCtxPath%&gt;&lt;%=psHome%&gt;/images/PT_LOGIN_ERROR.gif" alt="&lt;%=130%&gt;" border="0"/&gt;&lt;/a&gt;&lt;/h1&gt;<br />
&lt;h2 id="login_error"&gt; &lt;%=error%&gt; &lt;/h2&gt;<br />
&lt;h2 id="discovery_error"&gt; &lt;%=ps.discovery.error%&gt; &lt;/h2&gt;<br />
<span style="color:red;">&lt;!--&lt;h2 id="browsercheck_error" style="text-align:left"&gt; &lt;%=browserCheck%&gt; &lt;/h2&gt;--&gt;</span><br />
&lt;/div&gt;</span></code></p>
<p>This prevents the text from showing, however we also want to prevent the warning image being displayed for this warning also.</p>
<p>Search for &#8216;setErrorImg&#8217; and you&#8217;ll see this function.  Comment as shown and add the line below.</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">function setErrorImg()<br />
{<br />
var login_error = document.getElementById('login_error').innerHTML;<br />
var discovery_error = document.getElementById('discovery_error').innerHTML;<br />
<span style="color:red;">/*var browsercheck_error = document.getElementById('browsercheck_error').innerHTML;*/<br />
var browsercheck_error = "";</span><br />
login_error = login_error.replace(/^\s+/,"");       // delete leading spaces<br />
discovery_error = discovery_error.replace(/^\s+/,"");<br />
browsercheck_error = browsercheck_error.replace(/^\s+/,"");<br />
if (login_error.length != 0 || discovery_error.length != 0 || browsercheck_error.length != 0)<br />
{<br />
document.getElementById('error_img').style.display = 'block';<br />
document.getElementById('error_link').focus();<br />
}<br />
else<br />
setFocus();<br />
}</span></code></p>
<p>Bounce your PIA and now the message won&#8217;t be displayed when you use Windows 7, however other error messages will still appear as desired.</p>
<p>Note: Updated 27th Jan after Jim Marion&#8217;s suggestion below on my incorrect commenting syntax.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/438/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/438/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/438/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=438&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2010/01/27/hide-the-windows-7-is-not-supported-message/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2010/01/windows7_error.jpg" medium="image">
			<media:title type="html">Windows7_Error</media:title>
		</media:content>
	</item>
		<item>
		<title>Migrating Navigation Collections and Pagelets</title>
		<link>http://peoplesofttipster.com/2008/11/04/migrating-navigation-collections-and-pagelets/</link>
		<comments>http://peoplesofttipster.com/2008/11/04/migrating-navigation-collections-and-pagelets/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 10:33:08 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=181</guid>
		<description><![CDATA[Following on from yesterday&#8217;s post on creating and publishing a Navigation Collection, now you&#8217;ve created one you&#8217;ll want to migrate it around between environments.  There are a few steps to this. Migrate Navigation Collection with App Desginer First, you need to identify which are the correct Navigation Collection Content References to add to your App [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=181&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following on from yesterday&#8217;s post on <a href="http://peoplesofttipster.com/2008/11/03/save-time-with-a-custom-navigation-collection-and-pagelet/" target="_blank">creating and publishing a Navigation Collection</a>, now you&#8217;ve created one you&#8217;ll want to migrate it around between environments.  There are a few steps to this.<span id="more-181"></span></p>
<h3>Migrate Navigation Collection with App Desginer</h3>
<p>First, you need to identify which are the correct Navigation Collection Content References to add to your App Designer project.</p>
<p>Run the following SQL to get the PORTAL_OBJNAME of your Navigation Collection:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">select * from PSPRSMDEFN<br />
&nbsp;where portal_name='EMPLOYEE'<br />
&nbsp;&nbsp;&nbsp;and portal_prntobjname='CO_NAVIGATION_COLLECTIONS';</span></code></p>
<p>Now we need to find the PORTAL_OBJNAMES of every link within your collection.  Run the same SQL, but replace the Parent Object with the name of your Navigation Collection (the PORTAL_OBJNAME from the first SQL).</p>
<p>This should give you a list, many of which will look like this:<br />
ADMN_S200810276523143947898702</p>
<p>Within App Designer add both your Navigation Collection and the links/folders within it:</p>
<p><img class="alignnone size-full wp-image-191" title="inserting_crefs" src="http://duncandavies.files.wordpress.com/2008/10/inserting_crefs.jpg?w=460&#038;h=339" alt="" width="460" height="339" /></p>
<p>(If there are too many too enter manually you could always insert directly into PSPROJECTITEM.)</p>
<p>You&#8217;ll also want to add your User Homepage (for each Oprid that is using it) so that the homepage layout gets copied between environments too.  This will save you from having to manually select the collection in every PIA.</p>
<p><img class="alignnone size-full wp-image-193" title="portal_homepages" src="http://duncandavies.files.wordpress.com/2008/10/portal_homepages.jpg?w=460&#038;h=343" alt="" width="460" height="343" /></p>
<h3>Migrating the Pagelet</h3>
<p>So now you&#8217;ve migrated the Navigation Collection, before you log in to check we also need to migrate the Pagelet.</p>
<p>Within the PIA navigate to PeopleTools &gt; Portal &gt; Pagelet Wizard &gt; Export/Import Pagelets.  This page helps you to create the Data Mover scripts you&#8217;ll need.</p>
<p><img class="alignnone size-full wp-image-227" title="generate_scripts" src="http://duncandavies.files.wordpress.com/2008/11/generate_scripts.jpg?w=460&#038;h=364" alt="generate_scripts" width="460" height="364" /></p>
<p>Select the checkbox next to your Pagelet, then press &#8216;Generate Scripts&#8217;.  These should be run in Data Mover to export and import your pagelet through your environments.</p>
<p><img class="alignnone size-full wp-image-196" title="data_mover_scripts" src="http://duncandavies.files.wordpress.com/2008/10/data_mover_scripts.jpg?w=460&#038;h=303" alt="" width="460" height="303" /></p>
<p>Once this is done you&#8217;ll need to bounce the Application Server, then you&#8217;ll be able to log into your target environment and check your migrated pagelet.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/181/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/181/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/181/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=181&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/11/04/migrating-navigation-collections-and-pagelets/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/10/inserting_crefs.jpg" medium="image">
			<media:title type="html">inserting_crefs</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/10/portal_homepages.jpg" medium="image">
			<media:title type="html">portal_homepages</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/11/generate_scripts.jpg" medium="image">
			<media:title type="html">generate_scripts</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/10/data_mover_scripts.jpg" medium="image">
			<media:title type="html">data_mover_scripts</media:title>
		</media:content>
	</item>
		<item>
		<title>Save time with a Custom Navigation Collection and Pagelet</title>
		<link>http://peoplesofttipster.com/2008/11/03/save-time-with-a-custom-navigation-collection-and-pagelet/</link>
		<comments>http://peoplesofttipster.com/2008/11/03/save-time-with-a-custom-navigation-collection-and-pagelet/#comments</comments>
		<pubDate>Mon, 03 Nov 2008 14:40:38 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PIA]]></category>
		<category><![CDATA[PeopleTools]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=202</guid>
		<description><![CDATA[Frequently when I&#8217;m working I find that I&#8217;m visiting the same areas within the system regularly, so to make my life easier I&#8217;ll often create a Pagelet based on a custom Navigation Collection containing my often used components.  This greatly reduces the number of clicks required for day-to-day work and could be really useful for [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=202&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Frequently when I&#8217;m working I find that I&#8217;m visiting the same areas within the system regularly, so to make my life easier I&#8217;ll often create a Pagelet based on a custom Navigation Collection containing my often used components.  This greatly reduces the number of clicks required for day-to-day work and could be really useful for end users.</p>
<p>NB: Nothing shown here requires the Enterprise Portal product.</p>
<p>An example can be seen here:</p>
<p><img class="alignnone size-full wp-image-182" title="navigation_pagelet" src="http://duncandavies.files.wordpress.com/2008/10/navigation_pagelet.jpg?w=460&#038;h=256" alt="" width="460" height="256" /><br />
<span id="more-202"></span></p>
<h3>Creating the Navigation Collection</h3>
<p>First, let&#8217;s create the Navigation Collection.  You can have whatever menus/components you want in your collection.</p>
<ol>
<li>Go to PeopleTools &gt; Portal &gt; Portal Utilities &gt; Navigation Collections</li>
<li>Add a Collection with an appropriate Name and Description</li>
<li>Click Add Folder</li>
<li>Select Menu Folder, from the Employee Portal.</li>
<li>Use the prompt to locate the folder to add, click the plus folder next to a high level menu to expand it and choose a child menu.</li>
<li>Highlight the top level, and click Add Folder again. Repeat the process until you have added all your folders.</li>
<li>I also added a links directly to the Components I used most often, like Process Monitor, and moved them to the top of the list.</li>
<li>Click Save (and remember the name of your new Collection).</li>
</ol>
<h3>Publishing the Navigation Collection as a Pagelet</h3>
<ol>
<li>Go to PeopleTools &gt; Portal &gt; Pagelet Wizard &gt; Pagelet Wizard</li>
<li>Add a New Pagelet and fill out the Title etc</li>
<li>Choose a Data Type of Navigation Collection</li>
<li>Choose a Portal of Employee and prompt to find your Navigation Collection (it seems to prepend ADMN to mine for some reason)</li>
<li>I normally reduce the Max Child Links to 5.</li>
<li>I choose the Menu layout.</li>
<li>I set the &#8216;Parent Images&#8217; = Small, Turn off &#8216;Parent Descriptions&#8217; and set the &#8216;Child Display Type&#8217; = Simple List.</li>
<li>On the final page, check HomePage Pagelet, choose a folder, and set the security required.</li>
</ol>
<p>That&#8217;s your Pagelet done. Now add it to your Homepage.</p>
<h3>Adding a Pagelet to your Homepage</h3>
<ol>
<li>From the PIA Homepage, select the &#8216;Personalize Content&#8217; link.</li>
<li>Place a Check in the Checkbox next to the Pagelet you want, then click Save.</li>
<li>Click the Personalize Layout link.</li>
<li>Select whether you want a 2 or 3 column layout, and move the new Pagelet to the column you wish it to appear in, click Save.</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/202/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/202/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/202/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=202&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/11/03/save-time-with-a-custom-navigation-collection-and-pagelet/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2008/10/navigation_pagelet.jpg" medium="image">
			<media:title type="html">navigation_pagelet</media:title>
		</media:content>
	</item>
		<item>
		<title>MonkeyGrease Plea</title>
		<link>http://peoplesofttipster.com/2008/07/16/monkeygrease-plea/</link>
		<comments>http://peoplesofttipster.com/2008/07/16/monkeygrease-plea/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 10:54:33 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://duncandavies.wordpress.com/?p=123</guid>
		<description><![CDATA[I&#8217;m going to be looking at MonkeyGrease over the next couple of weeks and wondered if anyone felt like sharing their experiences. I&#8217;ll be setting it up in a VM and tinkering with it to see what it can do.  As a result I&#8217;d love to see screenshots, descriptions or &#8211; if you&#8217;re feeling particularly generous [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=123&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to be looking at <a href="http://monkeygrease.org/" target="_blank"></a>MonkeyGrease over the next couple of weeks and wondered if anyone felt like sharing their experiences.</p>
<p>I&#8217;ll be setting it up in a VM and tinkering with it to see what it can do.  As a result I&#8217;d love to see screenshots, descriptions or &#8211; if you&#8217;re feeling particularly generous &#8211; some code if you&#8217;ve used MonkeyGrease in the past.  I&#8217;ll give full credit to anything used, and if you do send code I won&#8217;t use it on client site, purely for the purposes of demonstrating MonkeyGrease&#8217;s functionality.</p>
<p>I&#8217;m aware that others have blogged about this in the past, including Jim Marion, Rich Manalang and one of the Grey Sparling team, and there is a Google Group for it.  If there is anything else out there I&#8217;d love to know.  Once I&#8217;ve got all the info in I&#8217;ll post a consolidated write-up and include all the links.</p>
<p>For those new to MonkeyGrease, see <a title="here" href="http://monkeygrease.org/" target="_blank">here</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/123/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/123/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/123/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/123/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/123/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=123&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2008/07/16/monkeygrease-plea/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>
	</item>
		<item>
		<title>A Custom Message on the Signon Page (part 3)</title>
		<link>http://peoplesofttipster.com/2007/11/09/a-custom-message-on-the-signon-page-part-3/</link>
		<comments>http://peoplesofttipster.com/2007/11/09/a-custom-message-on-the-signon-page-part-3/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 09:41:42 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2007/11/09/a-custom-message-on-the-signon-page-part-3/</guid>
		<description><![CDATA[A further solution to the &#8216;Message of the Day&#8217; problem has presented itself which may or may not (depending upon the client&#8217;s requirements) be a neater solution. This is quicker and cleaner to implement, but only works with IE. If your client uses Firefox this isn&#8217;t the answer for you! So how do you do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=50&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A further solution to the &#8216;Message of the Day&#8217; problem has presented itself which may or may not (depending upon the client&#8217;s requirements) be a neater solution.</p>
<p>This is quicker and cleaner to implement, but only works with IE.  If your client uses Firefox this isn&#8217;t the answer for you!</p>
<p><img src="http://duncandavies.files.wordpress.com/2007/11/signon_message3.jpg?w=460" alt="Message of the Day" /></p>
<p><span id="more-50"></span> So how do you do it?</p>
<p>1) Create the MOTD.html file in the same location as before, but this time leave out any tags and style info, just have the text.</p>
<p>2) Edit the signin.html page.</p>
<p>Place the following in the scripts section:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">function include(url)<br />
{<br />
var xml = new ActiveXObject("Microsoft.XMLHTTP");<br />
xml.Open( "GET", url, false );<br />
xml.Send()<br />
document.writeln(xml.responseText);<br />
}</span></code></p>
<p>And add the following in the same place as before.</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;"><br />
&lt;td&gt;&lt;div align="center"&gt;<br />
<span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#ff0000;">&nbsp;&nbsp;&nbsp;&lt;p class="psloginerror"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;SCRIPT language='JavaScript'&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;include("http://&lt;web_server&gt;/MOTD.html");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/SCRIPT&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;/p&gt;</span><br />
&nbsp;&nbsp;&nbsp;&lt;p class="pslogintext"&gt; &lt;%=traceLink%&gt; &lt;/p&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;p class="psloginerror"&gt; &lt;%=error%&gt; &lt;/p&gt;<br />
&nbsp;&nbsp;&nbsp;&lt;p class="psloginerror"&gt; &lt;%=ps.discovery.error%&gt; &lt;/p&gt;<br />
&lt;/div&gt;&lt;/td&gt;</span></code></p>
<p>This solution was gleaned from a discussion on Customer Connection and in particular from a gent named Jeremy Radwan.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=50&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2007/11/09/a-custom-message-on-the-signon-page-part-3/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2007/11/signon_message3.jpg" medium="image">
			<media:title type="html">Message of the Day</media:title>
		</media:content>
	</item>
		<item>
		<title>A Custom Message on the Signon Page (part 2)</title>
		<link>http://peoplesofttipster.com/2007/11/06/a-custom-message-on-the-signon-page-part-2/</link>
		<comments>http://peoplesofttipster.com/2007/11/06/a-custom-message-on-the-signon-page-part-2/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 16:16:46 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2007/11/06/a-custom-message-on-the-signon-page-part-2/</guid>
		<description><![CDATA[One of the criticisms that could be leveled at the previous post &#8216;A Custom Message on the Signon Page&#8217; and its attempt to provide &#8216;Message of the Day&#8217; functionality is that it&#8217;s static. If you need to change the message, you need to bounce the PIA. At some clients this would be fine &#8211; and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=48&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the criticisms that could be leveled at the previous post <a href="http://peoplesofttipster.com/2007/11/05/a-custom-message-on-the-signon-page/" target="_blank">&#8216;A Custom Message on the Signon Page&#8217;</a> and its attempt to provide &#8216;Message of the Day&#8217; functionality is that it&#8217;s static.  If you need to change the message, you need to bounce the PIA.  At some clients this would be fine &#8211; and at others not &#8211; so another solution was needed.</p>
<p>One way is to embed an iFrame in the signin.html page that points to the file containing the &#8216;Message of the Day&#8217; text.  The signin.html loads on PIA boot and knows it has an iFrame in it, but doesn’t look for the file until someone loads the page.  Then you can change the text as often as you like without having to bounce the PIA.  If the message text is longer than the box, a vertical scroll bar appears.</p>
<p>(This solution is better for mixed browser clients, however if you are Internet Explorer only consider <a href="http://peoplesofttipster.com/2007/11/09/a-custom-message-on-the-signon-page-part-3/">this solution</a> instead.)</p>
<p><img src="http://duncandavies.files.wordpress.com/2007/11/signon_message2.jpg?w=460" alt="Message of the Day" /></p>
<p><span id="more-48"></span> There are a few things to consider with this technique:</p>
<p>1)    If the file doesn’t exist, the frame will show a nasty looking ‘cannot be found’ error.  Instead of deleting it, just put an empty file there and all will be fine.</p>
<p>2)    It needs a small change to the Style Sheet on the Web Server.  This is a simple one-off change but without it the surrounding box looks nasty – and you’re changing one delivered file anyway.</p>
<p>3)    The flat file it calls has to have some style info in it, otherwise the text looks nasty (large, black, Times New Roman).</p>
<p>How do you do it?</p>
<p>All paths refer to files and directories underneath the ‘&lt;pshome&gt;\webserv\&lt;domain&gt;\applications\peoplesoft\PORTAL\’ folder.</p>
<p>1)    Add the following style to the css file (/&lt;PIA&gt;/styles.css):</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">.psmotdframe {<br />
background-color: #EEEEEE;<br />
border: 1px solid #D6D6D6;<br />
}</span></code></p>
<p>2)    Create the following file (/MOTD.html):</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;p style="font-family: arial; color: red; font-size: 9pt; text-align: center;"&gt;<br />
The quick brown fox jumped over the lazy dog.<br />
&lt;/p&gt;</span></code><br />
(the tags and style info seem to be something I can’t get around, and without them it looks ugly)</p>
<p>3)    Edit the Signin.html file</p>
<p>In the same place as last time, add the following row:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;td&gt;&lt;div align="center"&gt;<br />
<span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#ff0000;">&lt;IFRAME class="psmotdframe"<br />
&nbsp;src="http:///MOTD.html"<br />
&nbsp;width="240" height="80"<br />
&nbsp;scrolling="auto" frameborder="0"&gt;<br />
&lt;/IFRAME&gt;</span><br />
&lt;p class="pslogintext"&gt; &lt;%=traceLink%&gt; &lt;/p&gt;<br />
&lt;p class="psloginerror"&gt; &lt;%=error%&gt; &lt;/p&gt;<br />
&lt;p class="psloginerror"&gt; &lt;%=ps.discovery.error%&gt; &lt;/p&gt;<br />
&lt;/div&gt;&lt;/td&gt;</span></code><br />
Then bounce the PIA (it’ll be the only time you have to do this).</p>
<p>Further development would perhaps include hiding the box if the file doesn’t exist or trying to find a creative way of avoiding including the style tags.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=48&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2007/11/06/a-custom-message-on-the-signon-page-part-2/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2007/11/signon_message2.jpg" medium="image">
			<media:title type="html">Message of the Day</media:title>
		</media:content>
	</item>
		<item>
		<title>A Custom Message on the Signon Page</title>
		<link>http://peoplesofttipster.com/2007/11/05/a-custom-message-on-the-signon-page/</link>
		<comments>http://peoplesofttipster.com/2007/11/05/a-custom-message-on-the-signon-page/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 17:32:38 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2007/11/05/a-custom-message-on-the-signon-page/</guid>
		<description><![CDATA[A quick and easy one today. I was asked by a colleague how to have a custom message appear on the signon page. Partly out of curiosity and partly inspired by these posts (1 and 2) I thought I&#8217;d have a look. As the signon page is (obviously) presented before signin, it&#8217;s not going to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=46&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A quick and easy one today.  I was asked by a colleague how to have a custom message appear on the signon page.  Partly out of curiosity and partly inspired by these posts (<a href="http://www.erpassociates.com/peoplesoft-corner-weblog/peopletools/countdown-to-cutover.html" target="_blank">1</a> and <a href="http://jjmpsj.blogspot.com/2007_09_02_archive.html" target="_blank">2</a>) I thought I&#8217;d have a look.</p>
<p>As the signon page is (obviously) presented before signin, it&#8217;s not going to be a &#8216;PeopleCode and database&#8217; kind of solution, but I wanted something neater than just hacking the HTML each time.  It turns out that it&#8217;s simpler than I feared.</p>
<p><img src="http://duncandavies.files.wordpress.com/2007/11/signon_message.jpg?w=460" alt="Signon Message" /></p>
<p><span id="more-46"></span> First, you need to locate the folder on your web server containing signin.html.  For me this was:<br />
<code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;pshome&gt;\webserv\&lt;PIA&gt;\applications\peoplesoft\..<br />
..\PORTAL\WEB-INF\psftdocs\&lt;PIA&gt;\</span></code></p>
<p>Open it up with notepad, and head for the bit that has the text ‘traceLink’ in it (it’ll be near the bottom).  Add the extra line shown below:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">&lt;td&gt;&lt;div align="center"&gt;<br />
<span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#ff0000;"> &lt;P class="psloginerror"&gt; &lt;%=9000%&gt; &lt;/P&gt;</span><br />
&lt;p class="pslogintext"&gt; &lt;%=traceLink%&gt; &lt;/p&gt;<br />
&lt;p class="psloginerror"&gt; &lt;%=error%&gt; &lt;/p&gt;<br />
&lt;p class="psloginerror"&gt; &lt;%=ps.discovery.error%&gt; &lt;/p&gt;<br />
&lt;/div&gt;&lt;/td&gt;</span></code></p>
<p>The 9000 is just a substitution variable that is replaced when the PIA boots.</p>
<p>Next edit the text.properties file that can be found in the same directory.  Anywhere you like, add the line:</p>
<p><code><span style="font-size:9pt;line-height:80%;font-family:'Lucida Console';color:#7f7f7f;">9000=The custom message appears here!</span></code></p>
<p>Save both files and bounce the PIA.  The signon page will now display your new message.</p>
<p>A couple of caveats:</p>
<p>1) You&#8217;ll have to make this change once for each PIA.  So for each environment you want this in, and for each web server (if you do load balancing) you&#8217;ll have to make this change.<br />
2) The logon screen changed with Tools 8.48.  Although it looks different, I&#8217;m pretty sure the method to get the signin message would remain the same.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=46&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2007/11/05/a-custom-message-on-the-signon-page/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2007/11/signon_message.jpg" medium="image">
			<media:title type="html">Signon Message</media:title>
		</media:content>
	</item>
		<item>
		<title>Counting characters in a field</title>
		<link>http://peoplesofttipster.com/2007/07/24/counting-characters-in-a-field/</link>
		<comments>http://peoplesofttipster.com/2007/07/24/counting-characters-in-a-field/#comments</comments>
		<pubDate>Tue, 24 Jul 2007 00:11:12 +0000</pubDate>
		<dc:creator>Tipster</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>
		<category><![CDATA[PIA]]></category>

		<guid isPermaLink="false">http://peoplesofttipster.com/2007/07/24/counting-characters-in-a-field/</guid>
		<description><![CDATA[I saw a query earlier today on the IT Toolbox messageboard where someone asked if there was a way to restrict a user to a certain number of letters or characters within a Long Edit box. The poster didn&#8217;t want to wait until the user tabs out of the field to tell them their text [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=33&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I saw a query earlier today on the <a href="http://peoplesoft.ittoolbox.com/groups/technical-functional/peopletools-l">IT Toolbox messageboard</a> where someone asked if there was a way to restrict a user to a certain number of letters or characters within a Long Edit box. The poster didn&#8217;t want to wait until the user tabs out of the field to tell them their text was too long.</p>
<p>I&#8217;d seen someone accessing the value of a field from JavaScript within an HTML Area before, and although I couldn&#8217;t find the post (I believe it was on <a href="http://www.sparkpath.com/">SparkPath</a>, but could be wrong) it set me thinking.</p>
<p>One solution (there may be better answers, but this was my submission) was as follows:</p>
<p><span id="more-33"></span></p>
<p><img src="http://duncandavies.files.wordpress.com/2007/07/char_counter.jpg?w=460" alt="Character Counter" /></p>
<p>Place a Long Edit box on the page, this&#8217;ll be the field that contains the characters to counted.  Add an HTML Area.  This will contain a &#8216;counter&#8217; field showing how many characters left, so position it just below the Long Edit box.  Set the HTML Area value as constant and add the following code (remove my explanatory notes when you c+p):</p>
<p><code>&lt;input readonly type="text" name="counter_field" size="3" maxlength="3" value="200"&gt;characters left</code></p>
<p>The snippet above places the counter field on the page.  Note the name is set to &#8216;counter_field&#8217; and the max is set to &#8217;200&#8242;.  This is the starting value for the character count-down.<br />
<code><br />
&lt;SCRIPT LANGUAGE="JavaScript"&gt;<br />
function CharCounter()<br />
{<br />
if (document.win0.DMD_CHAR_COUNT_DESCR200<br />
.value.length &gt; 200)<br />
document.win0.DMD_CHAR_COUNT_DESCR200.value = document.win0.DMD_CHAR_COUNT_DESCR200<br />
.value.substring(0, 200);<br />
else<br />
document.win0.counter_field.value = 200 - document.win0.DMD_CHAR_COUNT_DESCR200<br />
.value.length;<br />
}</code><br />
The above function counts the number of characters in our Long Edit box (named DMD_COUNT_CHAR_DESCR200 in my page &#8211; view source in the PIA to see what yours is named, it&#8217;s usually &lt;recname&gt;_&lt;fieldname&gt;).  If the length is greater than 200, it refills the field with the first 200 chars (effectively undoing any extra characters you add after the first 200).  If the length is not more than 200 it updates the counter field with how many characters there are left.</p>
<p><code>function addEvent(obj, evType, fn, useCapture){<br />
if (obj.addEventListener){<br />
obj.addEventListener(evType, fn, useCapture);<br />
return true;<br />
} else if (obj.attachEvent){<br />
var r = obj.attachEvent("on"+evType, fn);<br />
return r;<br />
} else {<br />
alert("Handler could not be attached");<br />
}<br />
}</code><br />
This function above allows us to add events to existing PeopleSoft fields.  I can&#8217;t claim any credit for it as it was copied straight from the guys at GreySparling&#8217;s post on <a href="http://blog.greysparling.com/2006/02/enhancing-usability-of-peoplesoft.html">extending the usability of PeopleSoft</a>.  Thanks guys!</p>
<p><code>AddEvent(document.win0.<br />
DMD_CHAR_COUNT_DESCR200, "keydown", CharCounter, false);<br />
&lt;/script&gt;</code><br />
Finally, we add the Character Counter function call to our Long Edit box.  This means whenever there&#8217;s a KeyPress and the focus is on our field, our function is fired.</p>
<p>Ok, that&#8217;s my effort &#8230; can anyone improve on this?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/duncandavies.wordpress.com/33/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/duncandavies.wordpress.com/33/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/duncandavies.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/duncandavies.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/duncandavies.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/duncandavies.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/duncandavies.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/duncandavies.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/duncandavies.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/duncandavies.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=peoplesofttipster.com&amp;blog=893910&amp;post=33&amp;subd=duncandavies&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://peoplesofttipster.com/2007/07/24/counting-characters-in-a-field/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/42d38fff00428e8b120714d45980af8d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tipster</media:title>
		</media:content>

		<media:content url="http://duncandavies.files.wordpress.com/2007/07/char_counter.jpg" medium="image">
			<media:title type="html">Character Counter</media:title>
		</media:content>
	</item>
	</channel>
</rss>
