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
kkoor
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
9

Discussions

Discussions
0

Questions

Questions
9

Ideas

Ideas
0

Blog Posts

Blog Posts
0
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

518

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

558

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

572

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

549

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

592

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

593

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

624

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

667

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

803

Likes

0

Replies

17
Likes given to