Skip to Content
avatar image
Former Member

is it possible to import external libraries to xsjs or xsjslib files?

I'm new to xsjs and xsjslib and my task seems to involve using xsjs files and possibly xsjslib files too. Here is the app I'm building: A user enters some inputs on the front end, clicks a button and a job gets scheduled to run later in the day. The job is to take those inputs, make a call to a calculation view which will retrieve some data and store it as an excel file. My problem is that based on all the examples I've seen I have to use an xsjs file that the xsjob can call. But from my very little experience with xsjs there are many limitations to what I can do with it. For one, I can't find a way to import external libraries. In an SAPUI5 app I can have a controller and at the top I can define the dependencies like: sap.ui.define(['path/to/library/', function(library){ ...}

How can I do something like this with an xsjs or xsjslib file so I can import my excel library?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jun 09, 2017 at 04:58 AM
    -3
    Add comment
    10|10000 characters needed characters exceeded