Hello, I have a plugin that creates a space with some pages.
The thing is I want to modify some pages as part of the plugin, but if I use an EventListener for SpaceCreate when the event is captured the Space is not fully created, it doesn't have ot's children pages yet. So I want to execute my jave code to modify pages once the Space is saved.
Is there an event corresponding to a Space fully created and saved? If not, how can I tell my plugin to execute this java code just at the end (after the cretion of the space)?
Community moderators have prevented the ability to post new answers.
I think the space is actually created and the event is sent at a correct time - as the space is actually created.
Adding pages to the space has nothing to do with space create event.
Do you own the plugin which creates a space with pages? Can you modify it's code? Can send some custom event which you then can capture elsewhere
Or another option is to listen to pagecreated events to understand when all the pages get created
Thank you! Yes the code is mine so the sending a new event option is a good idea, I'll probably try it in the future. Meanwhile, I solved it capturing the SpaceUpdate Event.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.