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
    • 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
    • Tutorials
    • 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
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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

Best way to update a visual overview by another user?

Solved903 views25th March 2022Automation Visual Overview
0
Robin Becker [DevOps Advocate]1.40K 24th March 2022 2 Comments

We have two views with separate visual overviews: an admin view and and a user view. The admin sets a value that is then used in the user visual overview to fetch data via a script. The views are used simultaneously but by different users and on different clients. I'm looking for what the best implementation would be for the admin to update the value and have it be updated "live" (and persistent) on the user visual overview (triggering an automation script which takes the value as a parameter).

A memory file is persistent and accessible by both view trough scripts but it can't be actively monitored in the way an element parameter would be. I haven't found a way to set a Property on a view programmatically. Creating an entire protocol and an element from that protocol just to set a value seems like a bit of an overkill.

What's the best approach?

Robin Becker [DevOps Advocate] Selected answer as best 25th March 2022
Joey Vanhalst [SLC] [DevOps Advocate] commented 24th March 2022

Hi Robin,

I don’t fully understand what you are trying to achieve. With views in this case, you are talking about views in the surveyor and a user only has access to his own user view? Could you clarify what value you are exactly setting?

Robin Becker [DevOps Advocate] commented 24th March 2022

Sorry for being a bit unclear. By view I mean visual overview. I’ve updated my post for clarification.
The value I’m setting is just a string value used in an automation script to fetch data from a specific row in a memory file.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Joey Vanhalst [SLC] [DevOps Advocate]1.80K Posted 24th March 2022 1 Comment

Hi Robin,

If I understand correctly, a value needs to be used when triggering a script from a Visual Overview linked to a user view. This value can be updated by another script that is triggered from another admin view.

As these Visual Overview are linked to view, the best option will be to use a property defined on the user view to store (and update) the value that needs to be used. This can be done programmatically from a script, but required the use of the DIS Class Library as this is not available in the standard Engine object. More info on using the Class Library in Automation scripts can be found in this video (from the Automation course).

The code to update a property using the Class Libary would be something like this (with the necessary exception handling):

var dms = engine.GetDms();
var userView = dms.GetView("myUserView");
var valueProperty = (IWritableProperty)userView.Properties["myValuePropertyName"];
valueProperty.Value = "newValue";
userView.Update();

Robin Becker [DevOps Advocate] Selected answer as best 25th March 2022
Robin Becker [DevOps Advocate] commented 25th March 2022

Just what I was looking for, just didn’t look trough the documentation thoroughly enough I guess.

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

Recent questions

Alarm Dashboard PDF/CSV Export 1 Answer | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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