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
  • Blog
  • Questions
  • Learning
    • Courses
    • Certification
      • DataMiner Operator
      • DataMiner Administrator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
    • Video Library
    • Books We Like
    • Third-party Courses
    • DevOps Enablement Services
    • Quizzes
  • RESOURCES
  • 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)
  • Expert Hubs
    • DataMiner DevOps Professional Program
    • DataMiner
      • DataMiner Releases & Updates
      • System Architecture
      • Integration Studio
      • Visual Overview
      • Security
    • Technologies
      • CI/CD
      • Converged Interconnect Networks
      • DOCSIS 3.1 / DAA
      • Elasticsearch
      • Kubernetes
      • Telemetry / Flow Monitoring
      • PTP
      • SDN / ST2110 / NMOS
    • Business
      • Software Business models
      • Perpetual Use or Usage-based Services
  • Discover
    • Markets
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Solutions
    • Use Case Library
    • DataMiner Dashboards
    • DataMiner Downloads
    • DataMiner Modules
      • Core features
      • SRM features
    • DataMiner Apps
    • Professional Services
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • Pricing
  • More
    • Feature Suggestions
    • Online DataMiner Systems
    • Leaderboard
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
    • Verify a certificate
  • >> Go to dataminer.services

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

Solved190 views19th July 2023automation scipt low-code
2
Daniela Oliveira [SLC] [DevOps Advocate]125 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 Enabler] Selected answer as best 19th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Daniela Oliveira [SLC] [DevOps Advocate]125 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 Enabler] 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]3.94K 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 Dojo Points

0 Credits
0 Reputation

Question Tag Cloud

adl2099 (54) Alarm Console (53) alarms (69) alarm template (58) API (34) Automation (143) automation scipt (65) Automation script (95) backup (54) Cassandra (141) cloud (36) Connector (44) Correlation (42) Cube (114) Dashboard (134) Dashboards (134) database (64) DataMiner Cube (37) DIS (53) DMS (48) DOM (66) driver (48) DVE (43) Elastic (73) Elasticsearch (99) elements (49) Failover (90) GQI (49) HTTP (45) IDP (54) low code app (68) low code apps (42) MySQL (50) protocol (145) QAction (56) resources (34) security (71) SNMP (55) SRM (266) SRM resources (37) timeout (35) trending (66) upgrade (44) Visio (370) Visual Overview (290)
Privacy Policy • Terms & Conditions • Contact

© 2023 Skyline Communications. All rights reserved.

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin