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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book your Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

DIS Validator reports Code 2.37.9 Invalid value ‘read’ for ‘togglebutton’ in protocol.xml

34 views6 hours agoConnector DIS Validator togglebutton
0
Anderson Kebba [DevOps Enabler]228 7 hours ago 0 Comments

Hello,

I am getting Code 2.37.9 Invalid value 'read' in Param/Type for 'togglebutton' from the DIS Validator. According to https://skylinecommunications.github.io/Skyline.DataMiner.CICD.Validators/checks/Validator/Protocol/Params/Param/Measurement/Type/CheckTypeTag/Validator_2_37_9.html this should be set to 'write' or 'writebit'.

I have read and write Params for each togglebutton, for example in the screenshot, Param ID 44 is the setter for Param ID 43.

DIS Validator however reports that Param/Type>read</Type is an invalid value for Param ID 43.

A Param of Measurement/Type togglebutton with Param/Type 'write' is also considered invalid if the read parameter is missing. For your information, I did add these togglebuttons using the Snippet Wizard.

What am I missing?

Thanks for the support!

Laurens Moutton [SLC] [DevOps Enabler] Answered question 6 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Laurens Moutton [SLC] [DevOps Enabler]9.91K Posted 6 hours ago 3 Comments

Hi,

A togglebutton type is only intended for a write parameter. The read parameter should have the measurement type discreet. Both read and write parameters are linked together because the value needs to be able to 'toggle' e.g., swich between values "Enabled" and "Disabled". A write parameter of measurement type togglebutton without a matching read parameter will not work because the read parameter value is needed.

Regards,

Laurens Moutton [SLC] [DevOps Enabler] Edited comment 6 hours ago
Anderson Kebba [DevOps Enabler] commented 6 hours ago

Hi Laurens,

Do you mean something of the sort
<Param id="43">
<Name>AuthScopesInUse</Name>
<Description>Include in Request (AuthScopes)</Description>
<Type>read</Type>
…..
<Measurement>
<Type>discreet</Type>
</Measurement>
</Param>
<Param id="44" setter="true">
<Name>AuthScopesInUse</Name>
<Description>Include in Request (AuthScopes)</Description>
<Type>write</Type>
…..
<Measurement>
<Type>togglebutton</Type>
</Measurement>
</Param>

Anderson Kebba [DevOps Enabler] commented 6 hours ago

Hi Laurens,

just tried it out and indeed the Param is valid.
Thanks

Laurens Moutton [SLC] [DevOps Enabler] commented 6 hours ago

The DIS validator is correct. It is mentioning that the read parameter has the measurement type togglebutton, which is only intended for write parameters. The measurement type of the read parameter should be discreet. An example of read and write parameter syntax with a togglebutton can be found here: https://docs.dataminer.services/develop/devguide/Connector/UIComponentsToggleButton.html

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

© 2026 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