Try our conversational search powered by Generative AI!

Oskar Zetterberg
Sep 26, 2011
  5695
(2 votes)

LinkItemCollection and the danger with StringDelayedLoadThreshold

I have done a company-office-contactperson solution on our website. On a company page you specify in what cities that company reside in the form of a LinkItemCollection. The problem started today after I made a small update to the website (= recycling of the application pool), all the contact options just disappeared. After republish of each of the company pages they reappeared and went away after the next application pool recycle.

Back to the development environment for debugging. Checked everything, the value in the database etc. Nothing was wrong. After more head scratching I remembered reading the deployment checklist by Alexander Haneng (great read btw). I had changed the stringDelayedLoadThreshold from 0 to 50. When I changed this value back all worked like a charm again.

It all works fine with 50 as value on the actual page itself but when getting children with either FindPagesWithCriteria or GetChildren extension method I get null returned from the LinkItemCollection property. If anyone can shed some light on the differences I would appreciate it.

So be careful setting the stringDelayedThreshold if you are working with LinkItemCollections.

Sep 26, 2011

Comments

Sep 28, 2011 12:17 PM

Is this a registered bug?

Will update the checklists with a reference to this blog post.

Oskar Zetterberg
Oskar Zetterberg Sep 28, 2011 02:07 PM

I have registered this to EPiServer. LinkItemCollection strings should be excluded from delayed loading imho.

Yagnik Jadav (MVP)
Yagnik Jadav (MVP) Dec 28, 2015 03:52 PM

Hi

Thanks for this article. I spent couple of weeks with EPiServer Hosting Team, ImageVault Team and with EPiServer Developer support.

I was facing same issue in different way. I am using ImageVault and using MediaReferenceList Cusotm property of ImageVault (DAM) to capture list of images for sliders on home page.

Slider was working fine but just disappear after each build and I did debug with staging database and found that data was in episerver property in json format but property return null.

I had lot of discussion with ImageVault support, EPiServer Hosting Team, Azure Web App CDN etc. but was nothing worked out. I was using multisite setup with EPiServer 8 Azure Web App and ImageVault hosted in VM. Client has around 30+ websites and most of websites home page and inner page slider disappear and need to republish page the which was very difficult to do after each build and very serious issue can happen with production sites.

Finally, EPiServer Developer support (Josef) has suggest to set value 0 to disabled StringDelayedLoadThreshold and all working fine.

Small configuration did the trick.

Regards Yagnik

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog

The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024