Conditions In LO email subject line
I have what seems like it should be an easy question: We want to conditionalize our subject line. With the out of the box option from LO we can do this: [[S1:first_name:Donor]]. If the constituent has a first name it uses that if not it uses “Donor”. What we want is to first see if the constituent has a nickname (a field in our LO instance [[S1:nickname]]) and if not then show first name. I have tried fiddling with the syntax and can not seem to get it to work. Someone has figured this out already I assume?
Any help would be appreciated.
Comments
-
We've had success using the bracket conditionals in the subject.
For example, if we wanted to use a trail name (custom_string21 in our db), the following would check to see if it is present in the constituent's record--if not, a generic “today” renders, if custom_string21 is present, it renders the trail name.
Heading to a great trail [[?xx::x[[S1:custom_string21]]x::today::like [[S1:custom_string21]]]]?
If not present: “Heading to a great trail today?”
If present: “Heading to a great trail like [TRAILNAME]?”Be sure to test in the email preview mode (within the HTML content step) to test how it will render with different constituents.
--Ryan
1
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 402 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.6K Blackbaud Financial Edge NXT®
- 657 Blackbaud Grantmaking™
- 577 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 941 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.7K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 120 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 240 Member Lounge (Just for Fun)
- 34 Blackbaud Community Challenges
- 37 PowerUp Challenges
- 3 (Open) PowerUp Challenge: Grid View Batch
- 3 (Closed) PowerUp Challenge: Chat for Blackbaud AI
- 3 (Closed) PowerUp Challenge: Data Health
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 796 Community News
- 3K Jobs Board
- 54 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)