Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

HTML rendering override via SOAP

Avatar

Level 2

Hey guys,

I have a question regarding to the rendering function in offer spaces.

I have a rendering function like follows:

function (shortContent, htmlSource, imageURL) {

     var html = imageURL + " " + shortContent + " " + htmlSource;

     return html;

}

I have an offer filled with all 3 fields:

  • imageURL: test
  • shortContent: desc
  • htmlSource: this is a html

I am trying to get the offer via SOAP using the propositionMethod.

I get the 3 fields back via SOAP like this:

<imageURL>test</imageURL>

<shortContent>desc</....>

but not the rendered hmtl like:

<html>test desc this is a html</html>

How can I get the rendered html as a result in SOAP?

Kind regards,

Tim

0 Replies