Publish event for custom property



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? 

Aug 13, 2019 10:33

Can you describe the use case a little more? What are you trying to solve?

Aug 13, 2019 10:56

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. 

Thanks anyway:)

Aug 13, 2019 11:58