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

Launching an Automation Script from Generated Group of Services using Service ID as Script Parameter

Solved184 views28th February 2025
1
Oliver Wilkinson [DevOps Advocate]819 27th February 2025 0 Comments

Hi Folks!

Launching a script from a generated group linked to a service - visio assistance.

I am looking to see if it is possible to launch an Automation script that is inside a generated shape (group) from a list of services whilst passing in service information as a script parameter.

Current Situation:
- I have a list of services that 3we are using to generate groups of shapes i.e. service_1;service_2;service_3
- Currently, these shapes set a variable on click which I use elsewhere on a visio page

New Changes:
- Adding a new Shape inside the group
- Linking this shape to an Automation Script via execute
- Adding script params such as [this serviceid] to the shape doing the execute.

The problem I seem to be having is that if I want to use the service information in the variable, I need to bring in ForcePropertyFromParent, but in doing so this is linking the shape that I want to use to trigger the script to the associated service which then means that the shape will open the cube card for the service and not launch the script. The inverse, AllowInheritance=False of NoCopyElementProperty disable he link as would be expected but then mean that I can no longer access the service name property that I need to trigger the script correctly

Is there any way that I can specifically disable the linkage to the card on button press of the shape whilst still maintaining the link to the service so that I can use the properties as placeholders in the shape data for execution?

I have experimented with ParentTableIndex etc however I don't think this is availale to me as I am generating based on services in a list not from the table row.

Any pointers would be greatly appreciated!

Many thanks
Oliver

Oliver Wilkinson [DevOps Advocate] Selected answer as best 28th February 2025

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Jarno Lernou [SLC] [DevOps Enabler]5.00K Posted 28th February 2025 1 Comment

Hi Oliver,

I'm glad to see your heading already in the right direction as this is a more advanced Visio topic that requires a good understanding of how things are linked.

We have the context of the 'Shape'. Typically this is done through Shape Data such as 'Element', 'View', or dynamic shapes as in your case. That means the shape is enhanced with data linked to the object. By using the 'AllowInheritance=False' Option, you can remove the link and therefore the context.

The placeholders (e.g. [this element], [this elementid], [property:x]) though are in another context typically. By default they are linked to the object of the card where your Visio is linked to. By using the 'ForceX' properties you can changed the context for these placeholders (and only these placeholders).

So - as you can see - depending on the context, you will have to define the correct settings to be able to make it work. In your case, you have a bit of a corner case. The Execute Shape Data is also considered a new context since it then links to either a parameter set or a automation script execution. That means you will need the 'AllowInheritance=False' and for the placeholder [this serviceid], you will need the 'ForcePropertyFromParent' as the context of parent shape is the service context your looking for.

Something that you need to know though is to also use the 'Enabled' -> True to enable the linking.

Kind Regards,

Jarno

Oliver Wilkinson [DevOps Advocate] Posted new comment 28th February 2025
Oliver Wilkinson [DevOps Advocate] commented 28th February 2025

Thank you Jarno, this is perfect and works as expected!

All the best
Oliver

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