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

Property service created with service template

Solved1.08K views2nd January 2024
3
Stefan Schedletzky [DevOps Enabler]2.06K 8th December 2023 0 Comments

Hi,

I’m creating a lot of services with a service template feeded by a csv file.
For some channels here we have two probes and the element name is stored also as a property. So it’s easier to access the name in Visio drawings.

Creating the property:

Property from a service where only one probe is available:

My problem is now when I use a shape with Element [property:CHANNEL_ELEMENT_SOURCEPROBE2] it will be shown. Is there a way to prevent it? I guess [element:5:name] is creating something like a wildcard.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 2nd January 2024

4 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Wouter Demuynck [SLC] [DevOps Advocate]5.94K Posted 8th December 2023 0 Comments

Hi Stefan,

The “[element:5:name]” is a placeholder that gets resolved at service creation time, linking to the name of the child element with id “5”.

When there is no such child element (e.g. because it is optional), the placeholder cannot expanded and remains as is.

I’m afraid there’s no way around this without a software change (which could then return an empty value in this scenario)

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 2nd January 2024
1
Pieter Van Compernolle [SLC] [DevOps Enabler]3.26K Posted 20th December 2023 2 Comments

Hi Stefan,

Do I understand correctly that you have a service (created via service template) with custom property ‘CHANNEL_ELEMENT_SOURCEPROBE2’ having the value ‘[element:5:name]’? And then in your Visio you have a shape with shape data ‘Element’ equal to ‘[property:CHANNEL_ELEMENT_SOURCEPROBE2]’ and that links effectively to an element?

So this is how your ‘service’ properties window looks like

And this is how your Visio shape data looks like:

Pieter Van Compernolle [SLC] [DevOps Enabler] Edited answer 20th December 2023
Stefan Schedletzky [DevOps Enabler] commented 20th December 2023

Hi Pieter,
yes this is the root cause I would say. I guess [element:5:name] will be empty used in a shape and so it takes any element.

Pieter Van Compernolle [SLC] [DevOps Enabler] commented 20th December 2023

If the value of your property does not match with an element name, then it should not link and be hidden actually. So I’m wondering why it is showing up.
I’ll extend my answer with screenshots to further clarify what I mean and to see what is wrong in my understanding.

0
Stefan Schedletzky [DevOps Enabler]2.06K Posted 20th December 2023 2 Comments

Hi Pieter,

need to start new answer to show you a picture:

Here you can see the setup, important it’s a child view! Even if I remove ServiceContext it will be there. I guess the picture is self explaining 🙂

Pieter Van Compernolle [SLC] [DevOps Enabler] Posted new comment 10th January 2024
Pieter Van Compernolle [SLC] [DevOps Enabler] commented 9th January 2024

Aha, it’s a child shape! Child shapes that cannot link fallback to the context of the parent for alarm coloring. In your case the rectangle will get the alarm color of the service and the * will not be replaced by anything.
I can’t immediately think of a way to workaround this.

Pieter Van Compernolle [SLC] [DevOps Enabler] commented 10th January 2024

One thing you can consider though is trying to get something on top of it in case it is not linked. That subshape could then have a ‘NoAlarmColorFill’ Option and a Show condition linking to one of your service properties.

So your shape data could look something like this:
Options: NoAlarmColorFill
Show: -A|Service:*|PROPERTY:ChildNotAvailable|=1

0
Stefan Schedletzky [DevOps Enabler]2.06K Posted 8th December 2023 0 Comments

Hi Wouter,

I thought it’s maybe impossible to do something. I tried also to adapt my csv script that if instead of n/a values I put in this “Dont use me as a Filter”.

After that I thought that the shape will not show up. But the shape is still there. Therefore I tried to work with show/hide like this:
<A>and<B>-A|Service:[this service]|Property:CHANNEL_MPTS_SID_BACKUP|Regex=^Dont use me as a Filter$-B|Service:[this service]|Property:CHANNEL_ELEMENT_SOURCEPROBE2|Regex=^Dont use me as a Filter$
<A>and<B>-A|Service:[this service]|Property:CHANNEL_MPTS_SID_BACKUP|Regex=Dont use me as a Filter-B|Service:[this service]|Property:CHANNEL_ELEMENT_SOURCEPROBE2|Regex=Dont use me as a Filter

But this is also not working the shape is always shown.

Stefan Schedletzky [DevOps Enabler] Answered question 8th December 2023
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