cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Integration Suites javascript load library

kenny_bui
Explorer
0 Kudos
536

Hi Experts,

I am working with SAP Integration Suites Javascript.

I want to load a library (for ex 'lodash') into to be use in my logic. But it is alway show below error when processing the script:

Please help to advice whether i can do that or do we have any solution (for example download the whole js file of it and import into our scipt and resue?)

Thanks

View Entire Topic
CarlosRoggan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi, I'm not familiar here, just guessing if the import statement in line 8 is supported by the javascript runtime version that is running in CPI?

kenny_bui
Explorer
0 Kudos

Hi Carlos,

Thanks for your reponse.

I think i can resolve the issue by copy the needed function of lodash to the script and call locally 😄

Thanks