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
    • 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
    • Tutorials
    • 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
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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

Visual Overview – [GUID] placeholder usage on SRM

Solved1.55K views28th April 2021GUID SRM SRM resources Visual Overview
3
Bruno Dias [SLC] [DevOps Member]2.36K 27th April 2021 0 Comments

Hello everyone,

I created a Visio file for a resource in my DMA and initialized a variable using this:

When I display this variable value in another shape, it correctly displays my Resource GUID.

But when I try to re-use this variable content in another placeholder, it fails. As a workaround, if I type the GUID directly in the shape, it works fine.

Here's my Visio file:

Here's the result:

I was expecting both approaches to give me the same result. Does anyone knows why the variable approach doesn't work?

(I'm using DataMiner 10.1.2.0-9866)

Bruno Dias [SLC] [DevOps Member] Selected answer as best 28th April 2021

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.73K Posted 28th April 2021 2 Comments

It seems like several concepts got a bit mixed up here:

  1. The [Guid] placeholder, which is currently only supported in the InitVar shape data, generates a new unique guid. This guid is by no means related to anything on your Visual Overview and is totally random. It is meant as a random seed for your local session.
  2. The set of the session variable during the InitVar will only occur when that session variable has no value in it's current context. In your example, I believe the ThisGuid session variable already has been set to the guid of the resource. Since this is a global session variable, this value is never cleared and using it in an InitVar will no longer do anything. Instead, you can try using a CardVariable or PageVariable which both have a new context for a new card.
Sebastiaan Dumoulein [SLC] [DevOps Enabler] Posted new comment 28th April 2021
Bruno Dias [SLC] [DevOps Member] commented 28th April 2021

Thanks for the clarification Sebastiaan.
So the [Guid] placeholder is something else, not related to the Resource GUID.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 28th April 2021

Correct 🙂

1
Jarno Lernou [SLC] [DevOps Enabler]5.00K Posted 27th April 2021 1 Comment

Hi Bruno,

I might be wrong, but from your screenshot, the static GUID you are using is not the same GUID available in the session variable?

Bruno Dias [SLC] [DevOps Member] Posted new comment 28th April 2021
Bruno Dias [SLC] [DevOps Member] commented 28th April 2021

Hi Jarno, you’re correct. I only checked the first digits and immediately assumed that the GUIDs were the same. Thanks for the heads-up.

1
Ruben Vandepitte [SLC] [DevOps Advocate]2.28K Posted 27th April 2021 1 Comment

Hi Bruno,

I've had problems in the past using placeholders within an 'InitVar' shape data. It might not actually be fully supported... Would be good if someone from the dev squads could confirm.

In any case, an alternative might be to use an 'Execute' shape data instead.

More info here: https://help.dataminer.services/dataminer/#t=DataMinerUserGuide%2Fpart_2%2Fvisio%2FConfiguring_a_page_to_update_a_session_variable_when_another_session_variable_changes.htm

Syntax is the following:

SET|X|Y|Z|SetTrigger=ValueChanged

'X' and 'Y' parts should be filled in with the scope of the variable (eg 'CardVar') and the name of the variable respectively.

For 'Z', you could then use the guid placeholder, as this represents the value the session variable will take on.

Don't forget to also add an 'Options' shape data with value 'ExecuteSetsonInit'.

Please let us know if this works.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Posted new comment 28th April 2021
Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 28th April 2021

The rule of thumb when using placeholder in the InitVar shape data is that your placeholder can’t resolve asynchronous. The InitVar operation is executed before page load but it will not block the page from loading. This means that placeholders like [param:] or [property:], which fetch data from the server, will be seen as empty.

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

Recent questions

Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes
When using the Setter = true attribute, will the copy action always be executed first? 1 Answer | 3 Votes
Multiple Set on Table parameters for DVE’s 1 Answer | 2 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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