Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Check out this blogpost: http://blog.fredrikhaglund.se/blog/2008/05/28/access-dynamic-property/
Anders: Is this a special case? From what I have learned (http://world.episerver.com/Articles/Items/Best-Coding-Practices/) properties are preferrably accessed directly through the indexer property on CurrentPage.
CurrentPage[""] will if the page is writable only return properties that exist on that page.
See section What happens when you access a property in the sdk developer guide.
What are we discussing?
Thought the problem was how to access dynamic properties. That can be done throuht
CurrentPage.Property["dynprop"]
Hi,
I need to get a dynamic property from within a custom property type. CurrentPage["dynprop"] just returns null. In CMS 6 it says that the DynamicPropertyTree class is deprecated so I've tried using DynamicPropertyCache however it simply returns null when the value is inherited. So how do I get the value of an inherited dynamic property?