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

How to update SRM service to filter a specific table row?

Solved103 views5 days agoSRM update service
0
José Silva [SLC] [DevOps Catalyst]1.51K 4th July 2025 0 Comments

Hi everyone,

In certain scenarios, I need to adjust my SRM service so that instead of including the entire element, it only includes a specific row from a table.

Here’s the context:

  • When the PLS (Profile Load Script) is triggered, it dynamically generates rows in a table (via interapp call)

  • I only know which rows to include at that stage.

  • Since the same element might be used across multiple bookings, I want to include just one specific row from one specific table in the SRM service for this particular case (keeping it simple here).

Normally, having the full element in the service works fine, so I’d like to let SRM create the service as usual. However, for this corner case, I need to fine-tune the service content after creation.

I did a follow on Cube and noticed it sends a SetDataMinerInfo message (what=75 for service) with a pretty complex StrInfo2 XML to achieve this.

So, I’m wondering:
🔍 Is there a better, more structured way to do this? Something like:

// Example of pseudo-code I'd like to run

var service = engine.GetServiceByName("MyService");
var element = service.FindElement("MyElement");

// Apply a filter to only include a specific row (e.g., with key "rowKey") in a parameter/table (e.g., parameterId 4200)

element.ParameterFilters.Add(new ElementParamFilterConfiguration(4200, "rowKey", true, FilterType.Display));

service.Update();

José Silva [SLC] [DevOps Catalyst] Selected answer as best 5 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
3
Jorge Dias [SLC] [DevOps Enabler]4.95K Posted 5 days ago 1 Comment

Hi José,

Below you can find an example that I used to add CPU parameter for SLAutomation row from Microsoft Platform connector.

var element = engine.FindElement("Jorge PC");
var service = engine.FindService("Service Name");
var elementInService = service.ServiceInfo.ServiceParams.FirstOrDefault(x => x.DataMinerID == element.DmaId && x.ElementID == element.ElementId);

if (elementInService == null)
{
engine.Log("Element is not present in the service");
return;
}

var includedParams = elementInService.ParameterFilters?.ToList() ?? new List<ServiceParamFilter>();
includedParams.Add(new ServiceParamFilter(107, "*SLAutomation*", true));

elementInService.ParameterFilters = includedParams.ToArray();

var updateServiceMessage = new AddServiceMessage
{
DataMinerID = service.DmaId,
Service = service.ServiceInfo,
};

engine.SendSLNetSingleResponseMessage(updateServiceMessage);

José Silva [SLC] [DevOps Catalyst] Posted new comment 5 days ago
José Silva [SLC] [DevOps Catalyst] commented 5 days ago

Thanks Jorge, it worked.
Kind regards

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