<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Blog posts by Lars Smeby</title><link href="http://world.optimizely.com" /><updated>2014-04-24T14:42:04.0000000Z</updated><id>https://world.optimizely.com/blogs/Lars-Smeby/</id> <generator uri="http://world.optimizely.com" version="2.0">Optimizely World</generator> <entry><title>Finding pages linking to an UnifiedFile</title><link href="https://world.optimizely.com/blogs/Lars-Smeby/Dates/2014/4/Finding-pages-linking-to-an-UnifiedFile/" /><id>&lt;p&gt;I’m working on a project where we’re using EPiServer 7.1 and the standard EPiServer Search. The files returned by the search are UnifiedFiles, but we wanted to display where on the site the files are being used.&lt;/p&gt;  &lt;p&gt;I had trouble finding anyone else with the same problem, but finally I found a solution, though obsolete in EPiServer 7, in this &lt;a href=&quot;/link/0c3ece89e7b64eff85f54e4a33f313f4.aspx&quot;&gt;thread&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;I ended up using the code below:&lt;/p&gt;  &lt;p style=&quot;font-family: &amp;#39;Courier New&amp;#39;; background: #eee&quot;&gt;var softLinkRep = ServiceLocator.Current.GetInstance&amp;lt;ContentSoftLinkRepository&amp;gt;();    &lt;br /&gt;var softLinks = softLinkRep.Load(searchHit.Url.ToHtmlString());     &lt;br /&gt;    &lt;br /&gt;forech(var softLink in softLinks)     &lt;br /&gt;{     &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; var url = softLink.OwnerContentLink.GetFriendlyUrl();     &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;Hope this can help someone!&lt;/p&gt;</id><updated>2014-04-24T14:42:04.0000000Z</updated><summary type="html">Blog post</summary></entry></feed>