Hi,
I was looking into embedding a web page into a VISIO shape, by using the <ElementIP> and the custom port (set in the element settings for polling) as the first part of the link - so that I can specify just the remaining path of the url in the "Value" for the shape: something somehow equivalent to [this element] would work, so that it can be associated within a protocol VISIO. Is this an available option? But to load the page, I'd need also the port info stored in the "Polling IP" column shown in the screenshot (web server on a custom port).
Alternatively, for compatibility with future releases, could someone advise if this would be better handled by creating a second web page for the element itself, pointing at a custom url (with polling IP & port as the first part of the url to be loaded)?
Thanks
Hi Alberto,
The <ElementIP> placeholder only contains the ip address itself, the port number is not included. Currently, the Visual Overview does not contain a method to directly fetch this port number.
Although the following workarounds are not ideal, they should work:
- Duplicate the port number in an element property and use the [property:] syntax to retrieve its value.
- Duplicate the port number in a parameter and use the [parameter:] syntax to retrieve its value.
- (Advanced) Create a script that accepts the element name, gets the element data object and returns the port number as a session variable (Available from 10.0.13 onwards).
The above approaches will continue to work in future releases as well. If you feel these workarounds are not good enough, feel free to create a new feature software request for this.
Sebastiaan, Miguel – thanks for your feedback, much appreciated.
At this stage I’m brought to think that with the definition of an additional parameter of IP type I could link it on a new emebedded page at protocol level, so that I can get any custom port used during the creation of the element: when doing so, can we add a custom path to the IP parameter in order to build a custom path for the “Embedded webpage”?
See the box circled in orange in my screenshot above, with “[id6]” used as the paramter – thinking of using the new parameter there, but only if I can concatenate at the bottom the custom path for the full url – is this something normally allowed in a DM protocol?