I have a custom property, where I have overridden the SaveData method. The problem is, that I want something to happen when the page that uses this property, is published. A page publish does not trigger the SaveData event. So I had to create an InitializableModule that hooks into the publish event. But then I have to add some code here for every new property of this type. I'm not satisfied with that solution.
Isn't there a PublishData method or something for custom property, that I could override?
I managed to solve it without the publish event. I tried to use the pageid/workid for a page for some logic, which changes on publish, but I found a better way to do it.
Hi!
I have a custom property, where I have overridden the SaveData method. The problem is, that I want something to happen when the page that uses this property, is published. A page publish does not trigger the SaveData event. So I had to create an InitializableModule that hooks into the publish event. But then I have to add some code here for every new property of this type. I'm not satisfied with that solution.
Isn't there a PublishData method or something for custom property, that I could override?