Build delivery preview with custom variables
Hello there,
I have scenario wherein I would like to get the (html) preview of a delivery template, find below the snippet I am using to build the preview:
But, the above code fails to generate the html as it was not able to resolve the variables in delivery template. Is there any way to pass the custom variables in the above code?
Have tried passing it through params (<params content="html" filter="@id=280519" myCustomVariable="myCustomValue" />), but it still doesn't resolves. Any help would be much appreciated.
Cheers,
Selva


