Vulnerability in EPiServer.Forms
i want to create a property that doens't needed to be added in but exists by default for every page type. I am guessing this must have been done before but am struggling to find the right article online?
If you're using PageTypeBuilder, this is quite simple -- make it a property of your base class.
If you're not using PageTypeBuilder, there are utilities that make it easy to copy properties from one Page Type to another, but I think that's your only option.
Its called dynamic properties :)
Well played, good sir. Well played.
Dynamic properties can be a bad choice since they are inherited. For example, if you want to add a "information owner" contact to every page you don't want that to be inherited, but rather make it a mandatory page property.
This is one of those things that EPiServer really needs, but the existence of PTB might actually stop them from adding it.
we had ruled out dynamic properties because they are considered processor heavy.
not using page type builder
will have a look at the third option and see how i get on
I dont think dynamic properties are that processor heavy. Are using them in high volum sites and they work great
we are not on R2 yet so still working with the older issues