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

Using engine.AddScriptOutput()

352 views16th January 2025Automation low code app
3
Ross Elliott [DevOps Advocate]819 15th January 2025 1 Comment

Hi,

I'm using engine.AddScriptOutput(UIVariables.VisualOverview.CreateKey() to output logging to my Low Code App Web component for the user to see progress.

How do I add to the output whilst using the same key? As the script carries out various actions I want to update a string builder and periodically output success and failures of the script for the user. It's fine when outputting in one go at the end, and I could clear the sb and create new keys periodically but I'd rather the output was updated when running.

Wout Mahieu [SLC] [DevOps Catalyst] Answered question 16th January 2025
Ross Elliott [DevOps Advocate] commented 16th January 2025

I've been testing with this more and I'm aware I'm not using it for it's intended purpose. Is there a way to output to a Web component during a script running? I would usually use 'show progress' but ideally I would keep the script running in the background and update the user via the low code app, is there a way to achieve this? Thanks

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Wout Mahieu [SLC] [DevOps Catalyst]7.69K Posted 16th January 2025 1 Comment

Hi Ross,

The output of a script is only available in a LCA when the script is fully done running. If you want to show progress to the user, I would suggest creating an interactive script. This interactive script can update its UI based on other actions that are happening. It is possible to integrate an interactive script in a LCA using an 'Execute a script' action or using the IAS component.

Thomas Ghysbrecht [SLC] [DevOps Enabler] Posted new comment 16th January 2025
Thomas Ghysbrecht [SLC] [DevOps Enabler] commented 16th January 2025

To add to this, you could potentially use the 'Hide UI' feature added in DataMiner version 10.4.7 to hide the interactive window while the script is executing actions that do not need to be shown to the user. When something goes wrong, or the script needs input, you can then just call ShowProgress or ShowUI again to have the pop-up back.

You are viewing 1 out of 1 answers, click here to view all answers.
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

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