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

Showing the ID instead of name of resource when pointing resource in DOM

Solved132 views11th June 2025
0
SK Yip52 10th June 2025 0 Comments

Hi all,

I created a form using DOM. Instead of entering all available option in DOM editor, I use people and organization and resource studio in MediaOp. For example, i created 3 organization in people and organization (organization A, B and C for example). Then in DOM editor, I select DomInstanceFieldDescriptor, and then select (slc)people_organization, and + organization in DOM.

After I save the form, and query, it shows the organization field ID instead of the name (organization A for example). May I know how to resolve?

SK Yip Selected answer as best 11th June 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Thomas Ghysbrecht [SLC] [DevOps Enabler]4.91K Posted 10th June 2025 1 Comment

Hi SK,

When you use a 'DomInstanceFieldDescriptor', the ID of the linked DOM instance (organization in your case) is stored on the new DOM instance. GQI will simply retrieve this value and output it to the visualization (like a table). If you would prefer to see the organization name, you can use the 'Join' GQI operator to join the organization DOM instance to your own DOM instances, and select the name of the organization DOM instance (in that select, you can remove the field containing the ID then).

Keep in mind that currently, GQI would retrieve all DOM instances that are joined (all organization DOM instances). If you only have a few (tens or maybe a few hundred), this should be fine. Let me know if your situation is different, so I can suggest an alternative approach that would be more performant.

SK Yip Selected answer as best 11th June 2025
SK Yip commented 11th June 2025

Thanks Thomas, JOIN works and now my table is showing name instead of the ID.

0
Michiel Saelen [SLC] [DevOps Enabler]5.69K Posted 10th June 2025 1 Comment

Not really clear for me what you are trying to achieve. If you want to link DOM definitions together you can indeed link them by adding a field in your DOM definition that points to another DOM instance.

I would expect that when you create or edit an instance through a form in LCA, that you get a drop down to select the instance. That dropdown should show the name instead of the ID if a name definition is defined on the DOM definition. If you link it to the standard organizations definitions of MediaOps there should already be a Name definition that points to the name of the organization. Keep in mind that things might change in future version of MediaOps on data layer. We are working towards defining good helper classes that can be used in code that will be backwards compatible.

Note: In MediaOps solution we are moving more and more towards interactive automation scripts (scripting the UI) instead of forms as there are some limitations to forms (linked to data layer structure).
Some limitations for which we move to IAS:

  • No validation (it is immediately stored in DB).
  • When you linked objects in DOM all instances will be shown in the dropdown (regardless of their state).
  • On create all sections are shown (even the ones you want to hide for the user)
SK Yip Posted new comment 11th June 2025
SK Yip commented 11th June 2025

Hi Michael, Yes, I linked DOM instance to another DOM instance using either DOMInstanceFieldDescriptor or DOMInstanceValueFieldDescriptor. In the form, I can see the name. But when I use the GQI to queue it, it just show the ID, not the name. I used JOIN as suggested by Thomas and it works now. Thanks.

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