Is it possible to create a new folder inside a Network-Drive from a BO?

  • Alex K
        Has 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äfner
          Has 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 Certification
          Has successfully completed the Advanced Certification
        1 year ago #36550
        Up
        0
        Down
        ::

        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:

        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äfner
            Has 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 Certification
            Has successfully completed the Advanced Certification
          1 year ago #36583
          Up
          0
          Down
          ::

          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/

           

        Viewing 3 posts - 1 through 3 (of 3 total)

        You must be logged in to reply to this topic.