I must be missing something as I thought this should be simple. I'm creating a protocol that uses http request. In the QAction I'd like to retrieve the polling IP address (the one you specify when you create the element).
How can this be done?
Thanks!
Hi,
The easiest and best way to get the polling IP of your element is by adding a parameter of type polling to your protocol.
In your QAction you can then perform a GetParameter action on this parameter.
e.g.
<Param id="10" trending="false">
<Name>PollingIP</Name>
<Description>Polling IP</Description>
<Type>pollingip</Type>
<Information>
<Subtext></Subtext>
</Information>
<Interprete>
<RawType>other</RawType>
<Type>string</Type>
<LengthType>next param</LengthType>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
</Display>
<Measurement>
<Type>string</Type>
</Measurement>
</Param>
This works. Thank you.