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

Open New Page and execute script as well as set vars

Solved656 views12th July 2023
0
Nicky Edge [DevOps Member]6 27th October 2022 0 Comments

Hi, is there a way in which I could open a VdxPage which on opening executes a script and sets variables. I have been testing this on DataMiner (10.2.7.0-11922) and I can seemingly only have one or the other. Removing the Execute option enables the page to be opened correctly but the script obviously no longer exists, inversely, when removing the SetVar and leaving the Execute the script runs and the page is blank - this also occurs when both Execute and SetVar properties are added to the shape (Seemingly the Execute takes precedence and the SetVar is no longer actioned.).

I have attempted to utilise a variable as a trigger which is updated when the page is opened, this however doesn't appear to work. I can see that the variable is being initialised and set correctly but unfortunately the trigger does not seem to be executed on ValueChanged.

Here is the Execute script structure I am using.

Script:Playout_AcknowledgePenaltyBoxAlarmCloud||ServiceName=[this service];ParameterDescription=[param:*,2502,[tableindex]];Bus=[var:PenaltyBoxBus];User=[thisusername]|Options:NoConfirmation|SetTrigger=ValueChanged

As mentioned above, PenaltyBoxBus is being changed, I can see this through a label I have placed for testing this change. It however does not execute the script as I would expect it to.

Any help would be greatly appreciated.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th July 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Robin Becker [DevOps Advocate]1.40K Posted 16th June 2023 0 Comments

See this question: https://community.dataminer.services/question/visual-overview-execute-automation-script-on-vdxpage-popup

The below solved it for me. I added the execute shape data on the button that opens the popup. I had to use the option 'NoCopyElementProperty' to make it work.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 12th July 2023
1
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 28th October 2022 4 Comments

Variable initializations from InitVar are executed before the listener is set up for the ValueChanged. This means the variable will already be filled in and thus a change will never trigger.

Using the "ExecuteSetsOnInit" keyword in the page's Options shape data should do the trick for you.

Toon Casteele [SLC] [DevOps Enabler] Posted new comment 2nd February 2023
Nicky Edge [DevOps Member] commented 1st February 2023

Apologies, this didn’t work. When I click a button on the visio to then execute a script and also display a vdxpage (with ExecuteSetsOnInit within it’s page options) it still only appears to complete one of the two requirements. In this case it is executing the script and not displaying the vdxpage.

Toon Casteele [SLC] [DevOps Enabler] commented 2nd February 2023

If I’m understanding correctly you’re trying to execute a script with the execute shape data and within that same click open a vdxpage that then has another execute on the page? Any reason you can’t put all of the script executes on the page you’re opening?

In any case I think it’s best to modify the question a bit to better reflect the exact use case. That way I can set it up over here as well and see what’s going wrong.

Nicky Edge [DevOps Member] commented 2nd February 2023

Yes, I am trying to execute an automation script and open a vdxpage on clicking the same shape. As opposed to having to click two shapes to fulfil this purpose. Is this possible at all?

Toon Casteele [SLC] [DevOps Enabler] commented 2nd February 2023

It should be yes. This is also why I think I will need some more info. Of course there are some things you can try yourself to narrow down the issue. For instance executing an as simple as possible script and linking to a page that only contains a visual. That way we can determine if this issue occurs for every shape with that combination of shape data or just for the one in your use case.

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