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
    • Tutorials
    • 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
      • Converged Interconnect Networks
      • DOCSIS 3.1 / DAA
      • Kubernetes
      • Telemetry / Flow Monitoring
      • PTP
      • SDN / ST2110 / NMOS
    • Business
      • Software Business models
      • Perpetual Use or Usage-based Services
      • Storage as a Service (STaaS)
  • 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

Get custom property in automation

Solved463 views4th September 2023Automation script Custom property
0
Michael Kotsias39 30th August 2023 0 Comments

Hi!

I'd like to read a custom property from a view in an automation script.

I know that it is possible to do that with Element or service.

For example:

Service service = engine.FindService("ServiceName");
service.GetPropertyValue("propertyName");

but does anybody know how to get a property of a view? Unfortunatly nothing found in docs.

Thanks in advance

Marieke Goethals [SLC] [DevOps Enabler] Selected answer as best 4th September 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Jens Vandewalle [SLC] [DevOps Enabler]7.99K Posted 30th August 2023 0 Comments

Hi Michael,

You can achieve this by using the Class Library:

IDms myDms = engine.GetDms();
IDmsView myView = myDms.GetView("my View Name");
IDmsViewProperty myProperty = myView.Properties.SingleOrDefault(x => x.Definition.Name == "property name");

Marieke Goethals [SLC] [DevOps Enabler] Selected answer as best 4th September 2023
0
Michael Kotsias39 Posted 31st August 2023 0 Comments

Hi Jens,

Thank you for this. I've read in the docs that i have to install the NuGet packets accordingly to be able to import those libraries. I will try that.

Thank you again

Michael Kotsias Answered question 31st August 2023
Please login to be able to comment or post an answer.

My Dojo Points

0 Credits
0 Reputation

Question Tag Cloud

adl2099 (58) Alarm Console (55) alarms (72) alarm template (62) Automation (150) automation scipt (74) Automation script (103) backup (55) C++ (37) Cassandra (149) cloud (38) Connector (48) Correlation (42) Cube (120) Dashboard (142) Dashboards (142) database (67) DataMiner Cube (42) DIS (57) DMS (48) DOM (81) driver (52) DVE (45) Elastic (76) Elasticsearch (100) elements (53) Failover (91) GQI (64) HTTP (50) IDP (59) low code app (81) low code apps (50) lowcodeapps (39) MySQL (52) protocol (153) QAction (61) resources (36) security (74) SNMP (61) SRM (286) SRM resources (39) trending (69) upgrade (47) Visio (392) Visual Overview (301)
Privacy Policy • Terms & Conditions • Contact

© 2023 Skyline Communications. All rights reserved.

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