Unable to use the loadlibrary() inside the delivery

Accepted Solutions (1)

Accepted Solutions (1)

Amit_Kumar

MVP

15-01-2020

Hi,

Jon recommends a way which will work for you but Personalisation blocks are not designed to include the Js objects in Deliveries. 

You should use the following method to include the Js.

Amit_Kumar_0-1579083359058.png

This will Add your Js object into your execution context similar to what load library does.

 

in delivery you can use something like: 

<% eval( bigint.data ) ; %>

 

Regards,

Amit

Regards,

Amit

 

Answers (1)

Answers (1)

wodnicki

MVP

14-01-2020

Hi,

 

The loadLibrary() function is not available in deliveries.

Copy the desired js into a personalization block and include that, it's pretty much the same.

 

Thanks,

-Jon