<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: What Environment Am I in?</title>
	<atom:link href="http://workingscripts.com/2009/07/what-environment-am-i-in/feed/" rel="self" type="application/rss+xml" />
	<link>http://workingscripts.com/2009/07/what-environment-am-i-in/</link>
	<description>The Stuff that Just Works</description>
	<lastBuildDate>Sun, 04 Dec 2011 00:40:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-96</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Mon, 03 May 2010 19:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-96</guid>
		<description>Sorry it took longer - for some reason I did not get this comment in the email. Anyways try to declare &amp;zEnvName in the beginning of the method as follows:

&lt;code&gt;Local string &amp;zEnvName;&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Sorry it took longer &#8211; for some reason I did not get this comment in the email. Anyways try to declare &amp;zEnvName in the beginning of the method as follows:</p>
<p><code>Local string &zEnvName;</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PSDB</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-95</link>
		<dc:creator>PSDB</dc:creator>
		<pubDate>Tue, 20 Apr 2010 20:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-95</guid>
		<description>Louri,

Thanks for great help.

I tried this but I was not able to save the code after change as I was getting this message &quot;Variable &amp;zEnvName was not declared. (2,91)&quot;.

I am sure I did not declare this in 8.4x tools.

let me know one more time.

thanks,
Venu.</description>
		<content:encoded><![CDATA[<p>Louri,</p>
<p>Thanks for great help.</p>
<p>I tried this but I was not able to save the code after change as I was getting this message &#8220;Variable &amp;zEnvName was not declared. (2,91)&#8221;.</p>
<p>I am sure I did not declare this in 8.4x tools.</p>
<p>let me know one more time.</p>
<p>thanks,<br />
Venu.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-94</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Tue, 20 Apr 2010 18:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-94</guid>
		<description>I finally had a chance to install 8.5 and here is the solution - you have to put the code in 

PT_BRANDING:BrandingBase
method getIframeHeaderHTML 

  &lt;code&gt; /*Iouri Chadour - Added to put Test Environment notification in the header&amp;Request.ContentURI - returns your portal URL in form http://server:port/psp/PSPRC/Left(Right(&amp;Request.ContentURI, 4), 3) - extracts the significant piece to displayon the header*/
&lt;code&gt;   &amp;zEnvName = Left(Right(%Request.ContentURI, 4), 3);
   &amp;greeting = &amp;zEnvName &#124; &quot; Environment &quot; &#124; &quot;, UserID:&quot; &#124; %UserId &#124; &quot;, Name: &quot; &#124; %UserDescription;
&lt;/code&gt;   /* End Mod */
&lt;/code&gt;

right before:

&lt;code&gt;   /* add &amp;addjs to PT_IFRAME_HDR_SWAN (bind 22) and PT_IFRAME_HDR(bind 23) */
   If &amp;hdrLink.isSwan Then&lt;/code&gt;

Let me know if you have any questions and thanks for good questions!</description>
		<content:encoded><![CDATA[<p>I finally had a chance to install 8.5 and here is the solution &#8211; you have to put the code in </p>
<p>PT_BRANDING:BrandingBase<br />
method getIframeHeaderHTML </p>
<p>  <code> /*Iouri Chadour - Added to put Test Environment notification in the header&amp;Request.ContentURI - returns your portal URL in form <a href="http://server:port/psp/PSPRC/Left(Right(&#038;Request.ContentURI" rel="nofollow">http://server:port/psp/PSPRC/Left(Right(&#038;Request.ContentURI</a>, 4), 3) - extracts the significant piece to displayon the header*/<br />
</code><code>   &amp;zEnvName = Left(Right(%Request.ContentURI, 4), 3);<br />
   &amp;greeting = &amp;zEnvName | " Environment " | ", UserID:" | %UserId | ", Name: " | %UserDescription;<br />
</code>   /* End Mod */</p>
<p>right before:</p>
<p><code>   /* add &amp;addjs to PT_IFRAME_HDR_SWAN (bind 22) and PT_IFRAME_HDR(bind 23) */<br />
   If &amp;hdrLink.isSwan Then</code></p>
<p>Let me know if you have any questions and thanks for good questions!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-93</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Sat, 06 Mar 2010 04:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-93</guid>
		<description>Hey there, I wish I did - I have not had a chance  to install 8.5 yet. I got tied up with other work. But thanks for reminding and I will keep you posted</description>
		<content:encoded><![CDATA[<p>Hey there, I wish I did &#8211; I have not had a chance  to install 8.5 yet. I got tied up with other work. But thanks for reminding and I will keep you posted</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psdb</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-92</link>
		<dc:creator>psdb</dc:creator>
		<pubDate>Fri, 05 Mar 2010 21:49:02 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-92</guid>
		<description>Hi Louri,

did you get a chance to test it on tools 8.50? It did not work for me and also tried to fix it but not successful.

thanks for your help.</description>
		<content:encoded><![CDATA[<p>Hi Louri,</p>
<p>did you get a chance to test it on tools 8.50? It did not work for me and also tried to fix it but not successful.</p>
<p>thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-85</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Tue, 19 Jan 2010 14:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-85</guid>
		<description>Thanks for a question. I am still in process of installing 8.5, however I do not foresee any problems for this particular code. I will keep you posted.</description>
		<content:encoded><![CDATA[<p>Thanks for a question. I am still in process of installing 8.5, however I do not foresee any problems for this particular code. I will keep you posted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: psdb</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-84</link>
		<dc:creator>psdb</dc:creator>
		<pubDate>Sun, 17 Jan 2010 07:45:45 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-84</guid>
		<description>does it work on Tools 8.50? both methods had some significant changes related to UI so just checking to see if it works or not. As this was posted before 8.50, please update it for new tools so we all can see if we could use it.

thanks for all your tips.</description>
		<content:encoded><![CDATA[<p>does it work on Tools 8.50? both methods had some significant changes related to UI so just checking to see if it works or not. As this was posted before 8.50, please update it for new tools so we all can see if we could use it.</p>
<p>thanks for all your tips.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Iouri Chadour</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-82</link>
		<dc:creator>Iouri Chadour</dc:creator>
		<pubDate>Thu, 07 Jan 2010 04:00:14 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-82</guid>
		<description>That is correct Srinivas - I am reusing this variable. I also suggest using this only in Test environments, I do not think this should be used in Production. Thanks a lot for a feedback.</description>
		<content:encoded><![CDATA[<p>That is correct Srinivas &#8211; I am reusing this variable. I also suggest using this only in Test environments, I do not think this should be used in Production. Thanks a lot for a feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Srinivas</title>
		<link>http://workingscripts.com/2009/07/what-environment-am-i-in/comment-page-1/#comment-81</link>
		<dc:creator>Srinivas</dc:creator>
		<pubDate>Mon, 04 Jan 2010 02:10:43 +0000</pubDate>
		<guid isPermaLink="false">http://workingscripts.com/2009/07/what-environment-am-i-in/#comment-81</guid>
		<description>Hi Louri,

In peoplesoft personalisation if user gives greeting text. it will override with the Greeting variable value.

This site is very good.</description>
		<content:encoded><![CDATA[<p>Hi Louri,</p>
<p>In peoplesoft personalisation if user gives greeting text. it will override with the Greeting variable value.</p>
<p>This site is very good.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

