Expand my Community achievements bar.

Adobe Campaign User Groups are live now. Join our Adobe Campaign User Groups and connect with your local leaders!

Enabling the loadLibrary() function into a delivery activity

Avatar

Level 3

7/19/22

Description - Simple but useful, enabling the loadLibrary() function into a delivery activity

 

Why is this feature important to you - I have a JS code that is included in a JS library, I need to use some functions of that library within different delivery activities, so allowing the loadLibrary() function into the delivery activity avoids having to write the same code in each deliver (I have more than 100) over and over. 

 

How would you like the feature to work - with this allowed function I can reuse the JS library across multiple delivery activities.

 

Current Behaviour - JS compilation Error, the loadLibrary function is not allowed.

1 Comment

Avatar

Community Advisor

7/19/22

hi @israel_sanchez 

 

You can use your as a perso block or as a typology rules

Here is an example where I'm using an AES Library in my delivery to encrypt some data.

 

DavidKangni_0-1658260625802.png

Thanks,

David