<?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: Redirecting Users to Different Visualforce Pages</title>
	<atom:link href="http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=redirecting-users-to-different-visualforce-pages</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: Raghu</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-2502</link>
		<dc:creator>Raghu</dc:creator>
		<pubDate>Thu, 27 Jan 2011 15:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-2502</guid>
		<description>Thanks Jeff.. I have the implemented the same scenario in my org but i would like the Visualforce to consider the recordtype and display the picklist values accordingly. But not able to achieve this functionality following this method. It works only if i override the new button with a single visualforce page. Any thoughts on how this can be done?</description>
		<content:encoded><![CDATA[<p>Thanks Jeff.. I have the implemented the same scenario in my org but i would like the Visualforce to consider the recordtype and display the picklist values accordingly. But not able to achieve this functionality following this method. It works only if i override the new button with a single visualforce page. Any thoughts on how this can be done?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Kessler</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-2465</link>
		<dc:creator>Brian Kessler</dc:creator>
		<pubDate>Sun, 23 Jan 2011 21:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-2465</guid>
		<description>@Suresh - I get the same error.  Seems strange since we can certainly add new contacts (otherwise there would be nothing to view or edit).  Did you ever find a fix?</description>
		<content:encoded><![CDATA[<p>@Suresh &#8211; I get the same error.  Seems strange since we can certainly add new contacts (otherwise there would be nothing to view or edit).  Did you ever find a fix?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suresh</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-2096</link>
		<dc:creator>Suresh</dc:creator>
		<pubDate>Mon, 22 Nov 2010 18:31:19 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-2096</guid>
		<description>While using $Action.Contact.New I getting the following error Error: Field $Action.Contact.New does not exist. Check spelling What could be the possible reason</description>
		<content:encoded><![CDATA[<p>While using $Action.Contact.New I getting the following error Error: Field $Action.Contact.New does not exist. Check spelling What could be the possible reason</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Force Architects: Delivered Innovation Blog &#187; Force.com Tip: &#039;New&#039; Button Override to Assign VisualForce Page to Specific Record Type Using Native Apex Code</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-2010</link>
		<dc:creator>Force Architects: Delivered Innovation Blog &#187; Force.com Tip: &#039;New&#039; Button Override to Assign VisualForce Page to Specific Record Type Using Native Apex Code</dc:creator>
		<pubDate>Fri, 29 Oct 2010 23:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-2010</guid>
		<description>[...] Jeff Douglas has provided another method for achieving automated redirection to VisualForce pages on his blog.  You can find the link here. [...]</description>
		<content:encoded><![CDATA[<p>[...] Jeff Douglas has provided another method for achieving automated redirection to VisualForce pages on his blog.  You can find the link here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-1928</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Wed, 13 Oct 2010 09:37:08 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-1928</guid>
		<description>Could you change your code so that if the recordtype is null then look up current user&#039;s default recordtype or store that somehow?</description>
		<content:encoded><![CDATA[<p>Could you change your code so that if the recordtype is null then look up current user&#8217;s default recordtype or store that somehow?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben0034</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-1913</link>
		<dc:creator>Ben0034</dc:creator>
		<pubDate>Sun, 10 Oct 2010 21:14:47 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-1913</guid>
		<description>Thanks, Jeff!  This page redirection works great, except for one scenario we have...  

We have multiple record types, but some of our users have access to only one opportunity record type.  They are not prompted for a record type when creating a new opportunity record, so therefore the RecordTypeId parameter does not exist on the URL.  

Based on the user&#039;s 1 default record type, they should be directed to the custom VF page.  When the redirection Controller code runs, it does not correctly redirect the user to the custom VisualForce page since the record type is not on the URL.  

I tried getting the current record&#039;s recordtypeid in the Controller, but it comes up null since the record has not been created yet. 

Any other suggestions?</description>
		<content:encoded><![CDATA[<p>Thanks, Jeff!  This page redirection works great, except for one scenario we have&#8230;  </p>
<p>We have multiple record types, but some of our users have access to only one opportunity record type.  They are not prompted for a record type when creating a new opportunity record, so therefore the RecordTypeId parameter does not exist on the URL.  </p>
<p>Based on the user&#8217;s 1 default record type, they should be directed to the custom VF page.  When the redirection Controller code runs, it does not correctly redirect the user to the custom VisualForce page since the record type is not on the URL.  </p>
<p>I tried getting the current record&#8217;s recordtypeid in the Controller, but it comes up null since the record has not been created yet. </p>
<p>Any other suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-973</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Thu, 08 Jul 2010 18:52:51 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-973</guid>
		<description>Thanks for the tip- This is a useful pattern for all sorts of VF maneuvers we do at our shop. There are many cases where we want to dispatch to a given page based on combinations of fields on the records, and the user making request.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip- This is a useful pattern for all sorts of VF maneuvers we do at our shop. There are many cases where we want to dispatch to a given page based on combinations of fields on the records, and the user making request.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Douglas</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-820</link>
		<dc:creator>Jeff Douglas</dc:creator>
		<pubDate>Fri, 04 Jun 2010 09:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-820</guid>
		<description>Check your ContactStandardController class and make sure you have a method named redirect and that it is public.</description>
		<content:encoded><![CDATA[<p>Check your ContactStandardController class and make sure you have a method named redirect and that it is public.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simson</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-819</link>
		<dc:creator>Simson</dc:creator>
		<pubDate>Fri, 04 Jun 2010 07:34:19 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-819</guid>
		<description>Hi Jeff,
i am getting an error while trying to implement the code for new Contact.
The error on the dispatcher Visualforce page is &quot;Unknown Property &#039;ContactStandardController.redirect&#039;.
This VF page has the following code:


i have a controller extension called DispatcherForNewContactController which has the redirect method.
Can you please provide me a pointer on this error.</description>
		<content:encoded><![CDATA[<p>Hi Jeff,<br />
i am getting an error while trying to implement the code for new Contact.<br />
The error on the dispatcher Visualforce page is &#8220;Unknown Property &#8216;ContactStandardController.redirect&#8217;.<br />
This VF page has the following code:</p>
<p>i have a controller extension called DispatcherForNewContactController which has the redirect method.<br />
Can you please provide me a pointer on this error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MMA</title>
		<link>http://blog.jeffdouglas.com/2008/11/14/redirecting-users-to-different-visualforce-pages/comment-page-1/#comment-65</link>
		<dc:creator>MMA</dc:creator>
		<pubDate>Thu, 17 Dec 2009 02:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://jeffdonthemic.wordpress.com/?p=118#comment-65</guid>
		<description>Would you happen to have a testmethod on this... I am so lost with my testmethod .. I have post it up on the Apex board here is the link:
http://community.salesforce.com/sforce/board/message?board.id=apex&amp;thread.id=23824&amp;view=by_date_ascending&amp;page=2

Any help is appreciated...
Happy Holidays
Thanks</description>
		<content:encoded><![CDATA[<p>Would you happen to have a testmethod on this&#8230; I am so lost with my testmethod .. I have post it up on the Apex board here is the link:<br />
<a href="http://community.salesforce.com/sforce/board/message?board.id=apex&amp;thread.id=23824&amp;view=by_date_ascending&amp;page=2" rel="nofollow">http://community.salesforce.com/sforce/board/message?board.id=apex&amp;thread.id=23824&amp;view=by_date_ascending&amp;page=2</a></p>
<p>Any help is appreciated&#8230;<br />
Happy Holidays<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

