Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

kkoor
Community profile kkoor Level 2
Job title here
Location here
4 BADGES
Level 2

Level 2

Learn more
Joined the community 25-10-2020 5:20:16 PM
Offline
Top badges earned by kkoor
Customize the badges you want to showcase on your profile
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
@psheppar, 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 < words.length; i++) { var letter = words[i].charAt(0).toUpperCase(); var letters = ""; if(words[i].length > 1) { letters = words[i].slice(1).toLowerCase(); } results.push(letter + letters); } return results.join(' '); };

Views

448

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
@psheppar, 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.

Views

488

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
@psheppar, 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.

Views

502

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
@manoj Thank you, but it's not working either.

Views

479

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
is this going to work: <%= rtEvent.ctx.firstName.@value %> <script><%@ include view='toSmartCase'%>; document.getElementById("firstName").innerHTML = toSmartCase(); </script>

Views

522

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
@manoj

Views

523

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
Thank you @Sukrity_Wadhwa

Views

554

Likes

0

Replies

0
Re: Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
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: <%= .toSmartCase() + rtEvent.ctx.firstName.@value %> (note it's for transactional (in commercial campaigns I see the functions, but not in transactional) Or do I need to add it in a script??

Views

597

Likes

0

Replies

0
Smartcase use in Transactional messages
Avatar
Give Back 5
Level 2
kkoor
Level 2

Likes

0 likes

Total Posts

9 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
kkoor
- Adobe Campaign Classic
Hi, 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 <%= rtEvent.ctx.firstName.@value %>

Views

733

Likes

0

Replies

17
Likes given to