Publish event for custom property

Vote:
 

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? 

#206311
Aug 13, 2019 10:33
Vote:
 

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

#206313
Aug 13, 2019 10:56
Vote:
 

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:)

#206316
Aug 13, 2019 11:58