Member Junction
    Preparing search index...

    Multi-provider note: callers running under a non-default IMetadataProvider (multi-server clients) should set service.Provider = component.ProviderToUse from a parent component before invoking any methods.

    Index

    Constructors

    Accessors

    Methods

    • Open a file from a storage provider in a new browser tab. Generates a pre-authenticated download URL and opens it.

      Parameters

      • accountId: string

        The FileStorageAccount ID

      • path: string

        The file path within the storage account

      • OptionalobjectId: string

        Optional provider-specific object ID (e.g., Box file ID). When provided, uses this instead of path for faster resolution.

      Returns Promise<boolean>

      true if the file was opened successfully

    • Open a file from search result metadata. Extracts accountId and objectId/path from the RawMetadata JSON string.

      Parameters

      • rawMetadata: string | undefined

        JSON string from SearchResultItem.RawMetadata

      Returns Promise<boolean>

      true if the file was opened successfully, false if metadata was invalid or open failed