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

Visio – Trend button with variables

Solved1.26K views22nd December 2022
0
Stefan Schedletzky [DevOps Enabler]2.02K 20th December 2022 2 Comments

Hi,

I’m trying to make a button which is opening a vdxpage with Trending.
When I make two seperat buttons it’s working fine. One is settings the variables, the other one is opening the vdxpage in a window. But I like to have it in one button.

If I use SetVarOptions:Control=Shape, it’s not working.

Ideally I want to have a shape which is showing a value. If you click on the value a window is opening with the trend for this parameter. Inner shape:

Outer shape:

Can someone help me to achieve it?

Stefan Schedletzky [DevOps Enabler] Selected answer as best 22nd December 2022
Toon Casteele [SLC] [DevOps Enabler] commented 21st December 2022

Can you clarify what “not working” means? Is the popup not opening, is the trend graph not being shown, are the variables not being populated?

Stefan Schedletzky [DevOps Enabler] commented 21st December 2022

Hi Toon,

it’s not opening the vdxpage. If I make two separate buttons it’s working. One for SetVar and one for vdxpage. But both together I would like to combine.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Steve Purcell [SLC] [DevOps Advocate]1.64K Posted 21st December 2022 5 Comments

Hi Stefan,

I was able to get the following to work using two shapes, if it fits your needs.  In the image below, the 26.5% and outside rectangle are the two shapes.  The lower box, display the variable data being passed to the Trend page shape data.  This shape is removed when drawing is moved to production.

The first shape is used to show the current value of the desired parameter and table row (26.5%).  The Enabled|false in the shape data ignores this shape when clicked on.

Then I added another shape behind this one with the following.

As the first shape is not enabled for clicking, this shape allows the click through options.

The other part to be cautious of, is that the SetVar, has to build the ‘Parameters’ shape data correctly for the trend page (DmaID:ElementID:ParameterID:TableRow), I used a temporary shape to display the variable to verify what was being passed.  In my case, I needed to use the tilde [sep::~] function at the parameter setvar level to allow the question mark [sep::?] at the trend page level, as there was a ‘:’ present in my IDX value.

Trend shape data:

Let us know if this works for your situation.

Steve Purcell [SLC] [DevOps Advocate] Edited comment 4th January 2023
Stefan Schedletzky [DevOps Enabler] commented 22nd December 2022

Hi Steve,

thanks for your answer. So almost the same but I was trying to group the shapes. Stacking is also nice but somehow was not in my mind.

I tried your solution but the window is opening without any data. Just added some text inside and display is just nothing. Only different to your solution is Element data is not [this element] instead it’s the element ID directly. Because the view is just an overview

Stefan Schedletzky [DevOps Enabler] commented 22nd December 2022

I changed Element: [this element] to View: [this view].
Works fine

Stefan Schedletzky [DevOps Enabler] commented 4th January 2023

Hi Steve, still having issues when using [this view]. Could you please try it with [this view]?

Steve Purcell [SLC] [DevOps Advocate] commented 4th January 2023

Hi Stefan, I will take a look and let you know.

Steve Purcell [SLC] [DevOps Advocate] commented 4th January 2023

Hi Stefan, that was a fun one to find. It looks like the issue has to do with the scope of the variable (https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/session_variables/Turning_a_shape_into_a_control_to_update_a_session_variable.html) at the View level. Instead of using ‘CardVariable’, remove all instances to the variable type so the Visio uses the default ‘session’ scope. This means editing the page level option and removing ‘CardVariable’, then editing the shape data and replacing ‘cardvar:’ with ‘var:’. Once I made these changes the trending popup was working from the view with the [this view] setting. Just be careful with the variable names, as the variable will now be persistent through the entire user session not just the card, page or element. Also, to test, you will need to log out of your Cube session and log back in to clear the variable values.

2
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 21st December 2022 0 Comments

Apparently, SetVar takes precedence over shapes with Tooltip/Popup/Window VdxPage shape data on them that aren’t linked to anything else.

It seems to me it would be better if it worked differently priority wise, but you can work around it by linking the shape to something (be that a view, element…) and then using the NoAlarmColorFill option to get the same visual outcome.

Toon Casteele [SLC] [DevOps Enabler] Answered question 21st December 2022
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