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
    • Agility
      • Kanban workshop
      • Agile Fundamentals
    • 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
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

InitVar placeholders

Solved947 views25th July 2023ARQ InitVar ShapeData Visio
1
Ross Elliott [DevOps Advocate]819 6th June 2023 1 Comment

Hi, I have some shape data (first image below) that is working as expected but I need the Element field to be variable. At the moment I have the value of a service ID but when trying to use wildcards it’s failing. For example, ‘*Service 1*Red’ & ‘*Service 2*Blue’.

I’ve tried using page variables but ‘SDMP2RED’ also needs to be assigned a value rather than using a wildcard to filter between multiple services I have in the view. I’ve also tried using ExecuteSetsOnInit to set the page variable when the card opens but that’s also not working. Is there any way I can force Element to use a placeholder of some kind? I’ve also tried with properties but with no luck! The final goal is to use the same Visio file for all (100s) our services rather than the need of 1 per service.

Thanks

Added images…

Ross Elliott [DevOps Advocate] Edited question 25th July 2023
Ross Elliott [DevOps Advocate] commented 6th June 2023

Thanks, I can get ExecuteSetsOnInit to work but only when I add the service ID in which isn’t an option as it’s unique. It explains in the help file that dynamic parts can be added but placeholders I assume will never work?
Z: The new value of the session variable (which can contain dynamic parts referring to parameters or other session variables). Is there a way of getting a variable for the service ID into the new value? Added new images above…

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Toon Casteele [SLC] [DevOps Enabler]7.03K Posted 6th June 2023 0 Comments

Using placeholders in InitVar is not recommended as it’s not sure they will resolve before the init happens. Therefore the “ExecuteSetsOnInit” is indeed what you’re looking for, but this option refers to executing the “Execute” page data on init. Combined with the ValueChanged trigger of the execute data you can make sure the value is initialized on page open and updated whenever the placeholder result changes. More info can be found on our docs and in the visual overview course.

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