I have been able to find a couple of similar posts, which are really old and didn't really provided an answer, so asking it here:
Im trying to setup some testing within a XS project. We already make use of XSUnit, but I wanna add some stuff outside of those functionalities. I have found a library in sap.hana.xs.lm.js which should be able to convert xml's to Json format. (xmlHandler). However, when I try to import this in inside my script, i get an error:
Error: import: failed to load the library
$.import('sap.hana.xs.lm.js', 'xmlHandler'); > it fails on this line. What am I overlooking? Is it even possible to import from there and use those libs as part of my xs project? My project is located in a package other than "sap", but that should not be a problem since the xsjslib files also import from sap package.
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.