Function convertStorageResourceToItemResource

  • Extracts an item's resource folder and filename from the filename used to store a copy in a storage item.

    Parameters

    • storageResourceFilename: string

      Filename used to store the resource, metadata, or thumbnail of an item

    • storageVersion: number = 0

      Version of the Solution template

    Returns IDeployFilename

    Folder and filename for storing information in an item, as well as the type (resource, metadata, or thumbnail) of the information; the folder property is only meaningful for the resource type

    See

    • generateResourceStorageFilename
    • generateMetadataStorageFilename
    • generateThumbnailStorageFilename
    • convertItemResourceToStorageResource