LibraryLinksTryGetRedirectUri Method

Spotfire 14.3 API Reference
Tries to get a uri for a Spotfire Server redirect page of the specified library item, which should be accessed through http or https.

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

C#
public bool TryGetRedirectUri(
	LibraryItem item,
	LibraryLinksOption option,
	out Uri uri
)

Parameters

item
Type: Spotfire.Dxp.Framework.LibraryLibraryItem
The library item to retrieve the Spotfire Server redirect page uri for.
option
Type: Spotfire.Dxp.Framework.LibraryLibraryLinksOption
The option for generating the resulting uri.
uri
Type: SystemUri
The Spotfire Server redirect page uri for the specified library item.

Return Value

Type: Boolean
True if successfully created a uri for a Spotfire Server redirect page; otherwise false.
Exceptions

ExceptionCondition
ArgumentNullExceptionIf item or option is null.
Remarks

Use Uri.AbsoluteUri on the resulting uri for a correct string representation if Path is used.
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