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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
  • Swag Shop
  • Downloads
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Scoping session variable using InitVar

Solved602 views14th November 2024session variable
0
Bing Herng Chong [SLC] [DevOps Advocate]1.10K 10th November 2024 1 Comment

Hi all,

Some advice is required on how to scope a session variable properly. I'm observing that my session variable is being scoped per Dataminer Cube session when the desired outcome is to scope it per Visio file.

At the page level, I'm using:

InitVar ---> ElementName:Element_A

I have several Visio files that does the same thing:

e.g.:

Visio file A
InitVar ---> ElementName:Element_A

Visio file B
InitVar ---> ElementName:Element_B

Visio file C
InitVar ---> ElementName:Element_C

However, the end result is that I see the following when I load Visio file A first:

Visio file A
ElementName:Element_A

Visio file B
ElementName:Element_A

Visio file C
ElementName:Element_A

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 14th November 2024
Bing Herng Chong [SLC] [DevOps Advocate] commented 11th November 2024

I stumbled upon this post which answered my question: https://community.dataminer.services/question/visio-page-inititvar-behavior.

However, I'm open to hear any other ideas.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Jarno Lernou [SLC] [DevOps Enabler]5.07K Posted 14th November 2024 1 Comment

Hi Bing,

The answer of Ive can apply to both page and shapes, but I would recommend to use it typically on Shapes. For page level - or initialization - I would suggest you to use the following: Configuring a page to update a session variable when another session variable changes | DataMiner Docs.

Important here is that you make sure to use the option 'ExecuteSetsOnInit' as well.

Kind Regards,
Jarno

Bing Herng Chong [SLC] [DevOps Advocate] Selected answer as best 14th November 2024
Bing Herng Chong [SLC] [DevOps Advocate] commented 14th November 2024

Hi Jarno. Thanks for the post. I did experiment with this approach and found that it is working most consistently for the use case I'm working on.

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