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

How to exclude DVEs from engine.FindElements

Solved50 views5 hours agoautomation scripts child elements DVEs ElementFilter FindElements
3
Adel Azzouza190 6 hours ago 0 Comments

Hello,

Using Automation Scripts, I would like to return all Elements but excluding DVEs.

I'm calling engine.FindElements with an ElementFilter, but the it does not have any property for this.

https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Automation.ElementFilter.html
var myElementFilter = new ElementFilter { DataMinerID = dmaId };
Element[] elements = engine.FindElements(myElementFilter);

Does anyone know how to achieve this?

Thanks in advance.

Adel Azzouza Selected answer as best 5 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Robbe De Ghein [SLC] [DevOps Advocate]1.41K Posted 6 hours ago 1 Comment

Hi Adel,

You cannot filter out DVEs using the ElementFilter.

You can however filter them out in the script itself, after retrieving the elements from the agent.

Element[] elements = engine.FindElements(myElementFilter).Where(element => !element.RawInfo.IsDynamicElement).ToArray();

Adel Azzouza Posted new comment 5 hours ago
Adel Azzouza commented 5 hours ago

Thank you Robbe, that was very helpful!

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