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

Protocol Syntax – Read vs Write Param

Solved1.37K views2nd June 2022parameter protocols
4
Gellynck Jens [SLC]2.71K 2nd June 2022 0 Comments

I need to convert a read parameter to type write, which means allocating an extra parameter id and duplicating the <Param> tag from the read parameter, which feels like some syntactic overhead.

I am probably missing something so I am wondering if it is possible to have a read/write parameter with only 1 <Param> tag, and thus only 1 parameter id? What is the advantage of having to specify two <Param> tags when you want to convert to a write parameter, which basically only adds a setter='true' attribute?

A side effect of the current approach is that you can only display the read parameter in the element card, but this seems purely a visual configuration.

Gellynck Jens [SLC] Selected answer as best 2nd June 2022

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
5
Simon Vandamme [SLC] [DevOps Advocate]942 Posted 2nd June 2022 0 Comments

I would say there are multiple aspect to it.

  1. This makes it easy to define what needs to be displayed where.
    With current approach, we can indeed easily chose to:

    1. display a read-only on page A
    2. display a write-only on page B
    3. display a read-write on page C
  2. This makes it easy to validate a write value in a QAction before copying it to the read value. Someone enters a new value, via the write parameter which triggers a QAction allowing to validate the value and to decide if
    1. the value should be accepted -> copied to the read
    2. the value should be accepted with some tweaking first -> alter the value somehow and copy the result to the read
    3. the value should be rejected -> log or display a popup why the value is rejected
  3. This makes it easy to run different code when the read value changes vs when the write value changes.
    1. When polling from data source, the read param will be altered -> we can trigger QAction A with some logic.
    2. When user changes the value via the UI, the write param will be altered -> we can trigger QAction B with some other logic.
    3. When developer changes the value by other means -> We can chose to apply the value update on the read parameter or on the write parameter depending on the QAction/logic we want to be triggered from it.
      Note that when simply updating a value from a QAction standard set, no QAction will be triggered.
      This is more for when you update a parameter from an action in protocol or from other locations/tools/DataMiner modules...
  4. As mentioned by Jeroen already, it makes it easy to have different possible values in the read and the write parameter. Example:
    1. read parameter allows values from A to Z to be read from the data source.
    2. write parameter allows a user to update the parameter to value A & B only.
  5. The overhead of having to create 2 parameters is, to me, quite neglect-able when using DIS

That being said, all of the above could probably have been achieved in some other ways using only one param and some properties on it. This brings me to the last aspect which is more of a historical aspect which might sound less glorious but is no shame either if you ask me. Some choice had to be made in the early stage of DataMiner, this way was chosen at the start for some reasons and we kept it along the way as, even though we could see this as a bit duplicate work, again, I don't think it's that bad either especially with DIS.

That being said, nothing is written in stone. We could always re-evaluate this. The question then becomes: how far would it really be worth the effort?

Gellynck Jens [SLC] Selected answer as best 2nd June 2022
You are viewing 1 out of 2 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

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