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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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

Pre-filter / Filter a ComboBox output

Solved1.03K views14th July 2023
0
Daniel Lentoiu619 9th May 2022 0 Comments

  Hi, 
I would like to Select a Variable from  a drop down menu that was previously pre-filtered to just specific output based on the name for example(IRD).

In my case I have a shape that has the following properties:

I have learned that I can generate a list of filtered items by creating a shape with properties:

It would be nice to combine these two.

NOT sure if I can specify one more shape data field option on SetVarOption: |Filter=  ?!

I have tried something like this:

or

Also I believe a possible solution could be using two list box controls but I don't have an example to adapt it to my case, meaning FKColumn must be different than SetColumn or DisplayColumn ? and on the filter side how do I reference to "OtherList" box."

Is there a way to sort this out ?

Thank you.

Regards,

Daniel.

"Linking two list box controls
It is possible to link two list boxes. That way, when you select an item in the first list box, you will filter the values displayed in the second list box.

In the second list box, use the SetVarOption "FKColumn" to define a foreign key relationship between the two datasets. In that option, specify the column in the second list box that contains the foreign keys that link to the first list box.

Example:

<em><code class="lang-txt">FKColumn=fkcolpid|Filter=[var:OtherList]
</code></em>
  • In the "FKColumn" option, specify the parameter ID of the column that contains the foreign keys.
  • In the "Filter" option, you can indicate that the list has to be filtered. In the example above, the list will be filtered by foreign key value, based on the value of the session variable that was set in the "OtherList" box."
Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 14th July 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Daniel Lentoiu619 Posted 10th May 2022 2 Comments

Hi Michiel,

Can you provide an example of how to use the Linking two list box controls ?

In the help guide I couldn't find any examples .

Thank you.

Daniel Lentoiu Posted new comment 10th May 2022
Michiel Vanthuyne [SLC] [DevOps Enabler] commented 10th May 2022

Hi Daniel,

For the first control you can configure something like:
Setvar FilterVariable[Param:dmaid/elementid,1000]
SetvarOptions control=listbox|displaycolumn=1002

for the second control the configuration looks like this:
SetVar MyVarName[Param:dmaid/elementid,2000]
SetVarOptions control=listbox|displaycolumn=2003|FKColumn=2004|Filter=[var:FilterVariable]

In this case the connector must be configured in such way that tables with id’s 1000 and 2000 are linked and column 2004 contains foreign keys referencing the primary key in table 1000.

Daniel Lentoiu commented 10th May 2022

Thanks Michiel,

Is there a way to manipulate the described behavior to only refer to one table instead of two connected tables ? Just for the 1000 table ID ?

Daniel.

You are viewing 1 out of 3 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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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