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

Child row: Set variables from two different tables

Solved728 views18th October 2023Visual Overview
0
Robin Becker [DevOps Advocate]1.40K 20th June 2023 6 Comments

I generate shapes based on table A, containing columns A1 & A2. Another table, table B contains columns B1 & B2.

A2 & B2 could contain the exact same value.

I have managed to get the generated shape to show the value of A1 and the corresponding value of B1 if there is a corresponding B (A2 == B2) row. However now I want to set two card variables, each with the values of A1 and B1 by clicking the generated shape but I only manage to set A1. So I can show the value of B1 in the generated shape but not set a variable to its value.

How should I go about this?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th October 2023
Toon Casteele [SLC] [DevOps Enabler] commented 20th June 2023

Probably I’m misunderstanding the question, hence no answer. But to me it sounds like you just want to set 2 variables with a SetVar? e.g. “varA:[param:A1,index1]|varB:[param:B1,index2]”. Probably you are missing one or more of these inputs, but I’m not sure which.

Robin Becker [DevOps Advocate] commented 20th June 2023

Yes, the problem is how do I get Index2? Index1 is just [tableindex]

Toon Casteele [SLC] [DevOps Enabler] commented 20th June 2023

How did you get to visualize the value for index2? I think it would be something similar to that.

Robin Becker [DevOps Advocate] commented 20th June 2023

That was my idea as well but after trying for several hours I’m out of ideas.

The way I visualise it is: The child group (the group containing the shape data ChildType:Row) contains another group. This group only has the shape data Enabled:True and Options:NoCopyElementProperty. That group then contains a child shape with the shape data Element:1/259, Parameter:B1, ParameterSubscriptionFilter (VALUE=B2==[Param:1/259,A2,[tableindex]]), as well as Enabled:False and Options:NoAlarmColorFill|NoCopyElementProperty. The child shape shows the correct parameter if I add an asterisk * as the child shape text.

Marieke Goethals [SLC] [DevOps Catalyst] commented 30th June 2023

Hi Robin,
Has Toon’s answer helped you find the solution? If so, could you select the answer (using the ✓ icon)? If not, could you elaborate on which problems you still encounter with his approach?

Show 1 more comments

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Toon Casteele [SLC] [DevOps Enabler]7.00K Posted 21st June 2023 0 Comments

From what I can tell with the info we have gathered together in the question and comments, I feel like it will be very hard to set your 2nd variable without some shenanigans. The problem, as you probably realized, is that while the param placeholder can take into account SubscriptionFilter shape data, it will be applied to both your SetVar values. i.e. if you have varA:[param:1/259,A1,[tableindex]]|varB:[param:1/259,B1] a subscriptionfilter like VALUE=B2==[Param:1/259,A2,[tableindex]] would be applied to both of your param subscriptions and while that would fix your varB, it would at the same time break varA.

However, I like to claim you can do anything in Visual Overview, so probably executing a script upon click could help you out. Pass the necessary info to your script and use the functionality to output script variables to then populate the necessary variables. Hope that helps you further.

EDIT: Looking at the code, I feel like the solution I offered in the first paragraph with subscriptionfilter (yes, the one I said wouldn’t work) might work after all. We first verify if there is a table index already passed in the param and if so, we should be skipping the subscriptionfilter shape data. So for the first param it should use the index directly and for the 2nd one the subscriptionfilter. Let me know if it works!

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th October 2023
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