MenuRoot property.

Vote:
 

After upgradnig from 7.11 to 11 I have encountered error of missing property of page. I have code like this :

(PageReference)CurrentPage["MenuRoot"]

And property MenuRoot is missing. In old application MenuRoot has value. Question :

Is this property comes from Epi? Because I can't find it in application code. And if it comes which can I use instead?

Have someone encountered this property?

#199697
Dec 06, 2018 15:49
Vote:
 

Was MenuRoot a dynamic property?

If so they were disabled in CMS 9 (https://world.episerver.com/documentation/upgrading/Episerver-CMS/9/Breaking-changes/#dynamic).

/Jake

#199704
Dec 06, 2018 17:17
Vote:
 

As Jake say, it sounds like it is a dynamic property that only was defined in admin.


Check in the admin interface if you can find it there.
And if it was, you need to change it to an ordinary property since dynamic properties are pretty much gone

#199709
Dec 07, 2018 8:26
Vote:
 

Yes it was Dynamic property, thans for help guys :) 

#199715
Dec 07, 2018 11:25
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.