Function generateThumbnailStorageFilename

  • Generates a folder and filename for storing a copy of an item's thumbnail in a storage item.

    Parameters

    • itemId: string

      Id of item

    • thumbnailurl: string

    Returns {
        filename: string;
        folder: string;
    }

    Folder and filename for storage; folder is the itemID suffixed with "_info_thumbnail"; file is URI-encoded thumbnailUrlPart

    • filename: string
    • folder: string

    See

    convertStorageResourceToItemResource