Try our conversational search powered by Generative AI!

Rendering of LinkItemCollection, why is published value used for preview?

Vote:
 

When i add pages to my LinkItemCollection property and it's re-rendered for preview it's rendered with the published values, not the values in my working copy. Why? I'm just doing @Html.PropertyFor(x => x.MyLinkItemCollection).

#152276
Aug 23, 2016 9:25
Vote:
 

That should work. What version of Episerver are you on? I know there has been some similar issues with earlier versions of 7.

#152277
Aug 23, 2016 9:31
Vote:
 

I'm on the latest in nuget :/

I've been trying back and forth. I want to make a custom rendering where i add some static links to my <ul> and then i hade this problem. I thought it had something to do with my custom rendering, but now i've simplified to default rendering and still strange behaviour. I've even tried with full page refresh...

Probably something stupid error i've made somewhere, but cant find it.

#152278
Aug 23, 2016 9:34
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.