Cool way to detect if someone is registered for any event.
I got this from Noah with our TR mobile app project. I would have done this in a way dumber way.
[[?[[T12:[[S39:0*#000000*10pt*true*1*0*0*Events:true::::]]]]:: href=::::T]]
[[S39:0*#000000*10pt*true*1*0*0*Events:true::::]] <-- Generates a list widget of the TR events the user is registered for. In this case with a maximum of 1 entry. That's all we need.
[[T12]] <-- Converts the widget html into lower case.
[[? ... href=::::T]] <-- Looks for any occurrence of an href link to an event in the widget html.
Using S39 - something that generates a widget that would usually be displayed on a page - in the context of a conditional like this is the cool bit.
BPM
[[?[[T12:[[S39:0*#000000*10pt*true*1*0*0*Events:true::::]]]]:: href=::::T]]
[[S39:0*#000000*10pt*true*1*0*0*Events:true::::]] <-- Generates a list widget of the TR events the user is registered for. In this case with a maximum of 1 entry. That's all we need.
[[T12]] <-- Converts the widget html into lower case.
[[? ... href=::::T]] <-- Looks for any occurrence of an href link to an event in the widget html.
Using S39 - something that generates a widget that would usually be displayed on a page - in the context of a conditional like this is the cool bit.
BPM
Tagged:
1
Categories
- All Categories
- 6 Blackbaud Community Help
- 211 bbcon®
- 1.4K Blackbaud Altru®
- 396 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 360 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 650 Blackbaud Grantmaking™
- 568 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 937 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.5K Blackbaud Raiser's Edge NXT®
- 3.7K SKY Developer
- 248 ResearchPoint™
- 119 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 239 The Tap (Just for Fun)
- 34 Blackbaud Community Challenges
- 31 PowerUp Challenges
- 3 (Open) 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
- 785 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)