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

Gqi message for View details

Solved297 views3rd April 2025
2
Juan Falcon250 2nd April 2025 0 Comments

Hello

It's posible ger información about the View ID of elements? I'm tring  with message of wiev but it have no info about parent View AND message of element hace no View ID .

Can i add libraries like protocol or engine ti the gqi projecto?

Thanks

Juan Falcon Selected answer as best 3rd April 2025

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
Edib Šupić [SLC] [DevOps Catalyst]2.10K Posted 2nd April 2025 7 Comments

Hi Juan,

Regarding accessing the View ID of elements:
Have you tried using Get view relations?

Regarding your question if it's possible to add libraries to the GQI project:
Following is true for any library.
If you are using SLHelper you have to copy the library DLL to the C:\Skyline DataMiner\Files folder in order to use them in the GQI.
If you are using GQI DxM you can just include them in the GQI project.

If you are unsure what approach is being used by your agent you can have a look at Enabling the use of the GQI DxM.

If you want to access SLProtocol or IEngine objects from the GQI this will not be possible, however you can use GQIDMS object to gain access to SendMessage method which will allow you to achieve a lot of functionalities of the SLProtocol and IEngine object, albeit in a more complex way.

Let me know if this helps,
Cheers

Juan Falcon Selected answer as best 3rd April 2025
Juan Falcon commented 2nd April 2025

Hello edib

Usong the message how can i ger información for View ID of elements? Or elements inside of a View?

Thanks

Edib Šupić [SLC] [DevOps Catalyst] commented 2nd April 2025

Hi Juan,

You can get the parent View ID of the element like so:
public void Run(IEngine engine)
{
var message = new GetViewsForElementMessage(dmaId, elementId);

var rawResponse = engine.SendSLNetSingleResponseMessage(message);

var response = rawResponse as GetViewsForElementResponse;

foreach (var i in response.Views)
{
engine.Log($"{i.ID}");
}
}

Depending on your needs you might have to do this recursively.

Juan Falcon commented 2nd April 2025

theres a message to get elements for a view? or doc's about all the message details, i cent found it.

Thanks

Edib Šupić [SLC] [DevOps Catalyst] commented 3rd April 2025

You can get all elements in the view like so:
public void Run(IEngine engine)
{
var message = new GetViewLinksMessage(viewId, ViewLinkInfoType.Elements);

var rawResponse = engine.SendSLNetSingleResponseMessage(message);

var response = rawResponse as GetViewLinksResponseMessage;

foreach (var i in response.Elements)
{
engine.Log($"{i.ElementName}");
}
}

Juan Falcon commented 3rd April 2025

Hello Edib, this is perfect to make the code efficient and not ask for all the elements in the DMS.
how shoud i define ViewLinkInfoType.Elements? i guest viewId is an Int32.

Thanks a lot

Show 2 more comments
You are viewing 1 out of 2 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