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
BedrockMission!

Learn More

View all

Sign in to view all badges

Xyborg
Community profile Xyborg Level 1
Owned Media Expert @ Naranja X
Location here
1 BADGE
Level 1

Level 1

Learn more
Joined the community 21-04-2020 11:52:47 AM
Offline
Top badges earned by Xyborg
Customize the badges you want to showcase on your profile
Re: Adding default value when first name personalization...
Avatar
Affirm 1
Level 1
Xyborg
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Xyborg
- Adobe Campaign Standard
I would go with Ramon's solution, but you could use a content block as well. Here is the code of one we have already in place in our ACS: <% // Displays a greeting formula appropriate for the profiles' fields // populated in the database (first name, last name and title) // The following table defines the formula to use in each case // (#0 is replaced with the title, #1 with the first name and #2 with the last name) var aGreetings = // **bleep** Fir Las ['Hello,' , // 'Hello,' , // X 'Hello,' , ...

Views

72

Likes

0

Replies

1
Re: Proper function in ACS
Avatar
Affirm 1
Level 1
Xyborg
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Xyborg
- Adobe Campaign Standard
You could use Smart() inside a workflow:https://experienceleague.adobe.com/docs/campaign-standard/using/managing-processes-and-data/filtering-data/list-of-functions.html?lang=en#stringSmartReturns the string with the first letter of each word in capitalsSmart() In my case, I created the following content block so I would be able to do the same on single shot deliveries:<%=context.profile.firstName.toLowerCase().replace(/(^\w{1})|(\s+\w{1})/g, function(e){return e.toUpperCase();})%> The code shar...

Views

124

Likes

0

Replies

1
Likes given to