<?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: Invoking Apex from a Button (JS &#8211;&gt; Apex Web Service)</title>
	<atom:link href="http://sfdc.arrowpointe.com/2009/07/13/invoking-apex-from-a-button-js-apex-web-service/feed/" rel="self" type="application/rss+xml" />
	<link>http://sfdc.arrowpointe.com/2009/07/13/invoking-apex-from-a-button-js-apex-web-service/</link>
	<description>Authored by Scott Hemmeter of Arrowpointe Corp, this blog is written from the perspective of a Salesforce.com solution provider and contains information on Arrowpointe's AppExchange products as well as tips, findings, sample code, functionality wishes, etc.</description>
	<lastBuildDate>Mon, 26 Jul 2010 02:42:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Scott Hemmeter</title>
		<link>http://sfdc.arrowpointe.com/2009/07/13/invoking-apex-from-a-button-js-apex-web-service/comment-page-1/#comment-61904</link>
		<dc:creator>Scott Hemmeter</dc:creator>
		<pubDate>Mon, 20 Jul 2009 15:59:46 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=652#comment-61904</guid>
		<description>@Danny

I return a String in my methods.  If it starts with &quot;Error:&quot;, I put up an alert box.  If not, I will be returning a URL and I use window.location to redirect the user.  Works well.

In Apex, you can use PageReferences and then use the getUrl method to get the URL for send the user there.</description>
		<content:encoded><![CDATA[<p>@Danny</p>
<p>I return a String in my methods.  If it starts with &#8220;Error:&#8221;, I put up an alert box.  If not, I will be returning a URL and I use window.location to redirect the user.  Works well.</p>
<p>In Apex, you can use PageReferences and then use the getUrl method to get the URL for send the user there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Walker</title>
		<link>http://sfdc.arrowpointe.com/2009/07/13/invoking-apex-from-a-button-js-apex-web-service/comment-page-1/#comment-61903</link>
		<dc:creator>Danny Walker</dc:creator>
		<pubDate>Mon, 20 Jul 2009 14:45:41 +0000</pubDate>
		<guid isPermaLink="false">http://sfdc.arrowpointe.com/?p=652#comment-61903</guid>
		<description>The downside to this method is that it doesn&#039;t allow you to return a PageReference.  I&#039;m trying to construct a wizard that starts on a different page depending on what values are required for the current task.</description>
		<content:encoded><![CDATA[<p>The downside to this method is that it doesn&#8217;t allow you to return a PageReference.  I&#8217;m trying to construct a wizard that starts on a different page depending on what values are required for the current task.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
