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

Can i use regex to beautify the presented objectnames on my service visual overview page?

Solved2.06K views24th December 2021Regex service visual overview Visio Visual Overview
4
Jeroen Nietvelt [SLC] [DevOps Advocate]1.34K 30th September 2020 0 Comments

We currently have a service visual overview page which is displaying the service definition path and its assigned resources.

As you'll be able to see in the below presented screenshot, the source resource is a contributing service as well as the 2 transport service blocks. The default names of these blocks are quite long and not that userfriendly to the operators, therefore i would like to use regex to limit the presented name to only a part of the actual full object name.

Would this be possible to configure? If so, any guidance to how to do this would be much appreciated.

Jeroen Nietvelt [SLC] [DevOps Advocate] Selected answer as best 24th December 2021

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
5
Toon Casteele [SLC] [DevOps Enabler]6.97K Posted 30th September 2020 2 Comments

In case you're showing the name of the enhanced service's element name, this is possible with RegexReplace and the [this element] placeholder. First off, in the shape where you have your text, add the following to the Options shape data: "ForcePropertyFromParent". Next, you can just place your RegexReplace placeholder in your shape text. The format will be as follows: [RegexReplace:<regular expression>,[this element],<replaceValue>]

  • <regular expression>: Let's say you want the part after the last '_' in your name. Here's what it would look like: .*_(?<niceName>.+) .*: Matches any number of characters (even no characters) _: Matches the exact '_' character (?<niceName>...): Defines a named capture group, the match of which you can then reuse in your <replaceValue> .+: Matches a part with any characters, the length of which is at least one.
  • [this element]: Gets replaced by the name of the element in the context you decided
  • <replaceValue>: Here you put what you want the matches to be replaced by, with the possibility to also reuse the named capture groups. What it looks like in this case: ${niceName}

Your eventual placeholder to put in your shape text is then: [RegexReplace:.*_(?<niceName>.+),[this element],${niceName}]

Jeroen Nietvelt [SLC] [DevOps Advocate] Selected answer as best 24th December 2021
Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 30th September 2020

This is a great solution and a creative way of using the [this element] placeholder. Nice!

Jeroen Nietvelt [SLC] [DevOps Advocate] commented 15th October 2020

Eventually I got my final result by applying the following RegEx as text in my text field: [RegexReplace:[-].+[z0-9],[this element],]

1
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.71K Posted 30th September 2020 0 Comments

Unfortunately this is currently not possible. The limitation of the [RegexReplace:] placeholder is that it can only contain other placeholders or static text. In this case, we want to push a dynamic value from the text to the placeholder. I believe this could be a powerful extension to the Visual Overview framework. If required, a task could be created for this.

Sebastiaan Dumoulein [SLC] [DevOps Enabler] Edited answer 30th September 2020
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