Hi Dojo,
From the help we see we are able to get a parameter value from an Element by sending:
GET:ELEMENTNAME:PARAMETERNAME
And this is working fine for normal parameters. But we would like to get the value of a parameter in a Table. We've already tried adding the RowKey or DisplayKey, but it doesn't seem to work.
GET:ELEMENTNAME:PARAMETERNAME:RowKey
Would anyone know if this is feasible, and how it needs to be formatted?
In the documentation we now find the answer to the question: https://docs.dataminer.services/user-guide/Advanced_Modules/Mobile_Gateway/Command_reference.html
We need to send it as:
GETX:ElementName:ParameterName|TableIndex
NOTE
- The table index (i.e. the primary key) should only be included for table column parameters. This is supported from DataMiner 10.2.0/10.1.10 onwards.
- Getting the value from parameters with a pipe character ("|") in the parameter name is no longer supported from DataMiner 10.2.0/10.1.10 onwards.
- If an argument contains a colon (“:”) or a table index contains a pipe character (“|”), this character must be preceded by a backslash (“\”).
Have you tried the group separator character?
https://www.compart.com/en/unicode/U+001D
Just a wild guess, but have you tried with a slash as that is usually used to indicate an index? (and try with rowkey and displaykey)
GET:ELEMENTNAME:PARAMETERNAME/RowKey
Thanks for testing it out. In the meantime I found RN 16102, that one mentions that it’s supported since 9.6.0 main release, a get uses PK and set uses both PK or DK, but unfortunately the RN doesn’t mention how to execute the get or what the syntax looks like.
We tried the suggestion : GET:ELEMENTNAME:PARAMETERNAME/RowKey .
But this also did not work.