How to get "Contact Score" in repeater tranformation

Witchayanin Maythangkul asked on May 20, 2015 13:42

How can I get current "Contact Score" in tranformation repeater?

ex: {% OnlineMarketingContext.CurrentContact.GetScore("InterestedInSmartphones") %}

Recent Answers


Petar Kozjak answered on May 20, 2015 14:15 (last edited on May 20, 2015 14:23)

Hi,

what is your transformation type?

This macro will work with Text/XML, for ASPX you need to use this to resolve macro <%= CMS.MacroEngine.MacroResolver.Resolve("{% YOUR MACRO #%}") %>

or call it directly <%# CMS.OnlineMarketing.OnlineMarketingContext.CurrentContact.GetValue("InterestedInSmartphones") %>

1 votesVote for this answer Mark as a Correct answer

Witchayanin Maythangkul answered on May 20, 2015 17:41

Could you have macro to get current contact score activity?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.