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

DIS – parameter names aren’t suggested in Visual Studio

Solved1.45K views9th June 2021DIS
2
Sean Kim [DevOps Member]28 7th June 2021 4 Comments

Hello,

I'm having an issue in Visual Studio 2017 where parameter name variable is not suggested. For example, in QAction, I am using protocol.NotifyProtocol (/*NT_FILL_ARRAY_WITH_COLUMN*/) to update a table but when I type "Parameter", nothing is suggested and Visual Studio is trying to replace it with "GetParameters" method. What I need for VS is to suggest table name after that, or if I remember correctly, a list of parameters/tables. A working code looks like this:

Parameter.<table_name>.Pid.<parameter_pid>

I have tried to guess what the parameter_pid should be but DIS validator is throwing a compile error. Any way to turn that suggestion back on?

What does "Generate QAction Helper Code" suppose to do? It doesn't seem to be doing anything for me.

Error message:

I have found out if I change the parameter name from 'operator' to 'leaseoperator' and use variable leaseoperator_2804, it doesn't generate any error message. However, this is a guessing game at this point w/o the help of DIS.

Thanks!

Sean Kim [DevOps Member] Selected answer as best 9th June 2021
Thijs Vanovenacker [SLC] [DevOps Advocate] commented 7th June 2021

Hi Sean,
Can you post what exception you see in the DIS Validator module please?
Thanks

Tom Waterbley [SLC] [DevOps Catalyst] commented 7th June 2021

Hi Sean. Do you get an exception when you force DIS to generate the helper code via DIS > Protocol > Generate QAction Helper Code?

Sean Kim [DevOps Member] commented 7th June 2021

Hi Tom,
No, actually, nothing happens when I click on Generate QAction Helper Code (both in XML or inside QAction). What should happen? I’ve been using keyboard shortcuts to generate code in protocol (adding parameters, QActions, Timers, etc)…

Tom Waterbley [SLC] [DevOps Catalyst] commented 8th June 2021

I think it will be easier to investigate further during a call. Feel free to contact me on tom.waterbley@skyline.be to setup a call.

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Thijs Vanovenacker [SLC] [DevOps Advocate]2.20K Posted 7th June 2021 7 Comments

Hi Sean,
Can you verify if your protocol XML is valid?
If you check the DIS tree, corrupt XML items will be shown in red:

When this is the case, the Protocol helper will not build correctly and result in the Parameter class not to be present.

After fixing the XML breaking section, the Parameter class is accessible again.

If you don't see it getting fixed automatically, you can also try to re generate the QAction Helper Code.

(DIS/Protocol/Generate QAction Helper Code)

When it comes down to renaming Parameter names, this will indeed also create compilation errors on the QActions in case these are referenced by there name. such as Parameter.<paramName>

Opening the QAction will let you use the error console to view where the issues are. With the intellisense (CTRL + SPACE) of Visual Studio you should be able to set things right again.

Hope this helps!

Thijs Vanovenacker [SLC] [DevOps Advocate] Posted new comment 7th June 2021
Sean Kim [DevOps Member] commented 7th June 2021

Hi Thijs,
I don’t see any highlighted line in my DIS Tree panel. (How do I attach a picture?)

Thijs Vanovenacker [SLC] [DevOps Advocate] commented 7th June 2021

Hi Sean, comments don’t support images yet. Can you edit your question itself (settings button beneath your question) and upload some screenshots over there? thanks!

Just checking, but I guess you have following using in your code enabled?
using Skyline.DataMiner.Scripting;

I also updated my answer to show how to force rebuild the Helper files.

Sean Kim [DevOps Member] commented 7th June 2021

I have updated the original question to include a snippet of my DIS Tree.

Thijs Vanovenacker [SLC] [DevOps Advocate] commented 7th June 2021

Hi Sean,
you have to open the respective QAction (or even all QActions) to get to these errors. The Visual Studio error console will nicely show where the issue is, and via the intellisense you can find the new parameter in case you renamed parameters.

Opening one or more QActions can be done via the QAction XML tag and click on the button before this tag. This will open the QAction in a separate window.

Thijs Vanovenacker [SLC] [DevOps Advocate] commented 7th June 2021

Hi Sean, based on the updates of your question, I have also updated the answer to assist you in how to visualize where the QAction code errors are based on referenced renamed parameters.
Please let us know if that’s good enough to support your case, or if you have further questions.

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