The Embedded Smart Asset Picker requires MM 5.5.3
Integration Digizuite DAM into almost any other application using the Smart Asset Picker. It will give you a head start on development efforts and reduce both implementation time and risk.
Insert into any Host Application
The Smart Asset Picker can be inserted into any host application as an iframe to easily provide access to assets from your single source of truth.
Navigate assets by searching, folders or simply using the filters you are so use to from your Media Manager, Creative Cloud Connector and Office Connector. Find all asset info and then select the asset you need for your host application by simple button click.
You can choose to place an asset in two ways:
Either click ‘Place’ from the home page as shown in above screenshot.
Click on an asset to see asset info and then click ‘Use’ to select specific quality as shown here.
When an asset is clicked then it returns an asset message with type ‘AssetMessage’ with an asset containing an asset URL to the selected asset. In that asset message, one can also find itemId, assetId, title, description and a link to the thumbnail.
Besides from asset message, then the Smart Asset Picker also posts a message when trying to change the URL from menu (wanting to change MM URL) and then when the Smart Asset Picker is initialized properly so that the host application knows.
export enum MessageType { AssetMessage = 'AssetMessage', // When clicing an asset ChangeUrl = 'ChangeUrl', // When user clicks change URL SmartPickerInitialized = 'SmartPickerInitialized', // when iframe is initialized } export interface DigizuitePostMessage { messageType: MessageType; mmUrl?: string; asset?: AssetMessage; } export interface AssetMessage { assetId: number; itemId: number; title: string; description: string; downloadUrl: string; thumb: string; extension: string; }