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 you 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

DATA API: Cleanup obsolete table entries

70 views13 hours agoData API Scripted Connectors
3
Mario Willem [DevOps Advocate]109 15 hours ago 0 Comments

Hi,

For a use case where we collect information on OTT apps (startup failures, etc.), some of them have changed names in the meantime or are no longer available. The table still shows these apps with the last received data.

Is there a way to clean up those obsolete entries?
For example, Apple TV used to be Apple TV+, and should now be removed.

So far, the only solution is to delete the element, but then the trending data and other references are also lost.

Matthijs Favorel [SLC] [DevOps Advocate] Answered question 13 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Matthijs Favorel [SLC] [DevOps Advocate]2.54K Posted 13 hours ago 0 Comments

Hi Mario,

There is no way to do this through the Data API.

You can do it through an automation script though in a couple of ways (replace the element name and the Table PID):

  • With the DMS library (you will need to reference the Skyline.DataMiner.Core.DataMinerSystem.Common and Skyline.DataMiner.Core.DataMinerSystem.Automation dlls):

engine.GetDms().GetElement("My Element Name").GetTable(123).DeleteRow("Apple TV+ start failures");

  • With a raw SLNet call (always be carefull):

using System;
using Skyline.DataMiner.Automation;
using Skyline.DataMiner.Net.Messages.Advanced;

public class Script
{
public void Run(Engine engine)
{
Element Element = engine.FindElement("My Element Name");
string[] keys = new string[] { "Apple TV+ start failures" };
DeleteRow(engine, Element, 123, keys);
}

public static void DeleteRow(Engine engine, Element element, uint tableID, object key)
{
uint[] iaIds = new uint[3];
iaIds[0] = Convert.ToUInt32(element.DmaId);
iaIds[1] = Convert.ToUInt32(element.ElementId);
iaIds[2] = tableID;

Skyline.DataMiner.Net.Messages.Advanced.SetDataMinerInfoMessage request = new SetDataMinerInfoMessage()
{
What = 156,
Var1 = iaIds,
Var2 = key
};
Skyline.DataMiner.Net.Messages.DMSMessage[] message = engine.SendSLNetMessage(request);
}
}

Matthijs Favorel [SLC] [DevOps Advocate] Answered question 13 hours ago
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