<?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>Venkat Polisetti</title>
	<atom:link href="http://sassyforce.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://sassyforce.com</link>
	<description>Just another Salesforce.com CRM blog...</description>
	<lastBuildDate>Tue, 08 May 2012 17:27:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='sassyforce.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Venkat Polisetti</title>
		<link>http://sassyforce.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sassyforce.com/osd.xml" title="Venkat Polisetti" />
	<atom:link rel='hub' href='http://sassyforce.com/?pushpress=hub'/>
		<item>
		<title>Formula showing a URL with {!}</title>
		<link>http://sassyforce.com/2011/10/20/formula-showing-a-url-with-embeded-expressi/</link>
		<comments>http://sassyforce.com/2011/10/20/formula-showing-a-url-with-embeded-expressi/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 15:44:04 +0000</pubDate>
		<dc:creator>Venkat Polisetti</dc:creator>
				<category><![CDATA[Administration]]></category>

		<guid isPermaLink="false">http://sassyforce.com/?p=82</guid>
		<description><![CDATA[Today I came across a situation where I wanted to include a field name into a formula field that returns a URL as text and will be displayed on a page layout. This URL will be used subsequently in an email template. Here is an example of the  formula field value that I want to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sassyforce.com&#038;blog=20455583&#038;post=82&#038;subd=artiscloud&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Today I came across a situation where I wanted to include a field name into a formula field that returns a URL as text and will be displayed on a page layout. This URL will be used subsequently in an email template.</p>
<p>Here is an example of the  formula field value that I want to display on the page layout exactly as it is:</p>
<p style="padding-left:30px;"><strong><a href="http://mysite.force.com?id=" rel="nofollow">http://mysite.force.com?id=</a>{!Campaign.Id}</strong></p>
<p>When you create your formula and select the formula field type as &#8220;Text&#8221; and enter the above text surrounded by single quotes, Salesforce strips the flower-brackets &#8216;{}&#8217; and the exclamation mark &#8216;!&#8217; around the above field when you save the formula.</p>
<p>I did a little experiment with the above and when I removed the closing bracket it was keeping the rest of the string untouched. So it ended up like the below:</p>
<p style="padding-left:30px;"><strong><a href="http://mysite.force.com?id=" rel="nofollow">http://mysite.force.com?id=</a>{!Campaign.Id</strong></p>
<p>But, I want to have field value to have the closing <strong>} </strong>so that you can copy and paste it into an email template.</p>
<p>The only way that I could solve this is by adding an additional formula field that has its text value as <strong>&#8216;}&#8217; (Closing_Brace__c below) </strong>and changing the the original formula like this:</p>
<pre class="brush: bash; title: ; notranslate">'http://mysite.force.com?id={!Campaign.Id' &amp; Closing_Brace__c</pre>
<p>Watch the single quotes around the first part of the above formula text.</p>
<p>If you know a different approach to solve this, please kindly let me know through your comments below.</p>
<p>Thanks</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/artiscloud.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/artiscloud.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sassyforce.com&#038;blog=20455583&#038;post=82&#038;subd=artiscloud&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sassyforce.com/2011/10/20/formula-showing-a-url-with-embeded-expressi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5a7f6223af5b23fbcadbb837c5396266?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">venkatpolisetti</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding Reply and Forward buttons to the email activity  page layout</title>
		<link>http://sassyforce.com/2011/09/12/adding-reply-and-forward-buttons-to-the-email-activity-page-layout/</link>
		<comments>http://sassyforce.com/2011/09/12/adding-reply-and-forward-buttons-to-the-email-activity-page-layout/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 15:39:25 +0000</pubDate>
		<dc:creator>Venkat Polisetti</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[buttons]]></category>
		<category><![CDATA[page layout]]></category>

		<guid isPermaLink="false">http://artiscloud.wordpress.com/?p=28</guid>
		<description><![CDATA[Many times when I am going through the Activity History of an Account or Contact and wanted to reply to an email or forward that to some one else, I see that the standard Activity page layout in Salesforce does not provide any buttons to do that. When you click on an Activity in the Activity History, all you see [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sassyforce.com&#038;blog=20455583&#038;post=28&#038;subd=artiscloud&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Many times when I am going through the <strong>Activity History</strong> of an <strong>Account</strong> or <strong>Contact</strong> and wanted to reply to an email or forward that to some one else, I see that the standard Activity page layout in Salesforce does not provide any buttons to do that. When you click on an Activity in the Activity History, all you see is buttons for edit/delete and follow up task or event. I wish I could directly Reply or Forward that activity from with in Salesforce without going out to my email client on my desktop. It will come handy when we do not have access to our email client for whatever reason that is.</p>
<p style="text-align:center;"><a href="http://artiscloud.files.wordpress.com/2011/09/task-email.png"><img class="aligncenter size-full wp-image-29" style="border:1px solid black;" title="Task- Email" src="http://artiscloud.files.wordpress.com/2011/09/task-email.png?w=722&#038;h=55" alt="" width="722" height="55" /></a></p>
<p style="text-align:left;">We are going to provide the Reply and Forward Email buttons on the Task Activity page layout. To do that we need to do the following:</p>
<p style="text-align:left;"><span style="color:#008000;"><strong>Add two custom buttons to the Task object</strong></span></p>
<ul>
<li>
<div style="text-align:left;"><span style="color:#800080;"><em>Crate a custom button with a lable &#8220;Reply Email&#8221;.</em></span></div>
</li>
</ul>
<p style="text-align:left;padding-left:60px;">Head out to Yourname-&gt;Setup-&gt;App Setup-&gt;Customize-&gt;Activities. Click on <em>Task Buttons and Links. </em>Click New button under Cutsom Buttons and Links section at the bottom of the page.</p>
<p style="text-align:center;padding-left:60px;"><a href="http://artiscloud.files.wordpress.com/2011/09/reply-email.png"><img class="aligncenter size-full wp-image-35" style="border:1px solid black;" title="reply email" src="http://artiscloud.files.wordpress.com/2011/09/reply-email.png?w=1117&#038;h=345" alt="" width="1117" height="345" /></a></p>
<p style="text-align:left;padding-left:60px;">Here is the URL text for the above button:</p>
<pre class="brush: bash; title: ; notranslate">/_ui/core/email/author/EmailAuthor?p2_lkid={!Task.Who} &amp;p3_lkid={!Task.What}&amp;p6=RE:{!IF(BEGINS(Task.Subject, 'Email:'),  RIGHT(Task.Subject, LEN(Task.Subject) - 6) , Task.Subject)}&amp;p7=%0a-------original Message-------%0a {!Task.Description}&amp;retURL=/{!Task.Id}</pre>
<ul>
<li><span style="color:#800080;"><em>Create a custom button with a lable &#8220;Forward Email&#8221; just like the above &#8220;Reply Email&#8221; button but use the below URL text:</em></span></li>
</ul>
<pre class="brush: bash; title: ; notranslate">/_ui/core/email/author/EmailAuthor?p2_lkid={!Task.Who} &amp;p3_lkid={!Task.What}&amp;p6=FW:{!IF(BEGINS(Task.Subject, 'Email:'),  RIGHT(Task.Subject, LEN(Task.Subject) - 6) , Task.Subject)}&amp;p7=%0a-------Original Message-------%0a {!Task.Description}&amp;retURL=/{!Task.Id}</pre>
<blockquote><p>In the above url we simply maniputlates the subject and prepend to the discription a line with a string <strong><em>&#8212;&#8212;-</em>Original Message<em>&#8212;&#8212;- </em></strong>to seperate the original message from what you may include in your reply.</p></blockquote>
<p><span style="color:#008000;"><strong>Modify Task page layouts to add the above custom buttons</strong></span></p>
<ul>
<li><span style="color:#000000;">Yourname-&gt;Setup-&gt;App Setup-&gt;Customize-&gt;Activities. Click on <em>Task Page Laouts. Drag the custom buttons on to the layout</em></span></li>
</ul>
<p style="text-align:center;"><span style="color:#000000;"><em><a href="http://artiscloud.files.wordpress.com/2011/09/task-page-layout.png"><img class="aligncenter size-full wp-image-47" style="border:1px solid black;" title="Task page layout" src="http://artiscloud.files.wordpress.com/2011/09/task-page-layout.png?w=1024&#038;h=318" alt="" width="1024" height="318" /></a></em></span></p>
<p><span style="color:#000000;">Thant&#8217;s all to it.</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/artiscloud.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/artiscloud.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sassyforce.com&#038;blog=20455583&#038;post=28&#038;subd=artiscloud&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://sassyforce.com/2011/09/12/adding-reply-and-forward-buttons-to-the-email-activity-page-layout/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/5a7f6223af5b23fbcadbb837c5396266?s=96&#38;d=wavatar&#38;r=G" medium="image">
			<media:title type="html">venkatpolisetti</media:title>
		</media:content>

		<media:content url="http://artiscloud.files.wordpress.com/2011/09/task-email.png" medium="image">
			<media:title type="html">Task- Email</media:title>
		</media:content>

		<media:content url="http://artiscloud.files.wordpress.com/2011/09/reply-email.png" medium="image">
			<media:title type="html">reply email</media:title>
		</media:content>

		<media:content url="http://artiscloud.files.wordpress.com/2011/09/task-page-layout.png" medium="image">
			<media:title type="html">Task page layout</media:title>
		</media:content>
	</item>
	</channel>
</rss>
