We do not recommend that you access raw fields on the item directly, we recommend to use our api to retrieve metadata.
4.1 Accessing metadata
On each of the three DFS field types Asset, AssetLink and AssetList, have a property called AssetMetadata which exposes the metadata of an asset. AssetMetadata model The api will return a well define model of type AssetMetadata which contains the following properties and methods:
Property name | Type | Description |
---|---|---|
Name | String | The title of the asset. |
Description | String | The description of the asset. |
AssetId | String | This is a unique id coming from the DAM Center. |
AssetTypeId | String | 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. |
ImportedBy | String | The name of the user who uploaded the asset. |
CreatedDateTimeCreationism | DateTime | The upload date. |
VideoLength | String | Is the asset being of type video, this is the length of the video. |
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. |
...