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
    • 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
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Clearing rows in the table

Solved691 views21st June 2023clear table
1
Andrey Kalinichenko70 21st June 2023 0 Comments

Is there a way to automatically clear non-initialized rows in a table? If all values in row except primary key are not initialized, using protocol or QAction.

Andrey Kalinichenko Selected answer as best 21st June 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
João Severino [SLC] [DevOps Catalyst]12.99K Posted 21st June 2023 1 Comment

Hi Andrey,

As far as I am aware that is not possible, you would need to read all the rows in a QAction and evaluate each column to determine whether or not they need to be deleted.

Not sure exactly the use case you have but if it were a scenario where you have a table that just gathers some temporary data that is not saved anywhere and after a restart you want to clear it, you could try the volatile option.

Otherwise, the only real option is to read it in a QAction.

Floris Cockaerts [SLC] [DevOps Advocate] Posted new comment 21st June 2023
Floris Cockaerts [SLC] [DevOps Advocate] commented 21st June 2023

I’d like to add that in most scenarios, the received data contains all the keys and should update the table without keeping pre-existing keys. If the keys can only be determined over multiple data ingestions, then keeping track of the known keys and cutting off at some point to remove all other keys shouldn’t be difficult nor involve a lot of notifications. If the situation is even more complex, a state column may be more appropriate, so only one column needs to be retrieved and evaluated.
Of course, this is assuming the table is populated by a QAction.

If the table is populated by SNMP polling, the deleteRow attribute can keep non-existing keys, but should only be used in some specific cases such as an SNMP table also functioning as a DVE table, which I believe is discouraged nowadays. In this case, you may want to review how you’re setting up and controlling your tables.

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