Hi,
I'm trying to retrieve information from an enhanced service protocol, but I've encountered several challenges:
- SLNet Message - GetParameter():
I initially attempted to use the standard SLNet message GetParameter(), but it didn’t work since this is not a "normal" element/connector. - SLNet Message - GetElement():
I also tried using GetElement(), but it failed for the same reason—it’s not recognized as a standard element. - Service Information via SLNet:
While querying SLNet for services, I could retrieve basic service details like name, ID, and properties. However, I couldn't access parameter or table data from it. - Reservation and Service Definition:
Since the enhanced service is created when a reservation is made, I checked the reservation and service definition, hoping to find useful information. Unfortunately, I didn’t find anything relevant there either.
Does anyone have ideas or suggestions on how to retrieve parameter/table information from an enhanced service protocol?
Kind regards,
Hi Jose,
To query the service information via SLNET, you can check the service element property on the service object to find the associated linked element. Using those IDs, you can perform a GetParameter operation, which will return the corresponding parameter values.
note: This is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice.
Regards,
Hi Debeuf,
Thanks for the help 😉
Kind regards,