<?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: Use an Inline Visualforce Page with Standard Page Layouts</title>
	<atom:link href="http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=inline-visualforce-pages-with-standard-page-layouts</link>
	<description>Get your head out of your #@! and into the clouds!</description>
	<lastBuildDate>Wed, 08 Feb 2012 07:57:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: oscil8</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-6840</link>
		<dc:creator>oscil8</dc:creator>
		<pubDate>Tue, 15 Nov 2011 22:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-6840</guid>
		<description>How to refresh the page layout if the VF page updates field values?</description>
		<content:encoded><![CDATA[<p>How to refresh the page layout if the VF page updates field values?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-4824</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Sat, 24 Sep 2011 12:25:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-4824</guid>
		<description>Thanks for the heads up. The plugin that I was using stopped working. It should be displaying properly now.</description>
		<content:encoded><![CDATA[<p>Thanks for the heads up. The plugin that I was using stopped working. It should be displaying properly now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick K.</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-4461</link>
		<dc:creator>Patrick K.</dc:creator>
		<pubDate>Thu, 11 Aug 2011 08:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-4461</guid>
		<description>Did the code for the VF page disappear or something?</description>
		<content:encoded><![CDATA[<p>Did the code for the VF page disappear or something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Girish Suravajhula</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-3567</link>
		<dc:creator>Girish Suravajhula</dc:creator>
		<pubDate>Fri, 13 May 2011 19:09:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-3567</guid>
		<description>@Brent and @Jeff
here is the JS code that you could use to adjust the inline page hight ...

---------------------------------------------------------------------------------


		window.onload=adjustHeight;
		
		function adjustHeight(){
			var iframeId = getIframeID();
			var if1 = parent.document.getElementById(iframeId);
			var ca = document.getElementById(&quot;{!$Component.caID}&quot;);
			if1.height = ca.offsetHeight;
		}
		
		function getIframeID(el){
			var myTop = top;
			var myTitle = &#039;YOUR_PAGE_NAME_HERE&#039;;
			var iFs = top.document.getElementsByTagName(&#039;iframe&#039;);
			var x, i = iFs.length;
			while ( i-- ){
				x = iFs[i];
					if (x.title == myTitle){
					return x.id;
				}
			}
			return &#039;Couldn\&#039;t find the iframe&#039;;
		}
		
		
	

------------------------------------------------------------------------------</description>
		<content:encoded><![CDATA[<p>@Brent and @Jeff<br />
here is the JS code that you could use to adjust the inline page hight &#8230;</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>		window.onload=adjustHeight;</p>
<p>		function adjustHeight(){<br />
			var iframeId = getIframeID();<br />
			var if1 = parent.document.getElementById(iframeId);<br />
			var ca = document.getElementById(&#8220;{!$Component.caID}&#8221;);<br />
			if1.height = ca.offsetHeight;<br />
		}</p>
<p>		function getIframeID(el){<br />
			var myTop = top;<br />
			var myTitle = &#8216;YOUR_PAGE_NAME_HERE&#8217;;<br />
			var iFs = top.document.getElementsByTagName(&#8216;iframe&#8217;);<br />
			var x, i = iFs.length;<br />
			while ( i&#8211; ){<br />
				x = iFs[i];<br />
					if (x.title == myTitle){<br />
					return x.id;<br />
				}<br />
			}<br />
			return &#8216;Couldn\&#8217;t find the iframe&#8217;;<br />
		}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitri Sennikov</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-3322</link>
		<dc:creator>Dmitri Sennikov</dc:creator>
		<pubDate>Fri, 29 Apr 2011 04:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-3322</guid>
		<description>Hi Jeff, Brent,

We got an AppExchange package available for the automatic height adjustment of inline visualforce pages. You can try it out and let me know your thoughts, it&#039;s free

https://sites.secure.force.com/appexchange/listingDetail?listingId=a0N30000004cEEyEAM#

It was a bit complex to get javascript and DOM sizing to work with XSS (Cross-Site Scripting), which is considered browser security feature. We used EasyXDM.net library that includes a number of protocols to ensure browser support. IE8, Firefox, Chrome and Safari have been tested to work.

Jeff, I could use this chance to thank you for the information you&#039;ve provided on your blog, a couple of your entries saved hours of troubleshooting in the past, thanks! :)

Dmitri</description>
		<content:encoded><![CDATA[<p>Hi Jeff, Brent,</p>
<p>We got an AppExchange package available for the automatic height adjustment of inline visualforce pages. You can try it out and let me know your thoughts, it&#8217;s free</p>
<p><a href="https://sites.secure.force.com/appexchange/listingDetail?listingId=a0N30000004cEEyEAM#" rel="nofollow">https://sites.secure.force.com/appexchange/listingDetail?listingId=a0N30000004cEEyEAM#</a></p>
<p>It was a bit complex to get javascript and DOM sizing to work with XSS (Cross-Site Scripting), which is considered browser security feature. We used EasyXDM.net library that includes a number of protocols to ensure browser support. IE8, Firefox, Chrome and Safari have been tested to work.</p>
<p>Jeff, I could use this chance to thank you for the information you&#8217;ve provided on your blog, a couple of your entries saved hours of troubleshooting in the past, thanks! <img src='http://blog.jeffdouglas.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Dmitri</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jessica</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-3132</link>
		<dc:creator>Jessica</dc:creator>
		<pubDate>Fri, 01 Apr 2011 15:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-3132</guid>
		<description>I am a developer who is new to PeopleSoft. I have created a dispatcher class in apex. The apex class needs to redirect the user to either a full-access account layout page or a limited-access account layout page, depending on whether or not the owner of the account is the currently logged in user. Therefore, I need to access a page layout from apex code (or embed an account page layout in a VisualForce page). Any ideas on how to do the inverse of what you have posted here? Thanks,</description>
		<content:encoded><![CDATA[<p>I am a developer who is new to PeopleSoft. I have created a dispatcher class in apex. The apex class needs to redirect the user to either a full-access account layout page or a limited-access account layout page, depending on whether or not the owner of the account is the currently logged in user. Therefore, I need to access a page layout from apex code (or embed an account page layout in a VisualForce page). Any ideas on how to do the inverse of what you have posted here? Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-2797</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Mon, 28 Feb 2011 11:27:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-2797</guid>
		<description>@Brent, it&#039;s a clumsy solution but you can adjust the size with Javascript and the DOM. Unfortunately I don&#039;t have the code. You may want to drop @wesnolte a line and see if he can help.</description>
		<content:encoded><![CDATA[<p>@Brent, it&#8217;s a clumsy solution but you can adjust the size with Javascript and the DOM. Unfortunately I don&#8217;t have the code. You may want to drop @wesnolte a line and see if he can help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-2786</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Mon, 28 Feb 2011 10:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-2786</guid>
		<description>@Archana, I don&#039;t think this is possible. You&#039;ll probably have to go to an entire visualforce page.</description>
		<content:encoded><![CDATA[<p>@Archana, I don&#8217;t think this is possible. You&#8217;ll probably have to go to an entire visualforce page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-2746</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 23 Feb 2011 04:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-2746</guid>
		<description>Hi Jeff,
When I add the Visualforce page to the standard layout, I must set its height to a fixed pixel value (only width can have a variable %), Any ideas on how I can avoid having the area scroll when the embedded page needs a little more height.
Best,
Brent</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
When I add the Visualforce page to the standard layout, I must set its height to a fixed pixel value (only width can have a variable %), Any ideas on how I can avoid having the area scroll when the embedded page needs a little more height.<br />
Best,<br />
Brent</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Archana</title>
		<link>http://blog.jeffdouglas.com/2009/05/08/inline-visualforce-pages-with-standard-page-layouts/comment-page-1/#comment-2659</link>
		<dc:creator>Archana</dc:creator>
		<pubDate>Tue, 15 Feb 2011 00:13:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.jeffdouglas.com/?p=849#comment-2659</guid>
		<description>Hi,
Is it possible to show the inline VF in edit mode of the detail page. Supposing I have a VF in my opty detail page, in which I have some opty fields. When I click on Edit button, in the opty detail page, this VF section is not shown. How can I make that available?

Thanks,</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Is it possible to show the inline VF in edit mode of the detail page. Supposing I have a VF in my opty detail page, in which I have some opty fields. When I click on Edit button, in the opty detail page, this VF section is not shown. How can I make that available?</p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

