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
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • 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
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

History set using the ‘Parameter’ class of SLProtocolExt

Solved894 views20th October 2023
3
Tobe Deprez [SLC] [DevOps Advocate]894 20th October 2023 1 Comment

I am currently writing a protocol that needs to do a history set on a certain parameter in a QAction. I'm currently doing that by calling

protocol.SetParameter(1, value, time);

However, if I validate my code in DIS, I get the following warning

I found on the DataMiner docs (more specifically here) that if I would want to do a normal set, I could do

protocol.ParameterName = value;

Is there something similar for setting a history value?

Tobe Deprez [SLC] [DevOps Advocate] Selected answer as best 20th October 2023
Michiel Oda [SLC] [DevOps Enabler] commented 20th October 2023

With the info icon on the error message in DIS, you can find some extra details. I’ll have a look to update this in DIS (for the next version) so that it’s more clear what is meant with the ‘Parameter’ class.

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Tom Waterbley [SLC] [DevOps Catalyst]8.93K Posted 20th October 2023 0 Comments

Hi Tobe,

A history set, without using the hardcoded parameter ID, can be done as follows:

protocol.SetParameter(Parameter.ParameterName, value, time);

Tobe Deprez [SLC] [DevOps Advocate] Selected answer as best 20th October 2023
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