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 SRM Custom Property inside of DTR Script

Solved121 views20th November 2023DTR SRM
1
Stacey Van Colen [SLC] [DevOps Advocate]2.14K 17th November 2023 0 Comments

Hi Dojo,

I would like retrieve the values from my Custom Properties, which were assigned in the "srm_createnewbooking" script on the "Custom Properties List" screen, inside of my DTR Script.

Would this data be available inside of a "SrmBookingConfiguration" object which I instantiate as followed?

var srmBooking = new SrmBookingConfiguration(inputData.ReservationInstanceId, inputData.BookingManagerInfo, engine);

Thanks in advance!

Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 20th November 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Jorge Dias [SLC] [DevOps Enabler]2.97K Posted 20th November 2023 0 Comments

Hi Stacey,

You can use srmBooking.Reservation.TryGetPropertyValue("Property Name", out string value);

Stacey Van Colen [SLC] [DevOps Advocate] Selected answer as best 20th November 2023
Please login to be able to comment or post an answer.

My Dojo Points

0 Credits
0 Reputation

Question Tag Cloud

adl2099 (59) Alarm Console (55) alarms (73) alarm template (63) Automation (155) automation scipt (74) Automation script (105) backup (55) C++ (40) Cassandra (150) cloud (38) Connector (48) Correlation (42) Cube (120) Dashboard (142) Dashboards (142) database (67) DataMiner Cube (42) DIS (57) DMS (49) DOM (82) driver (52) DVE (45) Elastic (76) Elasticsearch (100) elements (53) Failover (91) GQI (65) HTTP (50) IDP (59) low code app (82) low code apps (50) lowcodeapps (39) MySQL (52) protocol (153) QAction (61) resources (36) security (74) SNMP (61) SRM (287) SRM resources (39) trending (70) upgrade (48) Visio (395) Visual Overview (302)
Privacy Policy • Terms & Conditions • Contact

© 2023 Skyline Communications. All rights reserved.

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