Is it possible to create a new folder inside a Network-Drive from a BO?
-
Alex KHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)1 year ago #36312
In our workflow we need to create folders in certain paths to automate the process.
Is it possible for the Application to invoke an “mkdir” from a BO or something similar to actually create a folder in the network drive?
It technically should work, as the application runs it serverside in a local environment.
Though I cannot find a library except for a node.js “fs” library to do so, but simplifier can’t use that right?
As far as I know Simplifier works with its own custom backend.If that wouldn’t be possible, I will need to custom-write a new Rest-Call in an API, written in Node.
Jennifer HäfnerHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification1 year ago #36550::Hi Alex,
There is no integrated function to create folders on a file system in a BO.
In general, you can include javascript libraries in Simplifier and then use them in your apps/CSBOs. Here is the documentation:
- Including Libraries in Simplifier: https://community.simplifier.io/doc/current-release/extend/integrate-external-libraries/ (and sub-pages)
- Adding them to your Application: https://community.simplifier.io/doc/current-release/applications/create-apps-from-scratch/create-the-userinterface/libraries/
We have not tested the fs library yet, so I cannot say if it will work.
I think it is best to manage the folders via REST API, as you can then use a REST Connector in Simplifier.
Jennifer HäfnerHas successfully completed the online course Intermediate (200)Has successfully completed the online course Advanced (300)Has successfully completed the online course Basics (100)Has successfully completed the online course Advanced (310)Has successfully completed the online course Advanced (320)Has successfully completed the Intermediate CertificationHas successfully completed the Advanced Certification1 year ago #36583::Addition:
You can also use the Simplifier plugin ‘ContentRepository’ to store and access files within a folder hierarchy. This plugin is accessible via Serverside BO, which means you can manages files and folders within Simplifier, with BOs that are available on our marketplace.
This article describes how to handle files on a windows share volume with the ContentRepository: https://community.simplifier.io/knowledge/use-contentrepository-plugin-to-handle-files-from-your-windows-share-volume/
You must be logged in to reply to this topic.