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
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

View for automation dummy

Solved998 views21st April 2021
2
Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate]855 21st April 2021 0 Comments

Hi

Is it possible to set a View as a dummy for automation?
How can I change the properties of a View in Script?

Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] Selected answer as best 21st April 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Leander Druwel [SLC] [DevOps Member]2.02K Posted 21st April 2021 4 Comments

Setting a view as a Dummy for an automation script is not possible.

I would recommend to add a parameter to the automation script and pass the view name into that parameter. When using C# code into the automation script, you can easily get the elements from the passed view and loop through them.

Example could be following

Setting properties for a view is not possible from the automation script. Would it maybe be possible to further elaborate on the actual objective of this, and why the property of the view needs to be updated?

Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] Selected answer as best 21st April 2021
Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] commented 21st April 2021

The following questions are relevant.
https://community.dataminer.services/question/how-can-i-store-variable-persistently/

He guided us that the view properties would be the persistent storage for the variables.
Our goal is to have values that do not exist on the device, persistently on the dataminer server.

Leander Druwel [SLC] [DevOps Member] commented 21st April 2021

Storing values into the property of the element is possible from the automation script. That can be achieved with the SetPropertyValue method of the Element class. Not sure if that could also help, instead of storing it on a view?

Leander Druwel [SLC] [DevOps Member] commented 21st April 2021

Would it maybe be possible to further explain what data you would want to store? Maybe there are other alternatives that would have a better fit. Thanks

Yuki Arakawa(3496) 荒川 祐貴 [DevOps Advocate] commented 21st April 2021

The data I want to save is the dataminer status of the device, or group of devices, online or offline.
We are looking for a system that can be switched on the View.
We want to express whether the connection between the Relay truck and the studio passes through the data center or is a direct connection.
That information is not displayed on the device, so the operator enters it manually on the View.

It would be easier to maintain if it could be done with view properties, but it seems difficult.
We will use the properties of the elements.

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