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
    • 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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Issue with Script Output

Solved609 views7th August 2024AddScriptOutput lowcodeapps
2
Ross Elliott [DevOps Advocate]819 6th August 2024 0 Comments

Hi, I can’t seem to get a script output into my Low Code app. I’m following dynamically inject the output of the script. and looking at previous answer Feed Output text from Automation Script to Text Input – DataMiner Dojo but I can’t get it to work. It’s working fine when triggering from Visio in Cube.

I have the following in my script

In my app Button 1 triggers the script from within page scriptOutput but the HTML box in the app isn’t recognising the HTML code.

Ross Elliott [DevOps Advocate] Selected answer as best 7th August 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Wout Mahieu [SLC] [DevOps Catalyst]7.54K Posted 6th August 2024 2 Comments

Hi Ross,

Looking at the screenshot you provided of the LCA, I notice that there is no highlighting in the HTML input and that the Web component shows the feed link as plaintext. Could it be that you are running a DataMiner version < 10.3.0 [CU14]/10.4.0 [CU2]/10.4.5? The feed linking feature is not available in older versions of DataMiner. You can check this by clicking your user icon > about > web version.

Ross Elliott [DevOps Advocate] Selected answer as best 7th August 2024
Ross Elliott [DevOps Advocate] commented 6th August 2024

Hi, yes I should have added we’re on 10.3.12 (CU0)

Wout Mahieu [SLC] [DevOps Catalyst] commented 6th August 2024

Hi Ross, 10.3.12[CU0] does not include this feature. It is available from the versions mentioned in my answer (10.3.12[CU0] is older than 10.3.0[CU14])

0
Ross Elliott [DevOps Advocate]819 Posted 6th August 2024 6 Comments

Great thanks, I’ve just added a script to a system running the supported version with simply the following;

engine.AddScriptOutput(UIVariables.VisualOverview.CreateKey(“MyOutput”), “Working”);

Should this now be working because it’s not populating anything?

Ross Elliott [DevOps Advocate] Edited comment 7th August 2024
Wout Mahieu [SLC] [DevOps Catalyst] commented 7th August 2024

Hi Ross,
The feed linking feature looks available now. The issue you are probably having now is that you are setting the script output incorrectly. The code should be: ‘engine.AddScriptOutput(KEY, VALUE)’ where the KEY should be the last part of the feed link (here ‘MyOutput’) and VALUE should be the desired value. In your setup the key is not ‘MyOutput’, but ‘UI.VO.MyOutput’ because of the CreateKey call.

Ross Elliott [DevOps Advocate] commented 7th August 2024

Will try, thanks you for all the help!

Ross Elliott [DevOps Advocate] commented 7th August 2024

Is there any more documentation on the possible variables for all of this feature? I don’t think I would have come to find adding UI.VO. on my own, thanks again!

Wout Mahieu [SLC] [DevOps Catalyst] commented 7th August 2024

Hi Ross,
The ‘UI.VO.’ prefix comes from your code itself, it is not related to the script output or feed linking features. The method used to add a script output expects 2 string values, it does not modify them (https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.IEngine.AddScriptOutput.html?q=addscriptoutput). Your prefix was added because you used the result of ‘UIVariables.VisualOverview.CreateKey(“MyOutput”)’ as a key, resulting in ‘UI.VO.MyOutput’.

Ross Elliott [DevOps Advocate] commented 7th August 2024

Thanks, that all makes sense.
I’ve noticed in Cube when I output a string builder using this method it keeps the formatting, particularly, it retains the n I have for new lines. In the LCA this info isn’t held and it dumps all of my output into one long string. Do you know of a way to keep the format in the LCA web component?

Show 1 more comments
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