Skip to main content
RSS feed Subscribe to feed

 

Locate an Information Link by Browsing

This example shows how to let the user select an information link by browsing for it, and then load it.

/// <summary>
/// Browse for an InformationLink and open it.
/// </summary>
/// <param name="application">The TIBCO Spotfire application</param>
public static void BrowseForInformationLink(AnalysisApplication application)
{
    // Locate the InformationLink by Browsing.
    InformationLinkDescriptor link = InformationLinkDataSource.BrowseForInformationLink();

    // Create an InformationLinkDatasource with the identifier from the found link.
    InformationLinkDataSource datasource = new InformationLinkDataSource(link.Id);

    // Open in TIBCO Spotfire Application
    application.Open(datasource);
}