Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property name

Type

Description

Name

String

The title of the asset.

Description

String

The description of the asset.

AssetId

Int

This is a unique id coming from the DAM Center.

AssetTypeId

Int

This is a unique id, representing what kind of type the asset is. Ex. images equals 4 and video equals 1 etc. This id can be mapped to an item in this location:system/modules/Digizuite/[silo id]/AssetTypeRoot

AssetTypeName

String

The name of the asset type.

AssetSiloIdStringThe Sitecore itemId of the silo this asset is part of.
AssetSiloNameStringThe Sitecore item name of the silo this asset is part of.

ImportedBy

String

The name of the user who uploaded the asset.

CreatedDateTime

DateTime

The upload date.

ChangedDateTimeDateTimeThe change date.
FilesizeLongThe file size of the original file in bytes.
FilesizeabreviatedStringA more readable version of the file size ex. 606.34 KB
ExtensionStringThe extension of the original file.

VideoLength

String

Is the asset being of type video, this is the length of the video.

VideoWidthIntThe width of the original file.
VideoHeightIntThe height of the original file.
VideoFpsFloatThe frames per seconds of the original file.
ImageWidthIntThe width of the original file.
ImageHeightIntThe height of the original file.
ImageDpiIntThe dpi of the original file.

DynamicMetadata

IDictionary<string, string>

This dictionary will contain all the dynamic metafield from the DAM Center. The key is the MetafieldId of the metafield. All metafields can be found either in DAM Center or at this location in Sitecore:system/modules/Digizuite/[silo id]/MetaGroupRoot.


Method name

Description

Ex. of return value

GetMediaUrl()

String

The title of the asset.GetDownloadUrl(string mediaFormatId)

Returns the media URL for the source file.

/media/512ffeba519249ff866095d7a25846ec/1-source

GetMediaUrl(string mediaFormatId, int resizeWidth = 0, int resizeHeight = 0, bool keepAspectRatio = true, bool allowUpScale = false))Returns a media URL for the specified quality (mediaFormatId). You have the opportunity resize the image. By default the keepAspectRation is true and allowUpScale is false./media/512ffeba519249ff866095d7a25846ec/1-50044/resize/100x0/options/keepaspectratio

GetDownloadUrl()

String

The description of the asset.

Returns the download URL for the source file.

/media/512ffeba519249ff866095d7a25846ec/1-source/options/download

GetDownloadUrl(string mediaFormatId)Returns the download URL for the specified quality (mediaFormatId)./media/512ffeba519249ff866095d7a25846ec/1-50044/options/download

GetDigizuiteStreamingUrl(string mediaFormatId)


Int



This is a unique id coming from the DAM Center.








3.5.1 How to retrieve metadata for the field type Asset

...