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,
Answering your 3rd question, if you want to show all protocols in a low code app from a GQI class you can use GQIDMS functionality in an ad hoc data source.
Regards,
Thanks for the reply, but I want to get like all the dom instances from “locations” for a specific section, like it is done with help of DOMHelper.
As this script I am using it for operator in low code app which will read through all element names and with custom operator it will find all invalid names.
So, in my case I have set of rules which I am hardcoding, so if I put it in DOM instance and read those rules from there it will reduce hardcoding in the script