<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Smartcase use in Transactional messages in Adobe Campaign Classic Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386497#M1463</link>
    <description>is this going to work: &amp;lt;%= rtEvent.ctx.firstName.@value %&amp;gt; &amp;amp;lt;script&amp;amp;gt;&amp;lt;%@ include view='toSmartCase'%&amp;gt;; document.getElementById("firstName").innerHTML = toSmartCase(); &amp;amp;lt;/script&amp;amp;gt;</description>
    <pubDate>Thu, 05 Nov 2020 23:09:32 GMT</pubDate>
    <dc:creator>kkoor</dc:creator>
    <dc:date>2020-11-05T23:09:32Z</dc:date>
    <item>
      <title>Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/384338#M1452</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's the best way to use the syntax for Smartcase (capitalization of the first letter of a name) for the personalization in Adobe Campaign Classic, when your personalization syntax is&amp;nbsp;&amp;lt;%= rtEvent.ctx.firstName.@value %&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 02:08:39 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/384338#M1452</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-10-26T02:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/384412#M1454</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;LI-USER uid="17383105"&gt;&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use the personalization block and call the toSmartCase function in personalization block and pass the event variable to function then print the value in template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 12:46:26 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/384412#M1454</guid>
      <dc:creator>Manoj_Kumar_</dc:creator>
      <dc:date>2020-10-26T12:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/384473#M1455</link>
      <description>&lt;P&gt;Hi Manoj, Thank you for your feedback, but when I use personalization blocks, I can't see where to retrieve the functions. Were you thinking of this: &amp;lt;%= .toSmartCase() + rtEvent.ctx.firstName.@value %&amp;gt; (note it's for transactional (in commercial campaigns I see the functions, but not in transactional)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do I need to add it in a script??&lt;/P&gt;</description>
      <pubDate>Mon, 26 Oct 2020 22:44:50 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/384473#M1455</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-10-26T22:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386252#M1456</link>
      <description>Hi &lt;LI-USER uid="16614846" login="_Manoj_Kumar"&gt;&lt;/LI-USER&gt;, Can you help &lt;LI-USER uid="17383105" login="kkoor"&gt;&lt;/LI-USER&gt; further please? Thanks!</description>
      <pubDate>Wed, 04 Nov 2020 14:23:19 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386252#M1456</guid>
      <dc:creator>Sukrity_Wadhwa</dc:creator>
      <dc:date>2020-11-04T14:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386322#M1458</link>
      <description>Thank you &lt;LI-USER uid="97785" login="Sukrity_Wadhwa"&gt;&lt;/LI-USER&gt;</description>
      <pubDate>Thu, 05 Nov 2020 00:13:39 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386322#M1458</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-05T00:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386354#M1461</link>
      <description>Hello &lt;LI-USER uid="17383105" login="kkoor"&gt;&lt;/LI-USER&gt; , You can define the function in Personalization block and store the value of function in variable and then this variable will be printed in the HTML.</description>
      <pubDate>Thu, 05 Nov 2020 09:14:18 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386354#M1461</guid>
      <dc:creator>Manoj_Kumar_</dc:creator>
      <dc:date>2020-11-05T09:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386496#M1462</link>
      <description>&lt;LI-USER uid="2237655" login="manoj"&gt;&lt;/LI-USER&gt;</description>
      <pubDate>Thu, 05 Nov 2020 23:09:04 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386496#M1462</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-05T23:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386497#M1463</link>
      <description>is this going to work: &amp;lt;%= rtEvent.ctx.firstName.@value %&amp;gt; &amp;amp;lt;script&amp;amp;gt;&amp;lt;%@ include view='toSmartCase'%&amp;gt;; document.getElementById("firstName").innerHTML = toSmartCase(); &amp;amp;lt;/script&amp;amp;gt;</description>
      <pubDate>Thu, 05 Nov 2020 23:09:32 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/386497#M1463</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-05T23:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/387086#M1464</link>
      <description>Hi &lt;LI-USER uid="16614846" login="_Manoj_Kumar"&gt;&lt;/LI-USER&gt;, Could you please look further into this query? Thanks!</description>
      <pubDate>Wed, 11 Nov 2020 09:12:40 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/387086#M1464</guid>
      <dc:creator>Sukrity_Wadhwa</dc:creator>
      <dc:date>2020-11-11T09:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/387092#M1465</link>
      <description>&lt;LI-USER uid="17383105" login="kkoor"&gt;&lt;/LI-USER&gt;, Try this&amp;lt;%@ include view='toSmartCase'%&amp;gt; &amp;lt;% var FirstName=rtEvent.ctx.firstName.@value %&amp;gt; &amp;lt;%= FirstName.toSmartCase(); %&amp;gt;</description>
      <pubDate>Wed, 11 Nov 2020 09:30:28 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/387092#M1465</guid>
      <dc:creator>Manoj_Kumar_</dc:creator>
      <dc:date>2020-11-11T09:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/387267#M1466</link>
      <description>&lt;LI-USER uid="2237655" login="manoj"&gt;&lt;/LI-USER&gt; Thank you, but it's not working either.</description>
      <pubDate>Wed, 11 Nov 2020 23:41:09 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/387267#M1466</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-11T23:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388106#M1467</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the confusing thing here is the person answering previously is making the assumption that you have a custom personalisation block on your instance called "toSmartCase" which is likely not available on your installation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What they have done is created a personalisation block external to the template called "toSmartCase" which contains some custom javascript function .toSmartCase().&amp;nbsp; They are then asking you to include this and it does not exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 solutions for you and you can test this in any template MKT or RT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!--&amp;nbsp; This section is just to fake up the rtEvent variable as you have documented in your support ticket --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;var rtEvent = &amp;lt;rtEvent&amp;gt;&amp;lt;ctx&amp;gt;&amp;lt;firstName value="paul sheppard"/&amp;gt;&amp;lt;/ctx&amp;gt;&amp;lt;/rtEvent&amp;gt;;&lt;/P&gt;&lt;P&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!--&lt;/P&gt;&lt;P&gt;This section is some javascript to add a &amp;lt;string&amp;gt;.toProperCase() function to all strings in the template.&lt;/P&gt;&lt;P&gt;You can exteneralise this if required, but you would have to add it to a personalition block, and then include it.&lt;/P&gt;&lt;P&gt;I would suggestion for now just to add it to your template.&lt;/P&gt;&lt;P&gt;--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;%&lt;/P&gt;&lt;P&gt;String.prototype.toProperCase = function() {&lt;BR /&gt;var words = this.split(' ');&lt;BR /&gt;var results = [];&lt;BR /&gt;for (var i = 0; i &amp;lt; words.length; i++) {&lt;BR /&gt;var letter = words[i].charAt(0).toUpperCase();&lt;BR /&gt;results.push(letter + words[i].slice(1));&lt;BR /&gt;}&lt;BR /&gt;return results.join(' ');&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;%&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- This first one is a simple version to captialise the first letter of a variable and does not need the toProperCase() function, if this is enough for you, then just use this.--&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;&amp;lt;%= rtEvent.ctx.firstName.@value.substring(0,1).toUpperCase()+rtEvent.ctx.firstName.@value.substring(1,100).toLowerCase() %&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- This second example use the previous toProperCase function and will smart case the whole string --&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;&amp;lt;%= rtEvent.ctx.firstName.@value.toProperCase() %&amp;gt;&amp;lt;/p&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 17:55:31 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388106#M1467</guid>
      <dc:creator>psheppar</dc:creator>
      <dc:date>2020-11-18T17:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388141#M1468</link>
      <description>&lt;LI-USER uid="11072823" login="psheppar"&gt;&lt;/LI-USER&gt;, This works. Thank you. There's only one thing, when someone has a name such as Marie Ann, then ann is in lowercase. Is it possible to have each word as ProperCase? I try to change it, but it doesn't seem to pick up the changes. Any thoughts. Thank you so much.</description>
      <pubDate>Wed, 18 Nov 2020 23:01:57 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388141#M1468</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-18T23:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388149#M1469</link>
      <description>You will need to add the toProperCase() to your template body as shown, then use the second example to implement, this should propercase as you require</description>
      <pubDate>Thu, 19 Nov 2020 00:07:38 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388149#M1469</guid>
      <dc:creator>psheppar</dc:creator>
      <dc:date>2020-11-19T00:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388154#M1470</link>
      <description>&lt;LI-USER uid="11072823" login="psheppar"&gt;&lt;/LI-USER&gt;, this is really strange. So it works when you look at your email in PREVIEW with personalization. Then it uses ProperCase, however, at the time of send, the personalization is still in the format as the RT data was pushed to Adobe. During a real send the personalization does not change. This is strange.</description>
      <pubDate>Thu, 19 Nov 2020 02:31:54 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388154#M1470</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-19T02:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388190#M1471</link>
      <description>&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&amp;gt; &amp;lt;HTML&amp;gt;&amp;lt;HEAD&amp;gt; &amp;lt;/HEAD&amp;gt; &amp;lt;BODY&amp;gt; &amp;lt;P&amp;gt;POC Proper Case Test&amp;lt;/P&amp;gt; &amp;lt;% String.prototype.toProperCase = function() { var words = this.split(' '); var results = []; for (var i = 0; i &amp;lt; words.length; i++) { var letter = words[i].charAt(0).toUpperCase(); results.push(letter + words[i].slice(1)); } return results.join(' '); }; %&amp;gt; &amp;lt;p&amp;gt;&amp;lt;%= rtEvent.ctx.firstName.@value.substring(0,1).toUpperCase()+rtEvent.ctx.firstName.@value.substring(1,100).toLowerCase() %&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;p&amp;gt;&amp;lt;%= rtEvent.ctx.firstName.@value.toProperCase() %&amp;gt;&amp;lt;/p&amp;gt; &amp;lt;/BODY&amp;gt;&amp;lt;/HTML&amp;gt;</description>
      <pubDate>Thu, 19 Nov 2020 09:28:53 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388190#M1471</guid>
      <dc:creator>psheppar</dc:creator>
      <dc:date>2020-11-19T09:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388191#M1472</link>
      <description>I have just execute the above template, With the following event body and it worked as expected: &amp;lt;ctx&amp;gt; &amp;lt;firstName value="Paul Sheppard"/&amp;gt; &amp;lt;/ctx&amp;gt;</description>
      <pubDate>Thu, 19 Nov 2020 09:29:53 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388191#M1472</guid>
      <dc:creator>psheppar</dc:creator>
      <dc:date>2020-11-19T09:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Smartcase use in Transactional messages</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388459#M1473</link>
      <description>&lt;LI-USER uid="11072823" login="psheppar"&gt;&lt;/LI-USER&gt;, made one small change so that it also works when someone writes its name in all uppercases. Works like a charm now. Thank you so much. String.prototype.toProperCase = function() { var words = this.split(' '); var results = []; for (var i = 0; i &amp;lt; words.length; i++) { var letter = words[i].charAt(0).toUpperCase(); var letters = ""; if(words[i].length &amp;gt; 1) { letters = words[i].slice(1).toLowerCase(); } results.push(letter + letters); } return results.join(' '); };</description>
      <pubDate>Mon, 23 Nov 2020 01:49:24 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-campaign-classic-questions/smartcase-use-in-transactional-messages/m-p/388459#M1473</guid>
      <dc:creator>kkoor</dc:creator>
      <dc:date>2020-11-23T01:49:24Z</dc:date>
    </item>
  </channel>
</rss>

