How to get offer title and textcontent in Javascript Activiy?

yueminspb

27-09-2020

Hi Teams,

We have defined some Campaign Offers, but we want to get the title and text content of a offer in the javaScript activity node during a workflow. Please show me how to do this, thanks very much

Accepted Solutions (1)

Accepted Solutions (1)

wodnicki

MVP

07-10-2020

Hi,

 

Those are tricky, since they're in the data field. I tried adding them to target table without much luck.

Since you're in JS anyway, you can collate all the offer ID's from the target table and make a separate query in JS to exchange for titles and contents. Fields are:

  • Title: [view/shortContent]
  • Text content: [view/textSource]

 

Thanks,

-Jon

Answers (0)