I am working on an IAS that works together with the Generic Ping driver. The IAS needs to set a parameter from a table to true, the issue is that the table contains the read parameters only. To put you in context, the table includes the destinations to which I want to do ping to, and my job is to add a row to that table (thus a new destination to ping to). That row contains among one of its columns the value of the Admin Status, which can be set to enable or disable depending if you want to enable the ping or not.
I have managed to add a row to the table, and to set the READ parameter to true by adding that row and setting the appropriate value to the column, the issue is that the logic behind the driver is related to the WRITE parameter, and not the READ parameter. As such, I can see that the READ parameter got enabled as I can see the value set to Enabled in the row I have added, but there is no pinging being done. I know the PID of the write param, but I have no way of linking the specific row's (in other words the specific destination) READ param to that row's WRITE param which I want to Enable/Disable.
For investigation purposes, I am working with the latest version (3.1.2.13) of the Generic Ping driver which can be found in the following Catalog link Generic Ping | Catalog (dataminer.services) . The table I am adding a row to is the table 1000, and the parameter that I am doing a set to currently is the read param 1009, while I would like to be able to update the write parameter 1059.
In this context, is there a way to do find that relationship between a READ and WRITE parameter that share name?
Hi Jon, it should be possible to set the correct value by using parameter ID 1059 instead of 1009 as follows:
element.SetParameterByPrimaryKey(1059, "key", value);
Alternatively you could also set the column by using it's name:
element.SetParameterByPrimaryKey("PingAdminStatus", "key", value)
That worked! Thanks Tom 🙂