Enabling the loadLibrary() function into a delivery activity | Community
Skip to main content
israel_sanchez
Level 3
July 19, 2022
New

Enabling the loadLibrary() function into a delivery activity

  • July 19, 2022
  • 1 reply
  • 1280 views

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 reply

DavidKangni
Community Advisor
Community Advisor
July 19, 2022

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.

 

Thanks,

David

David Kangni