Good morning.
I am new to DIS. I have been working through the online training. In one of the sections "Data Ingest and Control Plane Development: Concepts" it is shown on the screen that DIS suggests options for the type field after the snippet is added for example
<Measurement>
<Type>(dropdown with options)</Type>
</Measurement>
On my setup however I do not receive any options, so I'm not sure if I perhaps missed a configuration step somewhere? I could also not do the same as what was showed in the video where I click on File->New->File as I do not have the option Dataminer under general, I could do this by selecting a new project and then selecting DataMiner Connector Solution which up until now gave me the same result as seen in the video so I did not think much of it.
Here is an example of what is shown in the video
WorkingExampleShownInTraining.PNG
And then what I see
My options for "new" files
I also read in previous questions allot of times it was due to the NuGet packages not configured correctly, I had a look at mine and they do look correct from my untrained viewpoint, picture for reference.
Hi Johannes,
In order to see suggestions just press ctrl + space in appropriate places, note that not everything has suggestions.
As for the templates. DIS doesn't come with File level templates, only with Project level templates, which you have. DIS changes fast and some features might not be available anymore or might look different but do the same thing(as is case here), it might be the case that File level templates existed in the past, but they were replaced in favour of Project level ones.
Keep in mind that neither of these are DIS specific things, rather Visual Studio features. If my suggestions don't work for you I would suggest as next step to make sure Visual Studio is configured properly and that these VS features work for other types of projects/templates.
Let me know if I can help you with anything else,
Cheers
As you are new to DIS you might not know about the Ctrl+k+x shortcut (to be used in an xml file). This also a very handy one, it gives you access to all sorts of snippets eg: basic tables, snmp tables, different parameters,… If you never used it I can highly recommend it 🙂
Hi Johannes,
These suggestions are auto generated by Visual Studio based on the xml schema definition. If you should continue to have issues with the suggestions you can check these things:
- Verify that the connector you are working on has the correct "xmlns" attribute in the protocol tag: <Protocol xmlns="http://www.skyline.be/protocol">
- Verify that the protocol.xsd file is present in this path: C:\Program Files\Microsoft Visual Studio\2022\Professional\xml\Schemas\. If all went well during the DIS installation, it should be there already. Note this path can be slightly different depending on your Visual Studio version and installation options.
Good morning Edib. Thank you for the well explained response!