Versions Compared

Key

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

The integration between Digizuite and Episerver Optimizely will auto-generate Episerver Optimizely URLs for the assets. 

All Digizuite Assets will typically get a url like this: (host)/globalassets/(digizuite entry point)/(Asset custom url segment). The Digizuite entry point is by default "digizuite", and the custom url segment is auto generated, so an example of a path could be:

...

GetUrlSegment is called when the Content Asset object is created. It takes an EpiserverAsset Optimizely Asset which is essentially a dictionary with all the key/value pairs retrieved from Digizuite. By default we simply combine the AssetID and the AssetName in the url and adds the proper extension.

GetAssetIdFromUrlSegment is called whenever we have a URL Segment and quickly need to determine the AssetId.


Extending the Url

Remember, that the URL can also be extended by supporting that you can append "/" and the name of a Blob property on the url to retrieve that property. And by doing custom content asset models you can create many different blob properties and map them directly to Digizuite media formats. Read more about that here: DFO 3.0.0 - 2 Modelling Asset Content Types.

...