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
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Custom operator parse all rows and return new set of rows

Solved812 views21st February 2024GQI custom operator
1
Gerwin van der Kamp [DevOps Enabler]2.91K 13th February 2024 0 Comments

Hi,

is it possible have an custom operator go through all rows of an query and then return an completely new set of rows based on that?

Use case is as follows, i’ve got an table with an json string, i want to return all rows where an certain string matches within that json. This can be one row, this can be 50 rows.

Then i would to feed all the json of those rows into some logic, and return based on an setting in the custom operator a bunch of nodes or edges.

Gerwin van der Kamp [DevOps Enabler] Selected answer as best 21st February 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Miguel Obregon [SLC] [DevOps Catalyst]18.99K Posted 13th February 2024 3 Comments

Hi Gerwin,

As far as I know GQI custom operators are row based. This means that you could only process one row at the time. In this case you will need to use an ad-hoc data source

Hope it helps.

Gerwin van der Kamp [DevOps Enabler] Selected answer as best 21st February 2024
Gerwin van der Kamp [DevOps Enabler] commented 13th February 2024

How can i access the filter data or an table within an DMA from an ad hoc source? since the engine is not available.

Miguel Obregon [SLC] [DevOps Catalyst] commented 13th February 2024

Hi Gerwin,
You will need to use the GQIDMS class:
https://docs.dataminer.services/user-guide/Advanced_Modules/Dashboards_and_Low_Code_Apps/GQI/Extensions/API_Reference/GQIDMS.html
In Github you can find some examples:
https://github.com/orgs/SkylineCommunications/repositories?q=gqids&type=all&language=&sort=

Gerwin van der Kamp [DevOps Enabler] commented 14th February 2024

Is it possible to link an input argument to an feed?
The use case have is the following: an virtual matrix element which supports loop devices. I want to show an path from an source to all connected destinations and loop devices. In the destinations table is an column containing the complete path for that destination. So I’ve got an script now that will search that column for the source-guid i want to show. and will then filter that data to extract all nodes an paths. i then generate an dot-string which will work, but i would like to do it natively in Dataminer with dashboard and node edge component. So i’ll open the dashboard from an visio with an parameter in the url and i would like to to the same logic to get the nodes and edges. (there is some logic then when selecting an loop device as source it will detect that and will draw the path from the actual source.)

0
Sebastian Ulloa [SLC] [DevOps Advocate]1.90K Posted 13th February 2024 0 Comments

Hi Gerwin,

You could create a new column in the custom operator that allows you to identify the rows you are interested on. For example, the new column can contain the value of the node or the edge parsed from the JSON.

As for the removal of the rows, you can use GQI Filter method to remove the rows that didn’t give you a result in the new column you created, or you can use the method row.Delete() as this example does: SLC-GQIO-SkipX/SkipX_1/SkipX_1.cs at main · SkylineCommunications/SLC-GQIO-SkipX (github.com)

Sebastian Ulloa [SLC] [DevOps Advocate] Answered question 13th February 2024
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