Normally an item’s URL is generated from the item’s name. We recently needed to have item URLs differ between languages. The solution was quite simple: set the linkmanager to use display name when generating URLs! The display name is language…
Normally an item’s URL is generated from the item’s name. We recently needed to have item URLs differ between languages. The solution was quite simple: set the linkmanager to use display name when generating URLs! The display name is language…
I needed to create new media items programatically and a quick trip via Google came up with this excellent piece of content. Only thing is, I needed to fetch the image from a URL, not a file and came up…
In order to retrieve Sitecore Items from inside of a WCF Service you can get the database using var db = Sitecore.Configuration.Factory.GetDatabase("web"); and then simply call var item = db.GetItem("sitecore/content/Home/Item");. However, the WCF service is completely unaware of the Sitecore…