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

List elements with adhoc GQI data source

Solved318 views27th November 2024GetElements GQI Data Source
2
Manuel Gallardo [DevOps Advocate]733 26th November 2024 0 Comments

Hi Dojo,

I’m developing a Low-Code app and I need to get all elements that match a name filter in my ad hoc GQI script to have some additional process.

I’m looking something similiar to GetElementByNameMessage but with a element list as response. I can’t find in .Net.Messages something to do that work or similar.

What could be the best way to get it?

Thanks!

Manuel Gallardo [DevOps Advocate] Selected answer as best 27th November 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
5
Tom Waterbley [SLC] [DevOps Catalyst]8.88K Posted 26th November 2024 1 Comment

Hi Manuel,

What you’re looking for is GetInfoMessage with InfoType.ElementInfo.

var request = new GetInfoMessage(InfoType.ElementInfo);
var responses = dms.SendMessages(request);
var elements = responses.OfType<ElementInfoEventMessage>();

However, depending on what you’re trying to do it might not be necessary to create an ad-hoc data source for this. There is also a built-in Get Elements data source which returns a list of all elements. Maybe you could join this with the data you already have.

Manuel Gallardo [DevOps Advocate] Selected answer as best 27th November 2024
Manuel Gallardo [DevOps Advocate] commented 27th November 2024

Hi Tom,

Thanks a lot for the reply,m that's exactly what I need.
And additional question, what's the object request or method to get all the primary keys in a table?

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