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

Visual Overview – How can I trim the content of Info shape data

Solved1.47K views24th May 2021Microsoft Visio visual Visual Overview
5
João Severino [SLC] [DevOps Catalyst]13.02K 24th May 2021 0 Comments

I am creating a Visual Overview to display information about services in a view.

Doing some tests with services with a long name, I get the following

I am using Info shape data as documented here and as can be seen below

In this case, I would like to keep the first and third names as is, but trim the middle one to either a specific number of lines or a specific number of characters followed by … (i.e. ‘I Needed Another Service yet again and again and …’)

Is it possible to achieve this? Or apply a Regex to the shape data result so that it is trimmed?

EDIT:

Following, Sebastiaan’s suggestion gives the following result

I also tried to use the [this element] but it resolves to the name of the element where the Visual Overview is applied, even when using Option NoCopyElementProperty

João Severino [SLC] [DevOps Catalyst] Selected answer as best 24th May 2021

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
4
Sebastiaan Dumoulein [SLC] [DevOps Enabler]12.80K Posted 24th May 2021 3 Comments

You can place the keyword in between square brackets directly in the shape text. It’ll then get replaced by the value of the keyword in the Visual Overview. For instance, “My name is [name]”.

You can even wrap it in other placeholders. For your use case, you’ll want to wrap it in a [RegexReplace:] and use named capture groups.

João Severino [SLC] [DevOps Catalyst] Selected answer as best 24th May 2021
João Severino [SLC] [DevOps Catalyst] commented 24th May 2021

Hi Sebastiaan, I tried starting with just the keyword between square brackets and it results in showing [NAME] in the shape itself. (see edit for more details)

Could it be because I am using this visual overview on an element with the Children feature?

Sebastiaan Dumoulein [SLC] [DevOps Enabler] commented 24th May 2021

It’s hard to say this without knowing your configuration. As with all Visual Overview functionality, i suggest to start and try it out in a simplified example. Create a single shape, link it to an element and try setting the text using the placeholder.

João Severino [SLC] [DevOps Catalyst] commented 24th May 2021

Thanks for the tip in starting with a simplified example.
In the end, I was missing the shape data Element * in the inner shape of the group to make it work

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