Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Low code app – Script – prompt a explorer UI to select a directory path

Solved952 views19th July 2023automation scipt low-code
2
Daniela Oliveira [SLC] [DevOps Advocate]356 12th July 2023 0 Comments

Can we prompt an explorer UI from a script executed in a low code app to allow the user to select a directory of their choice? If not, what would be the best option to achiece the below:

User story:
For this case, user will want to use their all-in-one screen to allow multi select of source files or output files, which can be in different stages to restore the selected file to a directory of their choice.

Details:

From low code app the user will select multiple rows of a table displaying dom instances (each of these dom instances correspond to a phisical file in a certain directory – saved in a field of the dom instance). They will be able to multi select all of the files here and do a “Save all Files” action on all of them.

After selecting the multiple files the user can trigger a script that will prompt a file explorer UI that allows the user to select the destination path to where the files should be placed.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Daniela Oliveira [SLC] [DevOps Advocate]356 Posted 12th July 2023 1 Comment

The files should be saved on the device of the user, however in most cases the files to download will not be located in a directory on the server, they will be available in an isilon storage. Will the download work in this case. Or does DataMiner need to be used as a proxy? Meaning : copy file from Isilon to the server directory and then download the file from the server to the client machine?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
Gilles Bara [SLC] [DevOps Enabler] commented 13th July 2023

If you know the location (the url) of the files, you can pass it to the download UI block: https://docs.dataminer.services/develop/devguide/Automation/UIBlockTypesOverview.html#downloadbutton

This will download the file to the download folder specified in the browser settings.

2
Gilles Bara [SLC] [DevOps Enabler]6.80K Posted 12th July 2023 0 Comments

It’s not entirely clear to me where you want to store the files. Somewhere on the agent? Or on the device of the end user?

If you want to save the files on a directory on the server, I would suggest the Treeview control. There you can inject alle the possible directories the user can save the files to from within your script. Just traverse your system paths and insert them as TreeViewItem in the control.

If you want to save it on the device of the user, then you have not much control over this. The web browser has no access to the file system of the client. This would be a severe security breach if that would be possible. It will be downloaded to the default download location defined in the browser settings, you cannot override this from the script.

Gilles Bara [SLC] [DevOps Enabler] Answered question 12th July 2023
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs