Adding additional personalization data in BuildPreviewFromId function

Avatar

Avatar

richac96395021

Avatar

richac96395021

richac96395021

21-08-2019

Hi team,

We are using BuildPreviewFromId function in javascript, please let me know if we can add more personalization like 'targetData.amount' while calling the function. Below is the function definition:-

var res = nms.delivery.BuildPreviewFromId(

  deliveryId,

  <params content="html" filter="@id=1234"/>)

var preview  = res[0]

var queryResult = res[1]

with regards,

Richa Chaubey

View Entire Topic

Avatar

Avatar

richac96395021

Avatar

richac96395021

richac96395021

21-08-2019

Hi Jon,

In the above function definition, how will the target extension attributes will be referred in personalization. For example @amount is part of cus: transactions schema (target extension) and not nms:seedMember schema. How will the preview generate

With regards,

Richa Chaubey