ConnectivityServiceServerPublicUri Property

Spotfire 14.3 API Reference
Gets the public Uri of the Spotfire Server currently connected to. This will be the Uri configured as "Public Address" in the Spotfire server configuration. This Uri should always be used when displaying links to the server, to library files or to the Web Player.

Namespace:  Spotfire.Dxp.Framework.ApplicationModel
Assembly:  Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax

C#
public Uri ServerPublicUri { get; }

Property Value

Type: Uri
Exceptions

ExceptionCondition
InvalidOperationExceptionIf the client is not online.
Remarks

The Uri might not be the same as the Uri used in the client because in a clustered environment a client can connect directly to the server instead of using the load balancer address.

Always check if the client is online, using IsOnline, before using this function.

Version Information

Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also

Reference