SaaS CMS has officially launched! Learn more now.

Create a custom property for a page type in EPI 6


Hey guys,

I have to make some modifications to an EPI 6 website.

I was hoping I could create a few extra Properties for the page type and have them read-only.

Is this possible through code?

Every source I have found so far is just instructions to add a property through edit mode.

Edited, Apr 11, 2018 7:18

Hi Matthew,

It's been a while since I worked on Epi 6 but, as I recall, there's no inbuilt mechanism for creating properties in a code-first way though you do have options. For our Epi 6 projects we used PageTypeBuilder to allow us to build content types through code (and to give us a strongly typed model).

If all else fails you could create an initialization module which makes the changes to the page types on startup though I'd look at PageTypeBuilder first.

Apr 11, 2018 11:40

PageTypeBuilder was very helpful.

The codeplex files are downloadable and you can find all the published versions.

The only thing I am stuck on now Authenticating a user from a rest controller, is that something I should make another thread about?

Apr 12, 2018 3:06
This thread is locked and should be used for reference only.
* 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.