Using Akamai Net Storage for Sitecore Media Items

Sunday, January 23, 2011

This article provides some ideas on how to leverage an externally hosted Media Library, such as, Akamai NetStorage.  Click to view the full post.

Web.config changes in the renderField section. The order is very important here. It must go immediately before the Sitecore.Pipelines.RenderField.ExpandLinks processor. If it goes after this, then the links will already be expanded and can't be updated by the Net Storage media URLs.

Add NetStorageMediaProvider.ChangeMediaLinks class in assembly NetStorageMediaProvider.dll

<renderField>
   <processor type="Sitecore.Pipelines.RenderField.SetParameters, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetFieldValue, Sitecore.Kernel"/>
   <processor type="NetStorageMediaProvider.ChangeMediaLinks, NetStorageMediaProvider"/>
   <processor type="Sitecore.Pipelines.RenderField.ExpandLinks, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetImageFieldValue, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetLinkFieldValue, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetInternalLinkFieldValue, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetMemoFieldValue, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetDateFieldValue, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.GetDocxFieldValue, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.AddBeforeAndAfterValues, Sitecore.Kernel"/>
   <processor type="Sitecore.Pipelines.RenderField.RenderWebEditing, Sitecore.Kernel"/>
</renderField>

Add NetStorageMediaProvider.NetStorageMediaProviderHook to the HOOKS section in the Web.config file. The order of the hooks doesn't matter, but I've added it to be the last hook.

<hook type="NetStorageMediaProvider.NetStorageMediaProviderHook, NetStorageMediaProvider"/>

Comments

Pitkin

Complex evolutionary process towards the knowledge society is judged under two classes of vectors, technological vectors and functional vectors. Read further

joye 510

thanks for sharing this stuff it was really good!

craftsman multi tool blades

Storage is very important to keep many data. You need to refresh the storage regularly. craftsman multi tool blades

faikhhidrus

Using a new product or program is often reap a lot of problems. This is because there are many people who still have to adapt to these products that used. james bond themed event

remote dba

Using virtual storage for document is quite good. The storage are able for many. Then, people will not be worry to lost the document. remote dba

AFL odds

Using a new product or program is often reap a lot of problems. This is because there are many people who still have to adapt to these products that used.

ley laboral

Sometimes, people think that media are something that publish news. It happens because the television and radio stations label themselves as media for people to know information. However, the content of the television and radio programs are not informative enough.

House Cleaning San Antonio

There are many things you can develop a program or product. However, you still have to look at market share so that the development is not in vain. House Cleaning San Antonio

Alaska Website Design

Developing a product is not an easy thing. You need a proper analysis so that you take the right decisions and not to harm many people around you.

Alaska Salmon Fishing

They have their own choices for the storages. But security is the most important parts while choosing it. Alaska Salmon Fishing

Pop Up Canopies

There are things you should know a lot of people with clear, but there are also things that should not be widely known. You can see amazing things from the internet. Pop Up Canopies

visual impact muscle building review

Storage is very useful to keep data. We need to protect the storage well from virus or spam.

garrysimeone

I really hope this kind of cooperation can lead people becoming more view the utilization of software. In my opinion quickly, we'll have robust romantic connection the other person to construct one more cooperation and increasing information in this field. outdoor furniture online

BRM Watches for sale

Your article is very interesting, very rich in contents, give me a lot of inspiration, hope to see more of your wonderful article, thank you.

Mini Imprimante Autoboss V30

LAUNCH Europe Scanner X431 Full. It includes SAAB,Alpha Romeo, Euro Ford, Opel, Volvo, Renault, etc. Updated by the official website. 100Z

Jin

any detail, could you guys put it in something more detail?

Bankruptcy Chicago

They must preparing the spaces for the data. So they can using it better on the process. Bankruptcy Chicago

online payday loans

online payday loans This is really interesting, You're a very skilled blogger. I have joined your rss feed and look forward to seeking more of your fantastic post. Also, I've shared your web site in my social networks!

how to make money

Really your blog is very interesting.... it contains great and unique information. I enjoyed to visiting your blog. It's just amazing.... Thanks very much

power tools

Is the store by using Akamai is safe and secure? I'm not too confident with the new product before there is real proof of account providers.

Ettienne

Hi there, can you please provide a link to the implementation of the Provider? We are considering an integration with Netstorage and would be very interested in looking into it.

Joseph

I need to implement something like this for my site. Where can I download the provider?

Add your comment

 
 

 

Are you a human? Sure you are, please just prove it: