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

Setting session variable when variable changes

Solved772 views18th July 2024SessionVariable Visio variables
2
Dave Keller [DevOps Enabler]1.60K 13th February 2024 2 Comments

Hi Dojo,

I feel I'm close to the answer, but I can't quite get this to work.

I'm trying to set a second session variable, showing my talkback panel type when I set a talkback panel name in a session variable.

When I have a button with:
SetVar "TalkbackPanelType:[param:[var:TalkbackElement],3304,[Var:TalkbackPanelName]]"
Pressing the button updates the second variable correctly.  But when I try to set the second variable with
Execute "Set|Variable|TalkbackPanelType|[param:[var:TalkbackElement],3304,[var:TalkbackPanelName]]|SetTrigger=ValueChanged" on the page level, the variable doesn't update.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2024
Marieke Goethals [SLC] [DevOps Catalyst] commented 4th June 2024

Hi Dave,
I see that this question has been inactive for some time. Do you still need help with this? If yes, could you answer Toon’s question below? Or if not, could you select the answer to indicate that the question is resolved?

Marieke Goethals [SLC] [DevOps Catalyst] commented 18th July 2024

As this question has now been open for a long time and there has been no further reaction from you, I will now close it. If you still want more information about this, could you post a new question?

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Saelen [SLC] [DevOps Enabler]5.63K Posted 14th February 2024 4 Comments

I'm not sure if you can use the Execute shape data field to set the variable. The Set option is normally used to set parameters (docs). Can you let us know where you find that this is possible?

Something that might give you a headache is when the values that are filled by placeholders contain special characters that are used as separators (e.g. '|' or ':'). Let's assume that your value contains a '|', for example 'first|second'. Then if the placeholder is resolved it can use the resolved placeholder to split. This would mean if the param placeholder is resolved it would look like the following:

Execute
Set|Variable|TalkbackPanelType|first|second|SetTrigger=ValueChanged

To solve this you can replace the placeholder that is used in the shape data:

Execute
[Sep:|$]Set$Variable$TalkbackPanelType$[param:[var:TalkbackElement],3304,[var:TalkbackPanelName]]$SetTrigger=ValueChanged

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 18th July 2024
Toon Casteele [SLC] [DevOps Enabler] commented 14th February 2024

https://docs.dataminer.services/user-guide/Basic_Functionality/Visio/session_variables/Configuring_a_page_to_update_a_session_variable_when_another_session_variable_changes.html FYI

Note: Other than that I can’t see anything wrong with the execute data quoted in the question, so probably indeed this is a matter of separators.

A good suggestion is to lift out the different placeholders and check which one is giving you issues.

Dave Keller [DevOps Enabler] commented 14th February 2024

Thanks for the input Michiel and Toon.
Unfortunately changing the separator hasn’t worked.
As a test I changed the Execute to “Set|Variable|TalkbackPanelType|[Var:TalkbackPanelName]|SetTrigger=ValueChanged” and this code worked. So there is an issue with looking up the table parameter based on my variable changing.

Ultimately what I am trying to achieve is to set parameter 3302 (using Control=Listbox) to a variable (TalkbackPanelName) and also set the second variable (TalkbackPanelType) from parameter 3304

Michiel Saelen [SLC] [DevOps Enabler] commented 14th February 2024

What you can do for debugging is create a shape and as text on the shape (no shapedata) you put “[Param:[var:TalkbackElement],3304,[var:TalkbackPanelName]]”. Then you will know if this part resolves correctly. If not you can create another shape with “[var:TalkbackPanelName]” etc

Toon Casteele [SLC] [DevOps Enabler] commented 14th February 2024

Could you give us the output of each of the separate placeholders at the moment you want it updated? So the result of the 2 vars, but also the result of the param placeholder if you input the result of the vars statically inside it.

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

Alarm Dashboard PDF/CSV Export 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 Votes
Is the Microsoft SharePoint Connector Still Usable 0 Answers | 0 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 (108) Correlation (68) Cube (150) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (139) driver (65) DVE (55) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (151) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) services (51) 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