(reposted from https://community.atlassian.com/t5/Confluence-questions/how-to-get-the-spaceKey-to-use-in-the-blueprint-wizard/qaq-p/1384387 once I realised the developer community is different to the user community )
In a Confluence blueprint wizard, is it possible to have the spaceKey of the intended page’s space available to the wizard? The user has already chosen which space they intend to create the page in on the previous screen.
https://developer.atlassian.com/server/confluence/writing-a-blueprint-intermediate/ says that state.spaceKey will have the spacekey if I use setDirectCallback(),. This is true, but the rest of the wizard is ignored. state.spaceKey does not appear to be set in the functions set up by pre-render.page0 and post-render.page0 hooks.