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
    • 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
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Default value in param

Solved89 views26th June 2025
2
Jose Araujo [DevOps Advocate]813 25th June 2025 0 Comments

Hi,

I have a parameter that is part of a table column and it's configured as a toggle button (with values 0 = Disable and 1 = Enable). I would like this toggle to:

  1. Have a default value of 0 when a new row is created.
  2. Persist its last state (value) after a protocol restart.

I'm not sure where to define the DefaultValue tag for a table column parameter. I couldn't find documentation or a working example that allows me to add the default value for a table column properly.

Could you please confirm how to define a default value for a table column parameter and ensure it retains its last state between restarts?

Thank you!

<Paramid="1804"trending="false"save="true" >

<Name>NetworkTable1AvailableMonitor</Name>

<Description>Monitoring Interface</Description>

<Type>read</Type>

<Information>

<Subtext>.</Subtext>

</Information>

<Alarm>

<Monitored>false</Monitored>

<Normal>Enabled</Normal>

<CH>Disabled</CH>

</Alarm>

<Interprete>

<RawType>numeric text</RawType>

<Type>double</Type>

<LengthType>next param</LengthType>

</Interprete>

<Display>

<RTDisplay>true</RTDisplay>

</Display>

<Measurement>

<Type>discreet</Type>

<Discreets>

<Discreet>

<Display>Enable</Display>

<Value>1</Value>

</Discreet>

<Discreet>

<Display>Disable</Display>

<Value>0</Value>

</Discreet>

</Discreets>

</Measurement>

</Param>

<Paramid="1904"setter="true">

<Name>NetworkTable1AvailableMonitor</Name>

<Description>Monitoring Interface</Description>

<Type>write</Type>

<Interprete>

Jose Araujo [DevOps Advocate] Selected answer as best 26th June 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Jose Araujo [DevOps Advocate]813 Posted 26th June 2025 0 Comments

Hi Joao,

I fix set custom in type:

<ArrayOptionsindex="0">

<ColumnOptionidx="0"pid="1801"type="retrieved"options=""/>

<ColumnOptionidx="1"pid="1802"type="retrieved"options=";save"/>

<ColumnOptionidx="2"pid="1803"type="retrieved"options=";save"/>

<ColumnOptionidx="3"pid="1804"type="custom"options=";save"/>

then save and work ok

Thanks

Jose Araujo [DevOps Advocate] Selected answer as best 26th June 2025
1
João Severino [SLC] [DevOps Catalyst]13.43K Posted 25th June 2025 0 Comments

Hi Jose,

The DefaultValue tag is only compatible with standalone parameters (see note at the bottom of this docs page DefaultValue element | DataMiner Docs) and, as such, will not work for your use case

The only way you have of achieving your goal is to use a QAction to fill in that column's value if none is currently filled in, and then ensure the column has the save option defined in the table definition itself and not on the parameter definition.

If you are populating the table from a QAction, you can use the same one to add this default value. If your table is filled in via SNMP or WMI, then you can add a QAction that triggers on the change of the table.

João Severino [SLC] [DevOps Catalyst] Answered question 25th June 2025
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