It looks fine, does ComposerFunctionPageTypeBase have the ExtensionContentFunctionProperty and the NeverUsedProperty properties? Also you should set AvailableInEditMode to false, since this is not a regular page type, but a composer page type.
Frederik
ComposerFunctionPageTypeBase does have those two properties. I tried to change the AvailableInEditMode to false, but that didnt solve the problem either. So I'm still stuck.
Any other ideas?
Hmm I would turn on logging and see what happens when your application starts up. You're using CMS 6 R2 and Composer 4 R2? Also specify a sort order for each property, that way PTB shouldn't have a reason to update anything in the DB when it starts up for that page type.
Frederik
Hi again, and i really appreciate Your help Frederik.
Yeah I'm using CMS 6 R2 and Composer 4 R2. I'm not sure what difference it would make if PTB didnt change anything when it starts up since i still have to edit EVERY property in Composer before it is available in edit mode. Well, at least I would'nt have to do it every time. Anything else you could think of?
Ok, so I've turned on logging, only problem now is I'm not sure what to look for.
Well, one step forward at least.
The class I made for the ComposerTab used "Composer" instead of "Extension" as name, now the properties appear in editmode, exept when I name the property in certain ways, like MainBody. If I name the property for example iMainBody it works. My guess its because of some problem with translations? Any ideas?
Hi, I'm currently building a site based on PageTypeBuilder and also Composer.
Everything works like charm except that every time i rebuild the solution all properties when editing a page using the composertab is gone, the Content tab is empty. http://i.imgur.com/3nbTF.jpg
If I go inteo adminmode and then to the composer block type, I can see the properties there, and if i chose to edit them, and then save them they will be accessable in edit mode.
The code for the composer function.
Any idea why this might happen?