Profile attribute - Value Appends | Community
Skip to main content
New Participant
January 13, 2022
Solved

Profile attribute - Value Appends

  • January 13, 2022
  • 1 reply
  • 1126 views

Hi,

 

As per my understanding, profile attribute will replace the old value and keep only the most recent ones. Is there any way to append old with new values. for eg:

day1, we display banner1 and user not interested then captures the value in new profile attribute profile.exclusion = "banner1clicked"

on day2, we display banner and user not interested then captures the banner 2 value in new profile attribute profile.exclusion = "banner2clicked". With this, it will replace the day1 value instead of appending. But, i'm looking profile.exclusion = "banner1clicked,banner2clicked" so that we can apply this profile attribute in the exclusion to avoid showing these banner when user logs in next time.

 

Any thoughts?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by alexbishop

Yes you can do this, but you would pass the value as an mbox parameter and then use a profile script, which would create a profile attribute which each new value would be appended to. In the example below, there is an mbox parameter called "append"; if it's not the first value my appendScript profile attribute has received, then it will be appended to the existing string, separated by a comma.  

 

 

1 reply

alexbishop
alexbishopAccepted solution
Employee
March 23, 2023

Yes you can do this, but you would pass the value as an mbox parameter and then use a profile script, which would create a profile attribute which each new value would be appended to. In the example below, there is an mbox parameter called "append"; if it's not the first value my appendScript profile attribute has received, then it will be appended to the existing string, separated by a comma.