I'm trying to setup a Blueprint plugin for Confluence on our company's server. We're setting up a knowledge base and need some specific fields to be added as well as the title to be prefixed. I've read the different tutorials to create blueprints and tested them out and finally ended by finding out that the documentation is outdated.
So now I'm stuck on where I should modify the data sent to create a new page from a blueprint using the data in the wizard dialog? Am I supposed to do this with a ConectProvider or is it better to do so with an event listener? In both cases what class should I extend or what interface should I implement? All the example or answers I've found use either a BlueprintEvent or a BlueprintContextProvider which are either depreciated either non existent in the Atlassian Java doc (https://docs.atlassian.com/confluence/latest/).
Any link to recent tutorials, documentation or any kind of information will be greatly appriciated.
I'm using the latest version of Confluence.
Community moderators have prevented the ability to post new answers.
IMHO it is all in here: https://bitbucket.org/atlassian/hello-blueprint/ You need a ContextProvider which extends AbstractBlueprintContextProvider.
You will not find the Java doc of these classes within Confluence, because they are outsourced into this plugin:
Could you tell me where I can find documentation about the class? I'm trying to understand how to change the title, I've tried everything I've found on the internet to do so but without success, this is turning me crazy.
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.
I've seen and read all of this but haven't been able to change the created page name, but thanks to your link to the hello-blueprint project I've found out there are constants you can give to the put method of the context which might be what I've been looking for all this time. As soon as I get to test this out I'll accept your answer if it works ;)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@TtheB Not exactly what I was hoping for but still helped quite a bit, so I accepted the answer.
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.