bryantchang

bryantchang

Contact Me
Online Status
Offline
Date Last Visited
‎08-12-2025 01:41 PM
Level 2
Joined the community 12-10-2021
Rank Icon Level 2
  • solved badge Re: Return Last 4 months using velocity

    Thanks @SanfordWhiteman !Working as expected!

    image_type
    Discussions
    1509 0 0
  • solved badge Re: Return Last 4 months using velocity

    Thanks Sanford,When I use the following,#set( $calNow = $date.getCalendar() )#set( $calConst = $field.in($calNow) )#set( $monthOffsets = [] )#foreach( $offset in [0..-4] )#set( $void = $calNow.add($calConst.MONTH, $offset) )#set( $void = $monthOffsets.add( $date.format("MMM", $calNow) ) )#endCurrent...

    image_type
    Discussions
    1563 0 3
  • solved badge Return Last 4 months using velocity

    Trying to return current month + last 4 months in 3 letter abbreviation using velocity.This is what I have, but I'm sure there's a better way? 😅 #set( $calNow = $date.getCalendar() )#set( $calNowMinus1 = $date.getCalendar() )#set( $calNowMinus2 = $date.getCalendar() )#set( $calNowMinus3 = $date.get...

    image_type
    Discussions
    1592 0 5
  • solved badge Re: API To Update Email Content via Snippet Vs Custom Object + Velocit...

    Thanks for the clarification.Are you able to use segments in the script itself?Any good articles or documentation on using segments & velocity?My assumption on the limitations were based on needing to apply segmentations separately.Here is my use case,SegmentsRegistered member of community and subsc...

    image_type
    Discussions
    1242 0 1
  • solved badge API To Update Email Content via Snippet Vs Custom Object + Velocity Sc...

    Is there any guidance on when to use API to Update Snippet Dynamic Content vs Update Custom Object + Velocity when it comes to creating & personalizing emails? Some things that I have noticed for both approaches,Update Snippet Dynamic ContentPros - Can update snippet content directly used in emailsC...

    image_type
    Discussions
    1268 0 3
  • Re: Need some help with velocity scripting math

    Thanks @SanfordWhiteman . I’ll try my best to rephrase as a question 😉 A) Custom Object data modelCustom Object: TopicsField 1: Total TopicsField 2: Topic #1Field 3: Topic #2Field 4: Topic #3 Example RecordTotal Topics: 10Topic #1: 5Topic #2: 3Topic #3: 2 B) Business Requirement How can I render th...

    image_type
    Discussions
    1527 0 1
  • Need some help with velocity scripting math

    learning some velocity scripting and having some issues rendering.this is what i have.#if (${topics_cList.get(0).topics_Total} > 0 )#set( $topic1Percent = $math.div(${topics_cList.get(0).topic1}, ${topics_cList.get(0).topics_Total}) )#set( $topics2Percent = $math.div(${topics_cList.get(0).topic2}, $...

    image_type
    Discussions
    1553 0 3
  • solved badge Can you use executable campaign from program status change?

    Playing around with Executable Campaigns.Are you able to use Executable to change parent program status? Trying to create an executable campaign for web form fill campaigns.When I pull in 'change program status' and try to use Program = {{program.id}} or {{program.name}} and try to paste "Filled Out...

    image_type
    Discussions
    1055 0 1

Top Badges Earned

Customize up to 8 badges at the top of your trophy case for all other Community members to see!Customize up to 8 badges at the top of your trophy case for all other Community members to see!
  • Give Back 3 Give Back 3 Earned on 8.14.24 Earned by 1979 people Select to learn more
  • Ignite 3 Ignite 3 Earned on 12.13.23 Earned by 1175 people Select to learn more
  • Shape 1 Shape 1 Earned on 10.24.23 Earned by 836 people Select to learn more
  • Seeker Seeker Earned on 6.29.22 Earned by 681 people Select to learn more
  • Give Back 1 Give Back 1 Earned on 6.29.22 Earned by 4372 people Select to learn more
  • Validate 1 Validate 1 Earned on 2.07.22 Earned by 687 people Select to learn more
  • Ignite 1 Ignite 1 Earned on 2.07.22 Earned by 4272 people Select to learn more
  • Engage 1 Engage 1 Earned on 1.19.22 Earned by 834 people Select to learn more
Public Statistics
Date Registered ‎10-12-2021 11:31 AM
Date Last Visited ‎08-12-2025 01:41 PM
Total Messages Posted 10
Likes given to