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

Create a toggle switch or something with the same function

Solved444 views7th August 2024
1
Marco Virdis416 6th August 2024 2 Comments

Hi Dojo,

I have a simple table with a column that only has the values 0 and 1, true or false. I want to create a button (or better a toggle) that filters all the data in the table based on the value 0 or 1. I have tried using a dropdown, but I get all the values from all the rows, which is not what I want. Can someone please help me? Thanks.

Marco Virdis Selected answer as best 7th August 2024
Miguel Obregon [SLC] [DevOps Catalyst] commented 6th August 2024

Hi Marco,
Are you planning to implement this toggle button in the driver?
Is it not an option to implement this functionality in a visual overview (Visio) or a dashboard?

Marco Virdis commented 6th August 2024

Hi Miguel, I’m using a low-code app. Is there an alternative to this solution? A dropdown feed to select 0 or 1 would also be a good solution too. Also a script for a button but I don’t know if this is possible to do. Thank you

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Miguel Obregon [SLC] [DevOps Catalyst]19.11K Posted 6th August 2024 3 Comments

Hi Marco,

I believe this should be possible. You could add use a feed to filter the result of GQI query. See example below:

Hope it helps.

Marco Virdis Selected answer as best 7th August 2024
Marco Virdis commented 6th August 2024

Thanks Miguel, your example looks good but I can’t use the numeric input as a feed. When I select a feed to link to, I don’t have the numeric input feed. The column is a number (I hope). Is the code correct for a number column?

Param id=”4014″ trending=”false”
Name taCheckFutureFlag /Name
Description TA Check Future Flag /Description
Type read /Type
Information
Subtext FutureFLag /Subtext
/Information
Interprete
RawType other /RawType
Type double /Type
LengthType next param /LengthType
/Interprete
Display
RTDisplay true /RTDisplay
/Display
Measurement
Type number /Type
/Measurement
/Param

Thank you

Miguel Obregon [SLC] [DevOps Catalyst] commented 6th August 2024

Hi Marco,
I will recommend using DIS to develop a driver:
https://docs.dataminer.services/develop/TOOLS/DIS/Introduction.html
DIS provides already some snippets for different types of parameters:
https://docs.dataminer.services/develop/TOOLS/DIS/Editors/XML_editor.html?q=dissnippet#using-the-right-click-menu-commands
Checking your parameter definition, I believe that the RawType tag should be ‘numeric text’ instead of other. Can you try updating this tag?

Marco Virdis commented 7th August 2024

Thank you, Miguel. Once again. With “numeric text” it works. Thank you very much.

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