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

Can’t Get Primary Key Column in Visio

Solved765 views11th July 2023Visio
0
Mauro Merconchini [SLC] [DevOps Member]65 30th November 2022 0 Comments

I have an element with the name CTECRPCC01. In this element there exists a table called "DPIC Interfaces" (PID 4100). In a Visio shape, I want to get the table's primary key column (PID  4101)

In Visio, I have a shape that I am using to try and go to this element and retrieve this primary key column.

However, the bottom shape doesn't work correctly. Instead of giving me the 4101 column containing the primary keys, it will give me the 4202 column containing the names. If I change the 4101 to any other column number, it will work correctly, but not the 4101.

Can someone help me understand what I might be doing wrong here? Is it just not possible to get primary keys in Visio? How can I work around this if that's the case?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Toon Casteele [SLC] [DevOps Enabler]7.00K Posted 1st December 2022 2 Comments

Those protocols are configured with naming on the table (example below). That means when you request the key it will go through the naming logic to show the display value. That results in what you are seeing.

options=";naming=/2402"

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 11th July 2023
Mauro Merconchini [SLC] [DevOps Member] commented 1st December 2022

Thanks for pointing this out, I hadn’t checked for that particular detail. Do you know of any workarounds or a way to bypass this naming logic in the Visio so that I can get the real values in the column? Would the only viable alternative be to create a new column in that table that clones the primary keys?

Toon Casteele [SLC] [DevOps Enabler] commented 1st December 2022

As is often the case, there is a more complicated workaround by executing an automation script upon the page opening and outputting all keys into a session variable from within the script. But maybe it’s more interesting to know the actual use case to figure out why exactly the keys are needed?

You are viewing 1 out of 1 answers, click here to view all answers.
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

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin