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
    • 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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Learn more about 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)
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

Regex How to replace table stringValue by an other matching stringValue

153 views5 days ago
2
Olivier SAGET107 10th March 2026 6 Comments

Hello,

I'm not very familiar with using regular expressions, but I think it's the best way to display what I want in my case.
In a Visio, I have a shape like the one below to display the result of a parameter.

the result is :

But I'd like it to display the label of another parameter instead.

This parameter is an SNMP element, and the label corresponds to an ID value, while the parameter value is an integer. I'd simply like to be able to switch between this integer and its label in the graphical interface.

For exemple, if my value is "1" i would like to show the "Ch1.Label" StringValue and if the value is "2" i would like to show another parameter, in that case the "Ch2.label"

How can i do this ?

Best regards

Klaas Dewitte [SLC] [DevOps Advocate] Posted new comment 5 days ago
Miguel Obregon [SLC] [DevOps Catalyst] commented 10th March 2026

Hi Oliver,
Can you further elaborate a bit further your question?
– You mention 'This parameter is an SNMP element', do you mean a SNMP parameter? which column in your screenshot are your referring to?
– What is the purpose of the column parameter 'String Value'?
If you know that the label will always have the same structure 'ChX.Label'
Is it not an option to include the text in the shape?
For example, if you use Ch*.Label in your text shape, the wildcard '*' will be replaced with the value of the active channel.

Olivier SAGET commented 10th March 2026

Hello,
yes my element is a generic SNMP pool.
the Table is created with parameter i created. Each line is for an unique oid

For the first one on my screen, the "ActiveChannel" snmp return the "StringValue" = 1 because my element is using actually the first Channel of an audio device.

The other parameterName, for exemple "Ch1.Label" and "Ch1.disable" give me the actual setting of the first audio Channel of my element.
This means that :
– my first Channel is called "Channel 1 " (because snmp give me this info, when i pool this dedicated oib)
– my channel is enable because snmp give me the status equal = 1 (that's means, it's enable)

And on my shape i would like to have the label of my channel instead of only the Number (sometime the label is nothing related to the channel number, like "Main Audio"

I will try replacing with the "*" wildcard

Olivier SAGET commented 10th March 2026

The wildcard is working but not correctly. it replace the "Ch*.Label" into "Ch1.Label" on the shape…. But i would prefer to have the actual StringValue of this "Ch1.Label"

Tom Waterbley [SLC] [DevOps Enabler] commented 7 days ago

Hi Olivier, could you please try the following:

305:Ch[param:*,305,ActiveChannel].Label

Olivier SAGET commented 7 days ago

Hello Tom, thanks for your answer.
It's showing nothing with your syntaxe
if i'm correct, what you propose should be resolve to = 305:Ch1.Label (or 305:Ch2.Label )
That means : [param:*,305,ActiveChannel] should be = 1 or 2
but nope
I think your idea if i can make it work should be amazing 🙂

Show 1 more comments

0 Answers

  • Active
  • Voted
  • Newest
  • Oldest
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

© 2026 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