Skip to main content
Adobe Employee
Dec 15, 2023 7:22 PM UTC
Solved

Referencing Program Membership Data from Velocity Script in a Different Program

Hi All, 

I am trying to reference an CID value stored in Program Membership Data in velocity script, from another Program.

 

Essentially, we have a CID "controller" default program, we are setting the values in a Program Membership field. This will used to set the CID value globally. In email default programs, I want to populate content, based on the "controller"s Program Membership CID value. 

 

I am struggling to understand if I can specify the program id, where the pmCampaignId is set.

 

##Set field variables #set ( $recentcampaignid = $member.pmCampaignId )
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Dec 15, 2023 8:29 PM UTC

The {{member.}} context is always the current Program. This is true outside Velocity as well!

 

I would venture that if there’s one central Program it’s not substantively different from setting Person fields. The idea of PMCFs is the one-to-many relationship.

2 replies

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Dec 15, 2023 8:29 PM UTC

The {{member.}} context is always the current Program. This is true outside Velocity as well!

 

I would venture that if there’s one central Program it’s not substantively different from setting Person fields. The idea of PMCFs is the one-to-many relationship.

Translate
lsimonAdobe EmployeeAuthor
Adobe Employee
Dec 15, 2023 8:56 PM UTC

Thanks @sanfordwhiteman Yeah, I will resort to a person field!

Translate