Use drag and drop in website, if this doesnt work you can try figuring out how you can do it trough requests.
Reference private npm or local files created outside editor
-
Hello,
I have many files I'll be using across many projects that I'd like to include in BAS. Is there either a way to add private npm packages or reference local files not created in the BAS node.js file editor?
As long as I keep the file names the same can I copy over the js files at C:\Users<USER>\AppData\Roaming\BrowserAutomationStudio\apps\22.1.2\embedded<HASH>\distr\lib?
Thanks,
Jim -
@jimhill21 said in Reference private npm or local files created outside editor:
Hello,
I have many files I'll be using across many projects that I'd like to include in BAS. Is there either a way to add private npm packages or reference local files not created in the BAS node.js file editor?
As long as I keep the file names the same can I copy over the js files at C:\Users<USER>\AppData\Roaming\BrowserAutomationStudio\apps\22.1.2\embedded<HASH>\distr\lib?
Thanks,
JimYou can use standard BAS actions to create\download\copy or move the necessary js files. You can get the current directory of the node js module using the
__dirnamemethod

