Hi,
Question 1) I want to know how we can get list of names of all protocols in the automation script?
Question 2) If from low code app we pass the protocol name and the list of table names, so how we can get the table Ids for those table names related with that protocol.
Question 3) From an GQI class like
[GQIMetaData(Name = "Validate Naming Convention")] public class ValidateNamingConventionForDevices : IGQIColumnOperator, IGQIRowOperator{
private readonly GQIColumn _colIsNameValid = new GQIBooleanColumn("Is Name Valid");
public void HandleColumns(GQIEditableHeader header)
{
header.AddColumns(_colIsNameValid);
}
............
private bool IsValidName(string elementName)
{
var engine = new Engine();
var helper = new DomHelper(engine.SendSLNetMessages, "locations");
can we create an object of engine here and then use dom helper to retrieve DOM related data?
Hi Apurva,
Sorry for the late answer, but we saw that your second question was not answered yet.
To retrieve a list of parameters and their IDs, a GQI custom data source is needed. I’ve quickly created one that retrieves the list of parameters, based on protocol name and version. It can be found here: https://github.com/SkylineCommunications/SLC-GQIDS-ProtocolParameters. The script can easily be extended to also return other information of the parameters.
The readme page on GitHub contains some basic info about how it can be used.
Hope this helps. Please let us know if more assistance is needed.
This example is available on our Catalog and can be used as soon as you deploy it to your system: https://catalog.dataminer.services/details/automation-script/5831