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
    • 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
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Visio Hide/Show based on Service

Solved1.21K views11th June 2024Microsoft Visio MS Visio
1
Rebecca Kelsall [DevOps Advocate]670 23rd February 2024 3 Comments

I’m struggling to get the correct conditions for a hide/show in a Visio for a service.

This Visio sits on top of a service that is constructed using a Service Template.  There is the possibility of 1 of 2 different encoders (different drivers). We want to show only the encoder that is configured for the service and hide the other one on the visio.
I had added some property values to specify if the encoder element was in use but I haven’t had any luck so far.  We have the added difficulty of the need for this to be dynamic per service, as the template and visio are used across over 100s services.

Any help would be really appreciated.

Rebecca Kelsall [DevOps Advocate] Selected answer as best 11th June 2024
Randy Ulvenes [SLC] [DevOps Advocate] commented 23rd February 2024

I had a customer in a similar situation who had 8 different Sat Receivers (8 different protocols) used for 900 services and had the same issue and did not want to use 8 different service templates. So what your trying to do is possible.

A few questions for clarification:
1) You want to use one Visio on one Service Template.
2) The Service Template has both Encoders as elements?
3) When you say different drivers. Are these different protocol drivers for different type/make of encoders or is it just different versions of the same protocol for the same type of encoder?

Thanks – Randy

I will go back an look

Rebecca Kelsall [DevOps Advocate] commented 26th February 2024

Hey Randy,

Thank you for your response, any help is much appreciated.

1) We are using 1 services template with a single visio
2) Yes it contains the ability to have either and will include the Element if the field is not N/A for example
3) They are different manufactures of encoders so a different driver. The rest of the flow is the same.

Marieke Goethals [SLC] [DevOps Catalyst] commented 4th June 2024

Hi Rebecca,
I noticed that this question has been inactive for some time now. If this has been resolved in the meantime, could you select the best answer to close the question?

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Randy Ulvenes [SLC] [DevOps Advocate]999 Posted 27th February 2024 0 Comments

Hi Rebecca,

Here is another option.

  1. Create the service template and add both encoder types as child elements.  I had a customer who wanted 6 different IRDs to be optional in the same service so they did not have to create 6 separate services or 6 Visio diagrams.  In the Service Template editor as seen in the image below, you can see where 6 different IRD child protocols are added.  In this case they had a primary and a secondary path so (6×2 =  12) Child elements were created. Thus this template  has all the possible IRDs that could be used in the service.
  2. When you edit the Child Element, select  “This service child is optional. ”   If you do not check this box, the service will not be created because it cannot find that specific child elements.    Checking this box means if the child element is not found, still create the service. The allows you to put child elements in the service template that may or may not be present in the service.

3. In the Visio drawing you use for the service template, make a visio object for both encoders and stack them on top of each other.  I suggest you make them the exact same size.  Visio will only display the encoder object if the service template finds that specific child element.  Other wise it does not show the object which allows you to stack and see the correct encoder.

If you would like, send me an email and I can send you the visio file.  But here is an example where all the IRDs are stacked in visio.

randy.ulvenes@skyline.be

Rebecca Kelsall [DevOps Advocate] Selected answer as best 11th June 2024
0
Daniel Lentoiu619 Posted 26th February 2024 0 Comments

Hi Rebecca,

I think I had a similar situation; I am using a service template to deploy services that have two types of IRDs (2 protocols) as part of the service.

To make the Visio generic, for the graphocal elements, I used the

Show Shape Data :

<A>-A|Element:[property:IRD_ElementID_A]|PROTOCOL|=CISCO D9854

and

<A>-A|Element:[property:IRD_ElementID_A]|PROTOCOL|=CISCO D9800

Daniel Lentoiu Answered question 26th February 2024
0
Miguel Obregon [SLC] [DevOps Catalyst]19.00K Posted 23rd February 2024 3 Comments

Hi Rebecca,

Instead of using service properties, a possible option is to include/exclude dynamically the element from the service:

Then in your overview you could use the option ServiceIncludeState to show/hide the element (value = Excluded).

Hope it helps!

Rebecca Kelsall [DevOps Advocate] Posted new comment 26th February 2024
Rebecca Kelsall [DevOps Advocate] commented 26th February 2024

Hey Miguel, thank you for trying to help here but the question wasn’t about the service template, this is working fine. The question is about the ability to hide/show in the visio that we have created. The visio we need to look the same and we want to dynamically include the correct element in the visual.

Miguel Obregon [SLC] [DevOps Catalyst] commented 26th February 2024

Hi Rebecca,
Indeed, I understood that the problem is not the service template. The objective of modifying the service template is to provide you the ability to include/exclude child elements. In that way you can use the option (ServiceIncludeState) to show/hide child elements in the Visio file assigned to the service

Rebecca Kelsall [DevOps Advocate] commented 26th February 2024

What would the syntax look like for the Visio?

I’m not sure we want to use the Conditions feature, as the template is already including/excluding without the additional configuration step. If this is the only way to show the correct element dynamically then we will consider it for sure

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