How to Use Java functions in Personlization blocks

asktam1410

17-10-2019

I would like to understand is there anyway to use Java functions in personlization blocks.

Example:- ( length(targetData.filed1) > 0 ) { 'Message A'} 

Accepted Solutions (1)

Accepted Solutions (1)

asktam1410

17-10-2019

discovered the option.

<%

  var myURL = targetData.UrlLinks;

  var url_length = myURL.length;

%>

<% if ( url_length > 0 ) { %><%@ include view='TestLink' %><% } %>