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

Is it possible to directly load a “SetVar” session variable with?

Solved63 views18 hours agoPageVariable SetVar
0
Daniel Zank [DevOps Advocate]235 2 days ago 0 Comments

Hi Dojo!

I tried to set up a variable to pass it to an execute for an automation script. It works fine with a "SetVar" for a PageVariable, but I have to click initially click on the Visio page (as expected). Is there any way to load (click on the page) the value automatically?

I also tried to use the "Execute" shape data field with a "Set", but this does not work, because I have no trigger "Event" or "ValueChanged".

BR

Daniel

Daniel Zank [DevOps Advocate] Selected answer as best 18 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Sebastiaan Dumoulein [SLC] [DevOps Enabler]13.93K Posted 1 day ago 3 Comments

Hi Daniel,

To load a session variable when opening a page you can:

  • Use Initvar to define fixed values or simple placeholders. It won’t work with placeholders that need server data like [param:] or [property:].
  • Use Execute if you want a variable to update when another value changes. You can make it run once at the start by enabling the ExecuteSetsOnInit option.
Daniel Zank [DevOps Advocate] Selected answer as best 18 hours ago
Daniel Zank [DevOps Advocate] commented 19 hours ago

Hi Sebastiaan,

thanks for your answer and sorry for my "shorted" headline in the question.

Would it be possible to use "InitVar" with the "Options" as "CardVariable"? Or is "InitVar" only usable as a global "session variable"?

BR Daniel

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 19 hours ago

InitVar tries to set a value in every context: global, workspace, card, and page. If a context already has that variable, it stays unchanged. Page variables are always reinitialized because each page opens with a fresh context. However, if you initialize the same variable on two different pages in the same card, the second one won’t affect the card context.

Daniel Zank [DevOps Advocate] commented 18 hours ago

Thanks for your answer and your explanation. At the moment its not working in our context. I'm now passing the display key directly to the script using the execute command. I might come back to the community regarding the variable issue later.

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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin