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

Change variable which influence the same shape

52 views7 hours agoVisio Visio Buttons
2
David Crome [DevOps Member]313 3 days ago 0 Comments

Hi Dojo,

I have a shape which should be a button with these two data fields set:

SetVar => LOCKED:0
Variable => LOCKED|Show;=1

LOCKED is set to 1 by default via InitVar. So the shape is displayed. But: I can not click it. I guess it is because it s shape should not influence or in this case even remove itself?

But "it works" when I use the Show instead of the Variable data field:

SetVar => LOCKED:0
Show => <A>-A|Value|[var:LOCKED]|=0

But: Now the shape is not design anymore like in Visio but like "a button that looks and behaves like a default DataMiner Cube button" as if I would set the Options to Control=Button.

For me it is not important how I can archive this, but I want that my design stays like it is and it can change the variable even it uses it for shape manipulation.

and it looks like that the toggle button mechanism is not possible because it only works with a parameter of an element?

Thanks,
David

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 7 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Miguel Obregon [SLC] [DevOps Catalyst]23.16K Posted 7 hours ago 0 Comments

Hi David,

A possible option is to use an automation script to update a session variable:

See below code snippet:

ScriptParam spValueLocked = engine.GetScriptParam("ValueLocked");
engine.AddOrUpdateScriptOutput(UIVariables.VisualOverview.CreateKey("Locked"), spValueLocked.Value);

Script Definition:

Shape definition:

Execute: Script:TEST_SESSION_VARIABLE|Parameters:ValueLocked=0|Options:NoConfirmation

Show: <A>-A|Value|[var:Locked]|=1

Small Animation:

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 7 hours ago
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

© 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